/** * Returns <code>true</code> if <code>selection</code> extends to two or more lines, * <code>false</code> otherwise. * * @param selection the selection * @return <code>true</code> if <code>selection</code> extends to two or more lines, * <code>false</code> otherwise * @throws BadLocationException if <code>selection</code> is not valid regarding the target * document */ public boolean isMultiline(ISelection selection) throws BadLocationException { return getImplementation(selection).isMultiline(selection); }
/** * Returns <code>true</code> if <code>selection</code> extends to two or more lines, * <code>false</code> otherwise. * * @param selection the selection * @return <code>true</code> if <code>selection</code> extends to two or more lines, * <code>false</code> otherwise * @throws BadLocationException if <code>selection</code> is not valid regarding the target * document */ public boolean isMultiline(ISelection selection) throws BadLocationException { return getImplementation(selection).isMultiline(selection); }