Home
last modified time | relevance | path

Searched refs:caretOffset (Results 1 – 6 of 6) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategyTest.java57 c.caretOffset = -1; in checkInsertNewline()
70 int caretOffset = c.offset + c.text.length(); in checkInsertNewline() local
74 if (c.caretOffset != -1) { in checkInsertNewline()
75 caretOffset = c.caretOffset; in checkInsertNewline()
77 viewer.setSelectedRange(caretOffset, 0); in checkInsertNewline()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
DNewXmlFileWizard.java265 int caretOffset = fileContents.indexOf(caretToken); in createXmlFile() local
266 if (caretOffset != -1) { in createXmlFile()
278 IRegion region = caretOffset != -1 ? new Region(caretOffset, 0) : null; in createXmlFile()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DRefactoringAssistant.java171 int caretOffset = textViewer.getTextWidget().getCaretOffset(); in computeQuickAssistProposals() local
172 if (caretOffset >= 0) { in computeQuickAssistProposals()
173 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in computeQuickAssistProposals()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DLayoutEditorDelegate.java673 int caretOffset = textViewer.getTextWidget().getCaretOffset(); in delegatePageChange() local
674 if (caretOffset >= 0) { in delegatePageChange()
675 Node node = DomUtilities.getNode(textViewer.getDocument(), caretOffset); in delegatePageChange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategy.java171 c.caretOffset = offset + sb.length(); in customizeDocumentCommand()
DHyperlinks.java1346 int caretOffset = innerOffset + context.getInnerRegionCaretOffset(); in detectHyperlinks() local
1348 IRegion lineInfo = document.getLineInformationOfOffset(caretOffset); in detectHyperlinks()
1355 int offset = caretOffset; in detectHyperlinks()
1368 offset = caretOffset; in detectHyperlinks()