added Move Line Up and Move Line Down actions. Can be extended to

support statements later.
This commit is contained in:
mae
2008-12-10 18:01:33 +01:00
parent e665fc822e
commit 8580234ec8
5 changed files with 88 additions and 1 deletions

View File

@@ -329,6 +329,9 @@ public slots:
void selectBlockUp();
void selectBlockDown();
void moveLineUp();
void moveLineDown();
void cleanWhitespace();
signals:
@@ -447,6 +450,7 @@ private:
void indentOrUnindent(bool doIndent);
void handleHomeKey(bool anchor);
void handleBackspaceKey();
void moveLineUpDown(bool up);
void toggleBlockVisible(const QTextBlock &block);
QRect collapseBox(const QTextBlock &block);