Simplified the code that looks for the identifier under the cursor.

This commit is contained in:
Roberto Raggi
2009-03-30 15:25:06 +02:00
parent 1949436635
commit 68d8d83093
3 changed files with 23 additions and 17 deletions

View File

@@ -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;