void endCompoundEdit ( ) { if ( ! compoundMode ) { throw new RuntimeException ( "not in compound mode" ) ; } ce . end ( ) ; undoManager . addEdit ( ce ) ; ce = null ; compoundMode = false ; }
Notify manager to stop merging undoable edits .