diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2012-08-23 23:56:35 +0200 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2012-08-23 23:56:35 +0200 |
| commit | e4fd839ddaaf3fc68df2cb502a633a2ae6a9f86f (patch) | |
| tree | 681b2a63eb9b9497b97697e3f1479a7b20270427 /src/highlighter_group.hh | |
| parent | 0d8cce272831cd896d0e69d7c86cc9afc521eb11 (diff) | |
use a strongly typed int CharCount for character counts
Diffstat (limited to 'src/highlighter_group.hh')
| -rw-r--r-- | src/highlighter_group.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/highlighter_group.hh b/src/highlighter_group.hh index 79128ac7..9b4f1bf0 100644 --- a/src/highlighter_group.hh +++ b/src/highlighter_group.hh @@ -22,8 +22,8 @@ public: HighlighterGroup& get_group(const String& id); - CandidateList complete_id(const String& prefix, size_t cursor_pos); - CandidateList complete_group_id(const String& prefix, size_t cursor_pos); + CandidateList complete_id(const String& prefix, CharCount cursor_pos); + CandidateList complete_group_id(const String& prefix, CharCount cursor_pos); private: idvaluemap<String, HighlighterFunc> m_highlighters; |
