Commit Graph

929 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
bf7486c011 Don't keep around references to old documents
The code completion was keeping around references to old documents after
the completion finished. This caused documents to stay in memory when
unloading projects, up until the next time you used the completion.
2008-12-08 13:05:44 +01:00
Thorbjørn Lindeijer
c14896b7d2 Slight optimization in Session::projectForFile
Avoid creating a copy of the list of projects.
2008-12-08 13:05:44 +01:00
Roberto Raggi
310d50fd07 Use Macros. 2008-12-08 12:59:57 +01:00
Roberto Raggi
f6fbb274ae Moved the preprocessor. 2008-12-08 12:24:40 +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
hjk
d8b343afa1 silence warning 2008-12-05 18:27:45 +01:00
hjk
84261f00ea Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-05 16:40:19 +01:00
hjk
0e8d02aab4 populate texteditor margin context menu 2008-12-05 16:39:33 +01:00
Thorbjørn Lindeijer
ecfb77d469 Separate scope in classes quickopen filter
The scope of the classes is now separated and displayed in the second
column, and not included in the search.
2008-12-05 13:23:04 +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
Thorbjørn Lindeijer
4e76b54dec Use QFlags for indicating symbols to search for 2008-12-05 09:02:08 +01:00
Thorbjørn Lindeijer
cecd5023dd First incarnation of classes quickopen filter
Invokable with 'c', currently shows all classes it can find.
2008-12-04 18:22:58 +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
Patrick Star
c37f4d05d8 Fixes: - missing F1 in tooltip on first IDE start 2008-12-04 13:44:15 +01:00
Roberto Raggi
0a8a7f6558 oops! forgot to notify this macro expansion :-) 2008-12-04 12:41:36 +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
Roberto Raggi
4222fae24b Don't hide the expanding macro, when expeding function-like macros. 2008-12-03 14:01:58 +01:00
Roberto Raggi
0d40f8a944 Added macro protection. 2008-12-03 10:44:46 +01:00
Roberto Raggi
ceb73b720b Reduced the number of generated #line directives. 2008-12-02 15:33:33 +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
Roberto Raggi
03b3f5b3a7 Removed obsolete code. 2008-12-02 13:15:26 +01:00
hjk
1472bdb0cc some file cosmetics (mostly #include order and whitespace) 2008-12-02 12:57:59 +01:00
con
05c35356ab Initial import 2008-12-02 12:01:29 +01:00