Searched refs:regions (Results 1 – 13 of 13) sorted by relevance
44 The IStructuredDocument is organized in "regions", which are little pieces48 a list of regions. Each region has a type, as well as text.59 This will result in the following regions and sub-regions:128 3- Iterating through regions131 To iterate through all regions, we need to process the list of top-level regions and then132 iterate over inner regions:134 for (IStructuredDocumentRegion regions : sdoc.getStructuredDocumentRegions()) {135 // process inner regions136 for (int i = 0; i < regions.getNumberOfRegions(); i++) {137 ITextRegion region = regions.getRegions().get(i);[all …]
18 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_EMPTY_TAG_CLOSE;19 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_END_TAG_OPEN;20 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_CLOSE;21 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_NAME;22 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_OPEN;
18 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_CONTENT;19 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_EMPTY_TAG_CLOSE;20 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_END_TAG_OPEN;21 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_CLOSE;22 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_NAME;23 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_OPEN;
23 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
145 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
87 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;1260 for (IStructuredDocumentRegion regions : sdoc.getStructuredDocumentRegions()) {1261 String type = regions.getType();1268 regions.getStartOffset(), regions.getLength(), tokenString);1272 lastWs = regions.getFullText();1277 int nb = regions.getNumberOfRegions();1278 ITextRegionList list = regions.getRegions();1283 String name = regions.getText(region);1297 int nb = regions.getNumberOfRegions();1298 ITextRegionList list = regions.getRegions();[all …]
25 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_EMPTY_TAG_CLOSE;26 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_END_TAG_OPEN;27 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_CLOSE;28 import static org.eclipse.wst.xml.core.internal.regions.DOMRegionContext.XML_TAG_OPEN;232 ITextRegionList regions = endRegion.getRegions(); in format() local233 int index = regions.indexOf(subRegion); in format()237 subRegion = regions.get(index); in format()244 subRegion = regions.get(index); in format()254 int max = regions.size(); in format()256 subRegion = regions.get(index); in format()
431 SortedSet<String> regions = resources.getRegions(mSelectedLanguage); in validatePage() local432 if (regions.contains(mSelectedRegion)) { in validatePage()
57 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
85 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
68 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
42 import org.eclipse.wst.xml.core.internal.regions.DOMRegionContext;
1908 SortedSet<String> regions = projectRes.getRegions(language); in updateLocales() local1909 for (String region : regions) { in updateLocales()