OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:replaceStart
(Results
1 - 3
of
3
) sorted by null
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormattingStrategyTest.java
29
// In the given before document, replace in the range
replaceStart
to replaceEnd
31
private void check(String before, int
replaceStart
, int replaceEnd, String formatted,
36
ReplaceEdit edit = AndroidXmlFormattingStrategy.createReplaceEdit(document,
replaceStart
,
70
int
replaceStart
= before.indexOf('[');
71
assertTrue(
replaceStart
!= -1);
72
before = before.substring(0,
replaceStart
) + before.substring(
replaceStart
+ 1);
78
check(before,
replaceStart
, replaceEnd, insert, expected, prefs);
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/formatting/
AndroidXmlFormattingStrategy.java
273
int
replaceStart
;
283
replaceStart
= 0;
298
replaceStart
= ((IndexedRegion) startNode).getStartOffset();
357
ReplaceEdit replaceEdit = createReplaceEdit(document,
replaceStart
, replaceEnd, formatted,
366
if (replaceEdit != null &&
replaceStart
!= 0 && replaceEnd != document.getLength()) {
379
* given new formatted content. The
replaceStart
and replaceEnd parameters point to
385
static ReplaceEdit createReplaceEdit(IDocument document, int
replaceStart
,
389
int index =
replaceStart
;
394
if (index <
replaceStart
) {
395
replaceStart
= index
[
all
...]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jdt.core_3.6.2.v_A76_R36x.jar
Completed in 4908 milliseconds