Commit Graph

22 Commits

Author SHA1 Message Date
mae
46535482d0 Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-11 14:12:24 +01:00
mae
9890705295 make the home key jump to column 0 if the caret if before the first non-space 2008-12-11 14:11:28 +01:00
mae
6adb3f617e connect the parenthesis matcher with the ifdefed out information. 2008-12-11 13:20:59 +01:00
Roberto Raggi
f1e67fa3a3 Added `editorKind' to BaseTextEditor::openEditorAt(). We need it to force the CPPEDITOR kind
when opening files from the C++ editor (e.g. when the user press F2 on #include <QMutex>).
2008-12-11 10:28:39 +01:00
mae
8580234ec8 added Move Line Up and Move Line Down actions. Can be extended to
support statements later.
2008-12-10 18:01:33 +01:00
mae
1931304da1 add explicit "Clean Whitespace" advanced action 2008-12-09 17:43:31 +01:00
mae
cab48e0d7c Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-09 15:42:37 +01:00
mae
23872bb997 make indenting the selection a single undo/redo command 2008-12-09 15:41:01 +01:00
hjk
4a552ead9f use QTC_ASSERT instead of Q_ASSERT 2008-12-09 15:25:01 +01:00
Thorbjørn Lindeijer
756de96d99 Don't clip the right margin indication
Doesn't look right, since it causes some background to show through
between the indicator and the scrollbar.
2008-12-09 12:12:21 +01:00
mae
9ef62848ac avoid parentheses matching flicker when navigationt to block end / start. 2008-12-05 17:06:17 +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
mae
786e183aa6 markContextMenuRequested signal in ITextEditor 2008-12-05 12:12:20 +01:00
mae
923bfa52d3 Merge branch '0.9.1-beta' of git@scm.dev.nokia.troll.no:creator/mainline into 0.9.1-beta 2008-12-04 19:35:59 +01:00
mae
4fd9f1e6f7 new signal: BaseTextEditor::lineContextMenuRequested(TextEditor::ITextEditor *editor, int line, QMenu *menu);
To be useful and used by the bookmarkmanager, this has to move to ITextEditor.
2008-12-04 19:33:23 +01:00
mae
e594815842 two new actions: "select block up" and "select block down", current default is Ctrl+U 2008-12-04 19:25:20 +01:00
mae
e9ad023def block navigation and selection (bound to Ctrl+[]{} 2008-12-04 18:37:02 +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
hjk
cf11b69643 more code cosmetics 2008-12-02 16:19:05 +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