Searched refs:lineEnd (Results 1 – 8 of 8) sorted by relevance
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/ |
D | AaptParser.java | 714 int lineEnd = lineContents.length()-1; in findLineTextRange() local 716 for (; lineEnd >= 0; lineEnd--) { in findLineTextRange() 717 char c = lineContents.charAt(lineEnd); in findLineTextRange() 722 lineEnd++; in findLineTextRange() 723 for (; lineBegin < lineEnd; lineBegin++) { in findLineTextRange() 729 if (lineBegin < lineEnd) { in findLineTextRange() 730 return new Region(lineInfo.getOffset() + lineBegin, lineEnd - lineBegin); in findLineTextRange()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ |
D | AndroidXmlAutoEditStrategy.java | 326 public static int findTextStart(IDocument document, int lineStart, int lineEnd) in findTextStart() argument 328 for (int offset = lineStart; offset < lineEnd; offset++) { in findTextStart() 335 return lineEnd; in findTextStart()
|
D | AndroidContentAssist.java | 279 int lineEnd = nodeValue.indexOf('\n', relativeOffset); in computeTextReplaceLength() local 280 if (lineEnd == -1) { in computeTextReplaceLength() 281 lineEnd = nodeValue.length(); in computeTextReplaceLength() 283 return lineEnd - relativeOffset; in computeTextReplaceLength()
|
D | Hyperlinks.java | 1350 int lineEnd = Math.min(lineStart + lineInfo.getLength(), in detectHyperlinks() local 1369 while (offset < lineEnd) { in detectHyperlinks()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/ |
D | HyperlinksTest.java | 298 int lineEnd = lineEndInfo.getOffset() + lineEndInfo.getLength(); in checkXmlNavigation() local 299 String text = document.get(lineStart, lineEnd - lineStart); in checkXmlNavigation()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
D | VisualRefactoring.java | 1164 int lineEnd = lineStart + lineLength; in removeIndentation() local 1165 if (overlaps(lineStart, lineEnd, element, skip)) { in removeIndentation() 1195 int lineEnd = lineStart + lineLength; in setIndentation() local 1196 if (overlaps(lineStart, lineEnd, element, skip)) { in setIndentation() 1249 int lineEnd = info.getOffset() + info.getLength(); in createDeletion() local 1250 if (lineEnd > endOffset) { in createDeletion() 1251 String suffix = getText(endOffset, lineEnd); in createDeletion() 1258 endOffset = Math.min(doc.getLength(), lineEnd + 1); in createDeletion()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
D | EclipseLintClient.java | 633 int lineEnd = startOffset; 634 while (lineEnd < endOffset) { 636 char c = doc.getChar(lineEnd); 638 endOffset = lineEnd; 648 lineEnd++;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/ |
D | AdtUtils.java | 602 int lineEnd = lineStart + lineInfo.getLength(); in findMarkersOnLine() local 609 if (start >= lineStart && start <= lineEnd && end > start) { in findMarkersOnLine()
|