public void addKeyword(String keyword,MutableAttributeSet attr){
  if (m_CaseSensitive) {
    m_Keywords.put(keyword,attr);
  }
 else {
    m_Keywords.put(keyword.toLowerCase(),attr);
  }
}

public void addKeyword ( String keyword , MutableAttributeSet attr ) { if ( m_CaseSensitive ) { m_Keywords . put ( keyword , attr ) ; } else { m_Keywords . put ( keyword . toLowerCase ( ) , attr ) ; } }
associates a keyword with a particular formatting style .
