public void deleteWord ( boolean backwards ) { if ( ! selectingText ) { selectingText = true ; selectionCursor . from ( cursor ) ; cursor . jumpToNextSpace ( backwards ) ; } deleteSelectedText ( ) ; }
Deletes the text from current cursor position to the next space .