FileLink function ( int arg0 ) { if ( fileLinks . isEmpty ( ) ) { return null ; } for ( int loc0 = fileLinks . size ( ) - 1 ; loc0 >= 0 ; loc0 -- ) { FileLink loc1 = fileLinks . get ( loc0 ) ; if ( loc1 . getEndingIndex ( ) < arg0 ) { return loc1 ; } } return fileLinks . get ( fileLinks . size ( ) - 1 ) ; }
returns the previous file link relative to the caret location . this will cycle around and get the last one if you 're before the first link . concode_field_sep OutputParser parser concode_elem_sep List<FileLink> fileLinks concode_elem_sep int lastNewline concode_elem_sep StringBuilder totalTextToParse concode_field_sep List<FileLink> getFileLinks concode_elem_sep FileLink getFileLink concode_elem_sep String getText concode_elem_sep void reset concode_elem_sep List<FileLink> appendText concode_elem_sep FileLink getNextFileLink