forked from qt-creator/qt-creator
		
	Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments and improved CPPEditor::isInComment to handle the newly introduced tokens.
As side effect,this change should fix the regression we introduced in the "automagically" quote/brace insertion.
This commit is contained in:
		| @@ -63,7 +63,8 @@ bool SimpleToken::isKeyword() const | ||||
|  | ||||
| bool SimpleToken::isComment() const | ||||
| { | ||||
|     return _kind == T_COMMENT || _kind == T_DOXY_COMMENT; | ||||
|     return _kind == T_COMMENT || _kind == T_DOXY_COMMENT || | ||||
|             _kind == T_CPP_COMMENT || _kind == T_CPP_DOXY_COMMENT; | ||||
| } | ||||
|  | ||||
| bool SimpleToken::isObjCAtKeyword() const | ||||
|   | ||||
		Reference in New Issue
	
	Block a user