Searched refs:mSelectionEnd (Results 1 – 9 of 9) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoring.java | 117 protected int mSelectionEnd = -1; field in VisualRefactoring 143 mSelectionEnd = Integer.parseInt(arguments.get(KEY_SEL_END)); in VisualRefactoring() 145 mOriginalSelectionEnd = mSelectionEnd; in VisualRefactoring() 160 mSelectionEnd = 0; in VisualRefactoring() 177 mSelectionEnd = end; in VisualRefactoring() 216 mSelectionEnd = end; in VisualRefactoring() 218 mOriginalSelectionEnd = mSelectionEnd; in VisualRefactoring() 227 mSelectionEnd = mSelectionStart + selection.getLength(); in VisualRefactoring() 229 mOriginalSelectionEnd = mSelectionEnd; in VisualRefactoring() 292 args.put(KEY_SEL_END, Integer.toString(mSelectionEnd)); in createArgumentMap() [all …]
|
D | WrapInRefactoring.java | 107 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions() 223 doc, mSelectionStart, mSelectionEnd, rootId, id); in computeChanges() 368 String nested = getText(mSelectionStart, mSelectionEnd); in computeChanges() 394 InsertEdit endEdit = new InsertEdit(mSelectionEnd, sb.toString()); in computeChanges()
|
D | UseCompoundDrawableRefactoring.java | 123 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions() 346 doc, mSelectionStart, mSelectionEnd, layoutId, id); in computeChanges() 361 TextEdit replace = new ReplaceEdit(mSelectionStart, mSelectionEnd - mSelectionStart, xml); in computeChanges()
|
D | ExtractIncludeRefactoring.java | 139 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions() 246 handleIncludingFile(changes, sourceFile, mSelectionStart, mSelectionEnd, in computeChanges() 632 String xml = getText(mSelectionStart, mSelectionEnd);
|
D | ChangeLayoutRefactoring.java | 129 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions() 235 String text = getText(mSelectionStart, mSelectionEnd); in computeChanges() 259 mSelectionEnd, oldId, newId); in computeChanges()
|
D | UnwrapRefactoring.java | 89 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
|
D | ChangeViewRefactoring.java | 101 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
|
D | ExtractStyleRefactoring.java | 168 if (mSelectionStart == -1 || mSelectionEnd == -1) { in checkInitialConditions()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/refactorings/extractstring/ |
D | ExtractStringRefactoring.java | 177 private final int mSelectionEnd; field in ExtractStringRefactoring 237 mSelectionEnd = Integer.parseInt(arguments.get(KEY_SEL_END)); in ExtractStringRefactoring() 242 mSelectionStart = mSelectionEnd = -1; in ExtractStringRefactoring() 259 args.put(KEY_SEL_END, Integer.toString(mSelectionEnd)); in createArgumentMap() 282 mSelectionEnd = mSelectionStart + Math.max(0, selection.getLength() - 1); in ExtractStringRefactoring() 301 mSelectionStart = mSelectionEnd = -1; in ExtractStringRefactoring() 489 scanner.getCurrentTokenEndPosition() >= mSelectionEnd) { in findSelectionInJavaUnit() 495 } else if (scanner.getCurrentTokenStartPosition() > mSelectionEnd) { in findSelectionInJavaUnit()
|