Searched refs:caretOffset (Results 1 – 6 of 6) sorted by relevance
57 c.caretOffset = -1; in checkInsertNewline()70 int caretOffset = c.offset + c.text.length(); in checkInsertNewline() local74 if (c.caretOffset != -1) { in checkInsertNewline()75 caretOffset = c.caretOffset; in checkInsertNewline()77 viewer.setSelectedRange(caretOffset, 0); in checkInsertNewline()
265 int caretOffset = fileContents.indexOf(caretToken); in createXmlFile() local266 if (caretOffset != -1) { in createXmlFile()278 IRegion region = caretOffset != -1 ? new Region(caretOffset, 0) : null; in createXmlFile()
171 int caretOffset = textViewer.getTextWidget().getCaretOffset(); in computeQuickAssistProposals() local172 if (caretOffset >= 0) { in computeQuickAssistProposals()173 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in computeQuickAssistProposals()
673 int caretOffset = textViewer.getTextWidget().getCaretOffset(); in delegatePageChange() local674 if (caretOffset >= 0) { in delegatePageChange()675 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in delegatePageChange()
171 c.caretOffset = offset + sb.length(); in customizeDocumentCommand()
1346 int caretOffset = innerOffset + context.getInnerRegionCaretOffset(); in detectHyperlinks() local1348 IRegion lineInfo = document.getLineInformationOfOffset(caretOffset); in detectHyperlinks()1355 int offset = caretOffset; in detectHyperlinks()1368 offset = caretOffset; in detectHyperlinks()