aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/haskell/haskelltokenizer.h
diff options
context:
space:
mode:
authorEike Ziller <git@eikeziller.de>2017-04-24 16:23:29 +0200
committerEike Ziller <git@eikeziller.de>2017-10-01 20:11:08 +0200
commitd1c0bd6491e9ff5a2d9ce31d523901640eadbb66 (patch)
treeac509c23b3936dbddef6667c1e669968eac352e4 /plugins/haskell/haskelltokenizer.h
parent5798e33d742c0f413d2d865fdb75739b4374ce98 (diff)
Add editor tooltips with type and symbol info
There is one ghcmod process started in a separate thread per project directory of opened files. If there are no more files open for a project, that ghcmod thread is exited. This doesn't take unsaved modifications into account.
Diffstat (limited to 'plugins/haskell/haskelltokenizer.h')
-rw-r--r--plugins/haskell/haskelltokenizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/haskell/haskelltokenizer.h b/plugins/haskell/haskelltokenizer.h
index 46b4b00..29b10df 100644
--- a/plugins/haskell/haskelltokenizer.h
+++ b/plugins/haskell/haskelltokenizer.h
@@ -77,6 +77,8 @@ public:
Tokens(std::shared_ptr<QString> source);
+ Token tokenAtColumn(int col) const;
+
std::shared_ptr<QString> source;
int state = int(State::None);
};