inserts an address using the link style . text leading up to the address gets the current style . concode_field_sep Style linkStyle concode_elem_sep boolean autoScroll concode_elem_sep Pattern colorPattern concode_elem_sep StyleContext styles concode_elem_sep Pattern addressPattern concode_elem_sep JTextPane text concode_elem_sep Style currentStyle concode_field_sep void initStyles concode_elem_sep void setLinkStyle concode_elem_sep String processColor concode_elem_sep void setAutoScroll concode_elem_sep void addColorStyle concode_elem_sep void appendLine concode_elem_sep void setCurrentStyle concode_elem_sep void autoScroll
String function ( StyledDocument arg0 , String arg1 , Matcher arg2 ) { autoScroll = false ; arg0 . insertString ( arg0 . getLength ( ) , arg1 . substring ( 0 , arg2 . start ( 1 ) ) , currentStyle ) ; arg0 . insertString ( arg0 . getLength ( ) , FileUtilities . getUserFriendlyName ( arg2 . group ( 1 ) ) , linkStyle ) ; return arg1 . substring ( arg2 . end ( 1 ) ) ; }