logic: Return to last scroll position in code view on undo

* fixed scrolling on undo
* refactored autoscrolling in code view
* save scroll position of user with MessageScrollCode
This commit is contained in:
Eberhard Graether
2016-01-29 13:08:30 +01:00
parent 427c94457b
commit ead0abfba2
20 changed files with 240 additions and 91 deletions
+2
View File
@@ -32,6 +32,8 @@ public:
);
virtual ~QtCodeSnippet();
QtCodeFile* getFile() const;
uint getStartLineNumber() const;
uint getEndLineNumber() const;