logic: Fixed scrolling to line from plug-in and moved all code view scrolling into QtCodeNavigator

This commit is contained in:
Eberhard Graether
2016-08-10 16:16:32 +02:00
parent 2800c072ff
commit 6b51c7cfe4
15 changed files with 190 additions and 183 deletions
+1 -5
View File
@@ -43,6 +43,7 @@ public:
QtCodeSnippet* insertCodeSnippet(const CodeSnippetParams& params);
QtCodeSnippet* getSnippetForLocationId(Id locationId) const;
QtCodeSnippet* getSnippetForLine(unsigned int line) const;
QtCodeSnippet* getFileSnippet() const;
bool isCollapsed() const;
@@ -59,9 +60,6 @@ public:
bool hasSnippets() const;
void updateSnippets();
uint getScrollToLine() const;
void setScrollToLine(uint line);
public slots:
void clickedMinimizeButton() const;
void clickedSnippetButton() const;
@@ -100,8 +98,6 @@ private:
std::shared_ptr<TokenLocationFile> m_locationFile;
mutable bool m_contentRequested;
uint m_scrollToLine;
};
#endif // QT_CODE_FILE_H