mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-01 06:05:24 +02:00
Bugzilla 256326.
+2 votes for this now that we are in the RC2 Rampdown phase. Randy
This commit is contained in:
parent
bad2646c4a
commit
d078289a24
1 changed files with 13 additions and 0 deletions
|
@ -54,6 +54,19 @@ public class ExpressionVMProviderModelProxyStrategy extends DefaultVMModelProxyS
|
||||||
IExpressionVMNode matchingNode = getExpressionVMProvider().findNodeToParseExpression(node, expression);
|
IExpressionVMNode matchingNode = getExpressionVMProvider().findNodeToParseExpression(node, expression);
|
||||||
if (matchingNode != null && !matchingNode.equals(node)) {
|
if (matchingNode != null && !matchingNode.equals(node)) {
|
||||||
flags = flags | getNodeDeltaFlagsForExpression(matchingNode, expression, event);
|
flags = flags | getNodeDeltaFlagsForExpression(matchingNode, expression, event);
|
||||||
|
} else {
|
||||||
|
// Check the child nodes of this expression node for additional
|
||||||
|
// delta flags.
|
||||||
|
for (IVMNode childNode : getVMProvider().getChildVMNodes(node)) {
|
||||||
|
if (!childNode.equals(node)) {
|
||||||
|
int childNodeDeltaFlags = getDeltaFlags(childNode, null, event);
|
||||||
|
if ((childNodeDeltaFlags & IModelDelta.CONTENT) != 0) {
|
||||||
|
childNodeDeltaFlags &= ~IModelDelta.CONTENT;
|
||||||
|
childNodeDeltaFlags |= IModelDelta.STATE;
|
||||||
|
}
|
||||||
|
flags |= childNodeDeltaFlags;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return flags;
|
return flags;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue