diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-11-22 21:48:26 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-11-22 21:50:51 +1100 |
| commit | cb1b03c0db91d85db3545a49f68d63fad0fe137c (patch) | |
| tree | bf8ba71c18a74d8bc1ebb38df246a3b0d87ad256 /src/user_interface.hh | |
| parent | 22d9ffa63ac22d3823c41b4671e0565a92cf8619 (diff) | |
Add support for markup in info boxes
Fixes #2552
Diffstat (limited to 'src/user_interface.hh')
| -rw-r--r-- | src/user_interface.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/user_interface.hh b/src/user_interface.hh index b216cbba..5bab3e89 100644 --- a/src/user_interface.hh +++ b/src/user_interface.hh @@ -12,6 +12,7 @@ namespace Kakoune class String; class DisplayBuffer; class DisplayLine; +using DisplayLineList = Vector<DisplayLine, MemoryDomain::Display>; struct DisplayCoord; struct Face; struct Key; @@ -56,7 +57,8 @@ public: virtual void menu_select(int selected) = 0; virtual void menu_hide() = 0; - virtual void info_show(StringView title, StringView content, + virtual void info_show(const DisplayLine& title, + const DisplayLineList& content, DisplayCoord anchor, Face face, InfoStyle style) = 0; virtual void info_hide() = 0; |
