Mercurial > hg > octave-lyh
comparison gui/src/FileEditorMdiSubWindow.h @ 13654:c67f7d390a1a
editor: comment/uncomment selected text
author | ttl <ttl@justmail.de> |
---|---|
date | Thu, 25 Aug 2011 20:12:31 +0200 |
parents | b93bfa9486ad |
children | 347dfbea2c8a |
comparison
equal
deleted
inserted
replaced
13653:0ee1b81a0538 | 13654:c67f7d390a1a |
---|---|
67 void closeEvent(QCloseEvent *event); | 67 void closeEvent(QCloseEvent *event); |
68 | 68 |
69 private: | 69 private: |
70 int checkFileModified (QString msg); | 70 int checkFileModified (QString msg); |
71 void construct (); | 71 void construct (); |
72 void doCommentSelectedText (bool comment); | |
72 QMenuBar *m_menuBar; | 73 QMenuBar *m_menuBar; |
73 QToolBar *m_toolBar; | 74 QToolBar *m_toolBar; |
74 QsciScintilla *m_editor; | 75 QsciScintilla *m_editor; |
75 QStatusBar *m_statusBar; | 76 QStatusBar *m_statusBar; |
76 QString m_fileName; | 77 QString m_fileName; |
87 void runFile(); | 88 void runFile(); |
88 void removeBookmark (); | 89 void removeBookmark (); |
89 void toggleBookmark (); | 90 void toggleBookmark (); |
90 void nextBookmark(); | 91 void nextBookmark(); |
91 void prevBookmark(); | 92 void prevBookmark(); |
93 void commentSelectedText(); | |
94 void uncommentSelectedText(); | |
92 | 95 |
93 }; | 96 }; |
94 | 97 |
95 #endif // FILEEDITORMDISUBWINDOW_H | 98 #endif // FILEEDITORMDISUBWINDOW_H |