1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Added C++0x template classes to angular introducers.

This commit is contained in:
Sergey Prigogin 2010-05-30 05:08:06 +00:00
parent db9e9880a7
commit 8d5b9371c1

View file

@ -631,7 +631,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
case '<': case '<':
if (!(fCloseAngularBrackets && fCloseBrackets) if (!(fCloseAngularBrackets && fCloseBrackets)
|| nextToken == Symbols.TokenLESSTHAN || nextToken == Symbols.TokenLESSTHAN
|| prevToken != Symbols.TokenIDENT || prevToken != Symbols.TokenIDENT
|| !isAngularIntroducer(previous)) || !isAngularIntroducer(previous))
return; return;
break; break;
@ -1297,7 +1297,7 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
private boolean fEnableScalablilityMode = false; private boolean fEnableScalablilityMode = false;
/** /**
* Flag indicating wheter the reconciler is currently running. * Flag indicating whether the reconciler is currently running.
*/ */
private volatile boolean fIsReconciling; private volatile boolean fIsReconciling;
@ -1318,7 +1318,12 @@ public class CEditor extends TextEditor implements ISelectionChangedListener, IC
angularIntroducers.add("hash_set"); //$NON-NLS-1$ angularIntroducers.add("hash_set"); //$NON-NLS-1$
angularIntroducers.add("hash_multimap"); //$NON-NLS-1$ angularIntroducers.add("hash_multimap"); //$NON-NLS-1$
angularIntroducers.add("hash_multiset"); //$NON-NLS-1$ angularIntroducers.add("hash_multiset"); //$NON-NLS-1$
angularIntroducers.add("unordered_map"); //$NON-NLS-1$
angularIntroducers.add("unordered_set"); //$NON-NLS-1$
angularIntroducers.add("unordered_multimap"); //$NON-NLS-1$
angularIntroducers.add("unordered_multiset"); //$NON-NLS-1$
angularIntroducers.add("pair"); //$NON-NLS-1$ angularIntroducers.add("pair"); //$NON-NLS-1$
angularIntroducers.add("tuple"); //$NON-NLS-1$
angularIntroducers.add("include"); //$NON-NLS-1$ angularIntroducers.add("include"); //$NON-NLS-1$
} }