Home
last modified time | relevance | path

Searched refs:endOffset (Results 1 – 9 of 9) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/
DEclipseLintClient.java419 int endOffset = r.getSecond();
421 message, line, startOffset, endOffset, severity);
579 int endOffset = endPosition != null ? endPosition.getOffset() : -1;
580 if (endOffset != -1) {
588 return adjustOffsets(doc, startOffset, endOffset);
596 return adjustOffsets(doc, startOffset, endOffset);
614 int endOffset) {
616 int originalEnd = endOffset;
619 while (endOffset > startOffset && endOffset < doc.getLength()) {
621 if (!Character.isWhitespace(doc.getChar(endOffset - 1))) {
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DWrapInRefactoring.java246 int endOffset = region.getEndOffset(); in computeChanges() local
247 String text = getText(startOffset, endOffset); in computeChanges()
248 DeleteEdit deletion = new DeleteEdit(startOffset, endOffset - startOffset); in computeChanges()
345 int endOffset = region.getEndOffset(); in computeChanges() local
346 String text = getText(startOffset, endOffset); in computeChanges()
347 DeleteEdit deletion = new DeleteEdit(startOffset, endOffset - startOffset); in computeChanges()
DVisualRefactoring.java916 int endOffset = region.getEndOffset(); in getFirstAttributeOffset() local
917 String text = getText(startOffset, endOffset); in getFirstAttributeOffset()
1060 int endOffset = region.getEndOffset(); in removeAttribute() local
1061 DeleteEdit deletion = new DeleteEdit(startOffset, endOffset - startOffset); in removeAttribute()
1103 int endOffset = regionStart + subRegion.getStart() + subRegion.getLength(); in removeElementTags() local
1105 DeleteEdit deletion = createDeletion(doc, startOffset, endOffset); in removeElementTags()
1107 startLineInclusive = doc.getLineOfOffset(endOffset) + 1; in removeElementTags()
1125 int endOffset = regionStart + subRegion.getStart() + subRegion.getLength(); in removeElementTags() local
1127 DeleteEdit deletion = createDeletion(doc, startOffset, endOffset); in removeElementTags()
1219 private static boolean overlaps(int startOffset, int endOffset, in overlaps() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractStyleRefactoringTest.java162 int endOffset = getCaretOffset(file, endCaretLocation); in checkRefactoringByOffset() local
174 ITextSelection selection = new TextSelection(beginOffset, endOffset - beginOffset); in checkRefactoringByOffset()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/
DAaptParser.java537 int endOffset = -1; in checkAndMark() local
542 endOffset = startOffset + region.getLength(); in checkAndMark()
591 startOffset, endOffset, severity); in checkAndMark()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
DBaseProjectHelper.java139 String message, int lineNumber, int startOffset, int endOffset, int severity) { in markResource() argument
161 marker.setAttribute(IMarker.CHAR_END, endOffset); in markResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DDomUtilities.java392 int beginOffset, int endOffset) { in getElementRange() argument
397 if (endOffset > beginOffset) { in getElementRange()
398 endNode = getNode(document, endOffset, false); in getElementRange()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/resources/
DResourceHelper.java395 int endOffset = domRegion.getEndOffset(); in createResource() local
396 region = new Region(endOffset, 0); in createResource()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
DAndroidXmlFormattingStrategy.java208 int endOffset = Math.max(endRegion.getStartOffset(), in format() local
210 IndexedRegion currentIndexedRegion = model.getIndexedRegion(endOffset); in format()