protected String getTextEx ( int position , int len ) { try { return getDocument ( ) . getText ( position , len ) ; } catch ( BadLocationException e ) { e . printStackTrace ( ) ; return "" ; } }
Gets the text .