Added the InsertionPointLocator.

For answers to questions about where to insert a snippet/chunk of C++ code. Ok,
currently it will only find the One And Only place to insert method
declarations in classes, and it will need some tuning.
This commit is contained in:
Erik Verbruggen
2010-07-27 15:29:16 +02:00
parent 51d6b09efc
commit b2659950e2
8 changed files with 376 additions and 98 deletions

View File

@@ -68,7 +68,7 @@ public:
CPlusPlus::Snapshot snapshot() const;
CPlusPlus::Document::Ptr document() const;
CppEditor::Internal::SemanticInfo semanticInfo() const;
CPlusPlus::LookupContext context() const;
const CPlusPlus::LookupContext &context() const;
using TextEditor::QuickFixState::range;
using TextEditor::QuickFixState::textOf;