Commit Graph

120 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
1efe71992b Moved the CppHoverHandler to the CppEditor plugin
It used to be in CppTools, but since the hover handler only makes sense
in the context of the C++ editor, this is a better place.
2008-12-16 12:27:13 +01:00
Roberto Raggi
bab60d14b3 Introduced CPlusPlus::Snapshot, it contains a snap shot of the indexer's current state.
This change removes a number of wrong usages of the CppModelManager::documents()/document().
2008-12-12 10:07:58 +01:00
Roberto Raggi
d454607264 Implemented tooltip and lookat for #include directives. 2008-12-10 17:21:28 +01:00
Roberto Raggi
9653f4b7e9 Fixed macro locations. 2008-12-09 16:20:21 +01:00
Roberto Raggi
20e36cc364 tooltip for macro definitions. 2008-12-09 15:24:26 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
Roberto Raggi
02488eebe4 More cleanup in the CppPreprocessor. 2008-12-08 14:49:53 +01:00
Roberto Raggi
310d50fd07 Use Macros. 2008-12-08 12:59:57 +01:00
Roberto Raggi
520a5c9e65 Put the preprocessor the CPlusPlus namespace 2008-12-08 12:18:04 +01:00
Roberto Raggi
1f8ce02d06 Some cleanup in CppPreprocessor. 2008-12-08 11:42:09 +01:00
Roberto Raggi
d74ddb76b6 Protected m_dirty and m_projects with a mutex. 2008-12-08 10:45:27 +01:00
mae
6d37029be8 support different selection kinds in basetexteditor.
enum ExtraSelectionKind {
        CurrentLineSelection,
        ParenthesesMatchingSelection,
        CodeWarningsSelection,
        CodeSemanticsSelection,
        OtherSelection,
        NExtraSelectionKinds
    };
    void setExtraSelections(ExtraSelectionKind kind, const QList<QTextEdit::ExtraSelection> &selections);
    QList<QTextEdit::ExtraSelection> extraSelections(ExtraSelectionKind kind) const;

This is mainly for the benefit of the cppmodelmanager.
2008-12-05 13:19:57 +01:00
Roberto Raggi
a418183596 Some cleanup in the CppPreprocessor. 2008-12-04 17:08:11 +01:00
Roberto Raggi
c4fa71ba36 Removed some warnings. 2008-12-04 17:08:11 +01:00
Roberto Raggi
3d3802d50f Added macro expanding events and some initial on the macro highlighting support. 2008-12-04 12:06:26 +01:00
Roberto Raggi
f1feb0e25c Fixed the current progress value of the background parser. 2008-12-03 16:19:47 +01:00
hjk
df7aacd637 more file cosmetics 2008-12-02 15:08:31 +01:00
hjk
ab83dcd87c off-by-one in headers 2008-12-02 14:20:25 +01:00
hjk
8a43d9b9f3 end-of-line whitespace correction of the new headers 2008-12-02 14:17:16 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00