mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-17 00:52:38 -05:00
WpsEditor: add linenumbrs WpsEditor: Add linenumbers to the WPS Code, and highlight the error line, if parsing fails. (FS#9362)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18483 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1ff9ce202d
commit
f414c6e19f
6 changed files with 339 additions and 100 deletions
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
class QWpsEditorWindow : public QMainWindow, public Ui::MainWindow {
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
QWpsState wpsState;
|
||||
QTrackState trackState;
|
||||
QPointer<QWpsDrawer> drawer;
|
||||
|
|
@ -47,9 +47,11 @@ class QWpsEditorWindow : public QMainWindow, public Ui::MainWindow {
|
|||
QHash<QString,QAction *> actTargets;
|
||||
QActionGroup *actGroupTargets;
|
||||
QSignalMapper *targetsSignalMapper;
|
||||
|
||||
|
||||
int scrollingLine;
|
||||
protected:
|
||||
void connectActions();
|
||||
void postWpsUpdate();
|
||||
public:
|
||||
QWpsEditorWindow( QWidget * parent = 0, Qt::WFlags f = 0 );
|
||||
void logMsg(QString s);
|
||||
|
|
@ -74,3 +76,4 @@ signals:
|
|||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue