protected void fireUndoableEditUpdate(UndoableEditEvent e){
	String s =  e.getEdit().getPresentationName();
	if( keyword != null && s.contains(keyword)){
		currentCompoundEdit.addEdit(e.getEdit());
		currentCompoundEdit.end();
		keyword=null;
		//fireUndoableEditUpdate(new UndoableEditEvent(this, (UndoableEdit)currentCompoundEdit));
	}


	if (currentCompoundEdit!=null && currentCompoundEdit.isInProgress()){
		currentCompoundEdit.addEdit(e.getEdit());
	}
	else super.fireUndoableEditUpdate(e);

}