public boolean addToHistory(){
  return addToHistory(m_Editor.getValue());
}

public boolean addToHistory ( ) { return addToHistory ( m_Editor . getValue ( ) ) ; }
adds the current editor value to the history .
