diff options
author | Eike Ziller <eike.ziller@qt.io> | 2017-12-23 11:20:52 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-01-06 11:08:02 +0000 |
commit | a76efd4cac4592a9534717051c3bba801767d8b2 (patch) | |
tree | b92854693ecce180abc84f73946f14fbcdbe1e61 /plugins/haskell/haskelleditorwidget.h | |
parent | f73e91128adeaca803e53b0f7af79075bf6ee4b1 (diff) |
Show error in editor if stack cannot be run
With the option to open the configuration page.
Change-Id: I4895e27648d5e161fd0c9b617723f7fdd6853248
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'plugins/haskell/haskelleditorwidget.h')
-rw-r--r-- | plugins/haskell/haskelleditorwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/haskell/haskelleditorwidget.h b/plugins/haskell/haskelleditorwidget.h index 819e040..2421fc3 100644 --- a/plugins/haskell/haskelleditorwidget.h +++ b/plugins/haskell/haskelleditorwidget.h @@ -43,6 +43,9 @@ public: static Utils::optional<Token> symbolAt(QTextDocument *doc, int position, int *line, int *column); + static void showFailedToStartStackError(const QString &stackExecutable, + TextEditor::TextEditorWidget *widget); + protected: Utils::Link findLinkAt(const QTextCursor &cursor, bool resolveTarget = true, bool inNextSplit = false) override; |