checks the spelling of all the text . concode_field_sep JTextComponent component concode_elem_sep String KEYWORDS_DOCUMENT_PROPERTY concode_elem_sep int LOWER_CASE concode_elem_sep Document document concode_elem_sep int start concode_elem_sep int UNKNOWN_CASE concode_elem_sep int UPPER_CASE concode_elem_sep int end concode_elem_sep Highlighter.HighlightPainter misspelledWordHighlightPainter concode_field_sep boolean isMisspelledWordBetween concode_elem_sep void removeUpdate concode_elem_sep void setDocument concode_elem_sep boolean isWordCharacter concode_elem_sep boolean isKeyword concode_elem_sep void removeExistingHighlightsForRange concode_elem_sep void changedUpdate concode_elem_sep void insertUpdate
void function ( ) { try { final int loc0 = 0 ; final int loc1 = document . getLength ( ) ; String loc2 = document . getText ( loc0 , loc1 ) ; checkSpelling ( document , loc2 , loc0 , loc1 ) ; } catch ( Exception loc0 ) { loc0 . printStackTrace ( ) ; } }