@Test public void testIsLineBreak() { Assert.assertTrue( isLineBreak( '\n' )); Assert.assertTrue( isLineBreak( '\r' )); Assert.assertFalse( isLineBreak( 'c' )); }
public static boolean isLineBreak( char c ) { return c == '\n' || c == '\r'; }
TextUtils { public static boolean isLineBreak( char c ) { return c == '\n' || c == '\r'; } }
TextUtils { public static boolean isLineBreak( char c ) { return c == '\n' || c == '\r'; } private  TextUtils(); }
TextUtils { public static boolean isLineBreak( char c ) { return c == '\n' || c == '\r'; } private  TextUtils(); static String removeComments( String line ); static boolean isLineBreak( char c ); static SelectionRange findRegionFromSelection( String fullText, int selectionOffset, int selectionLength ); }
TextUtils { public static boolean isLineBreak( char c ) { return c == '\n' || c == '\r'; } private  TextUtils(); static String removeComments( String line ); static boolean isLineBreak( char c ); static SelectionRange findRegionFromSelection( String fullText, int selectionOffset, int selectionLength );  }