aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskelleditorwidget.h
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2017-12-23 11:20:52 +0100
committerEike Ziller <eike.ziller@qt.io>2018-01-06 11:08:02 +0000
commita76efd4cac4592a9534717051c3bba801767d8b2 (patch)
treeb92854693ecce180abc84f73946f14fbcdbe1e61 /plugins/haskell/haskelleditorwidget.h
parentf73e91128adeaca803e53b0f7af79075bf6ee4b1 (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.h3
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;