mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-18 13:45:45 +02:00
Fix typos
This commit is contained in:
parent
269e7c7b67
commit
10225d8aee
1 changed files with 3 additions and 3 deletions
|
@ -3421,7 +3421,7 @@ public class SystemView extends SafeTreeViewer
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do an intelligent refresh of an expanded item. The inherited algorithm for refresh is stupid,
|
* Do an intelligent refresh of an expanded item. The inherited algorithm for refresh is stupid,
|
||||||
* in that it reexpands children based on their original ordinal position which can change after a
|
* in that it re-expands children based on their original ordinal position which can change after a
|
||||||
* refresh, resulting in the wrong children being expanded. Currently this only truly comes to light
|
* refresh, resulting in the wrong children being expanded. Currently this only truly comes to light
|
||||||
* for remote objects, where refresh really can change the resulting list and hence each child's
|
* for remote objects, where refresh really can change the resulting list and hence each child's
|
||||||
* ordinal position. So, to be safe we only override the inherited algorithm if any nested child
|
* ordinal position. So, to be safe we only override the inherited algorithm if any nested child
|
||||||
|
@ -3458,7 +3458,7 @@ public class SystemView extends SafeTreeViewer
|
||||||
wasExpanded[idx] = false;
|
wasExpanded[idx] = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// ok, we have found all expanded descendents of all selected items.
|
// ok, we have found all expanded descendants of all selected items.
|
||||||
|
|
||||||
// If none of the expanded sub-nodes are remote simply use the inherited algorithm for refresh
|
// If none of the expanded sub-nodes are remote simply use the inherited algorithm for refresh
|
||||||
if (!areAnyRemote) {
|
if (!areAnyRemote) {
|
||||||
|
@ -3498,7 +3498,7 @@ public class SystemView extends SafeTreeViewer
|
||||||
//************************************************************///
|
//************************************************************///
|
||||||
// FIXME!!
|
// FIXME!!
|
||||||
// TODO
|
// TODO
|
||||||
// DKM - problem here is that if a query is in progress, then we won't find it untli the deferred query completes
|
// DKM - problem here is that if a query is in progress, then we won't find it until the deferred query completes
|
||||||
item = findFirstRemoteItemReference(itemToExpand.remoteName, itemToExpand.subsystem, itemToExpand.parentItem);
|
item = findFirstRemoteItemReference(itemToExpand.remoteName, itemToExpand.subsystem, itemToExpand.parentItem);
|
||||||
//************************************************************///
|
//************************************************************///
|
||||||
// if found, re-expand it
|
// if found, re-expand it
|
||||||
|
|
Loading…
Add table
Reference in a new issue