@ Override public synchronized void removeUpdate ( DocumentEvent e ) { int len = e . getLength ( ) ; int off = e . getOffset ( ) ; if ( outputMark > off ) { if ( outputMark >= off + len ) { outputMark -= len ; } else { outputMark = off ; } } }
Called when text was removed from the text area .