forked from qt-creator/qt-creator
		
	C++: Use the new indenter.
Reviewed-by: Roberto Raggi
This commit is contained in:
		| @@ -29,10 +29,11 @@ public: | ||||
|     virtual ~CodeFormatter(); | ||||
|  | ||||
|     int indentFor(const QTextBlock &block); | ||||
|     void invalidateCache(QTextDocument *document); | ||||
|  | ||||
|     void setTabSize(int tabSize); | ||||
|  | ||||
|     static void invalidateCache(QTextDocument *document); | ||||
|  | ||||
| protected: | ||||
|     virtual void onEnter(int newState, int *indentDepth, int *savedIndentDepth) const = 0; | ||||
|     virtual void adjustIndent(const QList<CPlusPlus::Token> &tokens, int lexerState, int *indentDepth) const = 0; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user