Community
Participate
Working Groups
/*******************************************************************************
* Copyright (c) 2010 IBM Corporation and others.
* Copyright (c) 2012 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
}
else {
// The offset is NOT at the beginning of the region
if (offset > sdRegion.getStartOffset(region) + region.getTextLength()) {
if ((region.getType() != DOMRegionContext.XML_TAG_ATTRIBUTE_EQUALS) &&(offset > sdRegion.getStartOffset(region) + region.getTextLength())) { //attached XML_TAG_ATTRIBUTE_EQUALS filter due to #bug219992
// Is the offset within the whitespace after the text in this
// region?
// If so, use the next region