/** * Returns the offset of the last character of the line that the caret is * on. * * @return The last offset of the line that the caret is currently on. */ public final int getLineEndOffsetOfCurrentLine() { try { return getLineEndOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the first character of the line that the caret is * on. * * @return The first offset of the line that the caret is currently on. */ public final int getLineStartOffsetOfCurrentLine() { try { return getLineStartOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the first character of the line that the caret is * on. * * @return The first offset of the line that the caret is currently on. */ public final int getLineStartOffsetOfCurrentLine() { try { return getLineStartOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the first character of the line that the caret is * on. * * @return The first offset of the line that the caret is currently on. */ public final int getLineStartOffsetOfCurrentLine() { try { return getLineStartOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the first character of the line that the caret is * on. * * @return The first offset of the line that the caret is currently on. */ public final int getLineStartOffsetOfCurrentLine() { try { return getLineStartOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the last character of the line that the caret is * on. * * @return The last offset of the line that the caret is currently on. */ public final int getLineEndOffsetOfCurrentLine() { try { return getLineEndOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the last character of the line that the caret is * on. * * @return The last offset of the line that the caret is currently on. */ public final int getLineEndOffsetOfCurrentLine() { try { return getLineEndOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }
/** * Returns the offset of the last character of the line that the caret is * on. * * @return The last offset of the line that the caret is currently on. */ public final int getLineEndOffsetOfCurrentLine() { try { return getLineEndOffset(getCaretLineNumber()); } catch (BadLocationException ble) { return 0; // Never happens } }