Removed the TokenCache.

This commit is contained in:
Erik Verbruggen
2010-06-29 17:47:59 +02:00
parent bb8aed629f
commit e3e8b1a5c0
22 changed files with 107 additions and 250 deletions

View File

@@ -746,7 +746,7 @@ QString cppExpressionAt(TextEditor::ITextEditor *editor, int pos,
tc.movePosition(QTextCursor::EndOfWord);
// Fetch the expression's code.
CPlusPlus::ExpressionUnderCursor expressionUnderCursor(modelManager->tokenCache(editor));
CPlusPlus::ExpressionUnderCursor expressionUnderCursor;
expr = expressionUnderCursor(tc);
*column = tc.positionInBlock();
*line = tc.blockNumber();