public void scrollLineToVisible ( int line , int margin ) { int maxMargin = ( parentHeight ( ) - 20 ) / 2 ; if ( margin > maxMargin ) { margin = Math . max ( 0 , maxMargin ) ; } scrollLineToVisibleImpl ( line , margin ) ; }
scroll the specified line into view with a margin of margin pixels above and below