Skip to main content
summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorSergey Prigogin2009-08-01 16:09:35 -0400
committerSergey Prigogin2009-08-01 16:09:35 -0400
commite468788083f46e77c3138875353969eea11d2919 (patch)
treeefcecd1e103b672afee07257da0c6d79e816ed33 /core
parent3e8aea675f5a5ea1d5828bcb697627e9f3797e6a (diff)
downloadorg.eclipse.cdt-e468788083f46e77c3138875353969eea11d2919.tar.gz
org.eclipse.cdt-e468788083f46e77c3138875353969eea11d2919.tar.xz
org.eclipse.cdt-e468788083f46e77c3138875353969eea11d2919.zip
Auto closing angle brackets after *_cast. Bug 285366.
Diffstat (limited to 'core')
-rw-r--r--core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
index fb56e0e3f5..a3397a6269 100644
--- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
+++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/editor/CEditor.java
@@ -559,7 +559,8 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
return identifier.length() > 0
&& (Character.isUpperCase(identifier.charAt(0))
|| angularIntroducers.contains(identifier)
- || identifier.endsWith("_ptr")); //$NON-NLS-1$
+ || identifier.endsWith("_ptr") //$NON-NLS-1$
+ || identifier.endsWith("_cast")); //$NON-NLS-1$
}
/*

Back to the top