forked from qt-creator/qt-creator
		
	Prevent preleminary flushes to prevent order mess-ups.
The semantic highlighter relies on the highlight ranges to be subsequent and non-overlapping. A method body in a class nested in a method can result in flushes before the semantic info for the enclosing method is calculated, resulting in overlapping ranges. Task-number: QTCREATORBUG-3364 Reviewed-by: Roberto Raggi
This commit is contained in:
		@@ -124,7 +124,7 @@ protected:
 | 
			
		||||
    bool isTemplateClass(Symbol *s) const;
 | 
			
		||||
 | 
			
		||||
    Scope *enclosingScope() const;
 | 
			
		||||
    FunctionDefinitionAST *enclosingFunctionDefinition() const;
 | 
			
		||||
    FunctionDefinitionAST *enclosingFunctionDefinition(bool skipTopOfStack = false) const;
 | 
			
		||||
    TemplateDeclarationAST *enclosingTemplateDeclaration() const;
 | 
			
		||||
 | 
			
		||||
    virtual bool preVisit(AST *);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user