forked from qt-creator/qt-creator
		
	Simplified the code that looks for the identifier under the cursor.
This commit is contained in:
		@@ -48,7 +48,7 @@ public:
 | 
			
		||||
    TokenUnderCursor();
 | 
			
		||||
    ~TokenUnderCursor();
 | 
			
		||||
 | 
			
		||||
    SimpleToken operator()(const QTextCursor &cursor) const;
 | 
			
		||||
    SimpleToken operator()(const QTextCursor &cursor, QTextBlock *block = 0) const;
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    int previousBlockState(const QTextBlock &block) const;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user