This is mostly to mitigate the effects of a bug in ProjectionViewer
(bug 509559). See the discussion in bug 507138 for details.
Change-Id: Icf36b54d6a11892f02214a168ef1c9c284478710
In an SWT label, '&' characters are treated as mnemonics.
Some labels can contain this character as their content
(e.g. if they represent the signature of a function with
arguments of C++ reference type), so they need to be
escaped.
Change-Id: I8ca57308f5dc3fa06648ce7f76df003e76fac3b6
Since we don't have a semantic model of assembly code, just look
for a CElement with a name matching the selected identifier in the
assembly file, and search for the selected identifier in the index.
Change-Id: Ifae8e7f608ca27b06fdb4d1d9d1797c88469a6c5
Currently, it only does something useful for include statements.
It uses the C model to resolve the include, much like clicking
on the include in the Outline view.
Change-Id: I4c50ff4b477721795d58f44acc5c0389c05d4768
Commit 6335a5c2ba reverted
a previous commit which made the changes being reverted
here unecessary.
This reverts commit 896eba55c5.
Change-Id: I890a67513b35df7708f9fc33c0be3e879fdb9e0e
- Reuse the TU from the open editor if present, otherwise load it from
workspace
- Added test plugin org.eclipse.cdt.codan.checkers.ui.test
Change-Id: I725b7b8e462ffba39dd6c9a828ab72dd58f86b1f
Signed-off-by: Dominic Scharfe <dominic.scharfe@coseda-tech.com>
The Delete operation doesn't properly call
TextEditorAction.validateEditorInputState() and as a result doesn't work
in version control environments that keep unchanged files read-only.
Another problem is that Ctrl+Z doesn't trigger Undo when the Outline
view is active. When the Delete element action is reintroduced it should
be made to behave the same way as in JDT, e.g, display a prompt before
deletion and be bound to the Delete key.
This reverts commit f034a69fb7.
Change-Id: I6d37f5aaea1770143fbf84288068794430a5b0e0
Adding the delete refactor to the refactor context menu in the Outline
View.
Change-Id: I208078d2200853389bf4eb114756cf4e9b719134
Signed-off-by: ljyanesm <yanes.luis@gmail.com>
This patch also fixes a couple of other bugs related to syntax coloring of
macro expansions, which are exposed by this change (bug 490415, bug 496696).
Change-Id: I3c0030ff61e721e099dc50afc109dd44e37276a3
With this change the heuristic header substitution tries to find a
header that is better than the one computed using regular substitution
rules, but defaults to that header if it can't find a better one.
Change-Id: I811857b2ccf66e2db4161801f34db8464834ce12
Also Add M1+M2+C key binding for Toggle Comment, just like JDT.
Change-Id: I2723c115a89f8c22e4b7d52b0ebd14c75a9d824c
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Use the same as JDT to be more consistent and also to not conflict
with Mission Control.
Change-Id: Ibe1ed3c43e5c7de2ab5bb0a508bf93e22bbdb7ca
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>