Home
last modified time | relevance | path

Searched refs:selectedRange (Results 1 – 3 of 3) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/
DAndroidXmlAutoEditStrategyTest.java81 Point selectedRange = viewer.getSelectedRange(); in checkInsertNewline() local
82 assert selectedRange.y == 0; in checkInsertNewline()
84 if (selectedRange.x >= 0) { in checkInsertNewline()
85 textWithCaret = text.substring(0, selectedRange.x) + "^" + in checkInsertNewline()
86 text.substring(selectedRange.x); in checkInsertNewline()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/build/
DAaptQuickFixTest.java195 Point selectedRange = newViewer.getSelectedRange(); in checkResourceFix() local
200 String newFileWithCaret = addSelection(newFileContents, selectedRange); in checkResourceFix()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DAdtProjectTest.java385 protected String addSelection(String newFileContents, Point selectedRange) { in addSelection() argument
386 int selectionBegin = selectedRange.x; in addSelection()
387 int selectionEnd = selectionBegin + selectedRange.y; in addSelection()