question: public void deleteWords ( int p_146177_1_ ) { if ( text . length ( ) != 0 ) if ( selectionEnd != cursorPosition ) writeText ( "" ) ; else deleteFromCursor ( getNthWordFromCursor ( p_146177_1_ ) - cursorPosition ) ; }
target:  Deletes the specified number of words starting at the cursor position. Negative numbers will delete words left of the cursor.