Björn Linse
5d8da126d0
ui/tui: highlighting refactor
...
Make HlAttr contain highlighting state for both color modes (cterm and rgb).
This allows us to implement termguicolors completely in the TUI.
Simplify some logic duplicated between ui.c and screen.c. Also avoid
some superfluous highlighting reset events.
2018-02-11 10:29:32 +01:00
Björn Linse
34057045be
ui: forward relevant option updates to UIs ( #7520 )
...
also make termguicolors mutable after startup
2017-12-12 18:23:19 +01:00
Justin M. Keyes
b67f58b284
Merge #7454 'ui: ext_wildmenu'
...
closes #6168
ref #5686
2017-10-31 10:45:06 +01:00
Dongdong Zhou
39e83fa7cb
ui: allow external ui to draw wildmenu
...
Co-authored-by: Björn Linse <bjorn.linse@gmail.com >
Updated docs and tests.
2017-10-29 08:18:03 +01:00
Björn Linse
f2aaa4ae8b
ext_cmdline: rename cmdline_char to cmdline_special_char
2017-10-26 20:28:49 +02:00
Björn Linse
a68817f565
ext_cmdline: extend "function" to generic "block" mechanism
2017-10-26 20:28:49 +02:00
Dongdong Zhou
5ad591ef2d
ext_cmdline: lint
2017-10-26 09:35:13 +02:00
Dongdong Zhou
fb389a6b4b
ext_cmdline: added indent
2017-10-26 09:35:13 +02:00
Dongdong Zhou
461ae69824
ext_cmdline: Add function block support
2017-10-26 09:35:13 +02:00
Dongdong Zhou
866dadaf75
ext_cmdline: added cmdline level
...
add cchar_to_string
2017-10-26 09:35:13 +02:00
Dongdong Zhou
ab85999eb7
ext_cmdline: change to use ui_call
2017-10-26 09:35:13 +02:00
Björn Linse
3f553ac0b9
lint: fix indentation of FUNC_ATTR lines
2017-06-03 08:17:22 +02:00
Björn Linse
2d5920ae1a
api: always use prefix FUNC_API, also change NOEVAL to REMOTE_ONLY
2017-05-10 17:37:34 +02:00
Björn Linse
e82cb5de4a
api: add metadata for ui events
2017-05-10 17:36:31 +02:00
Björn Linse
4eb781ce1d
api: use generated events for popupmenu and tabline
2017-05-10 16:14:12 +02:00
Björn Linse
489d10c57c
api: generate ui events
2017-05-10 16:14:10 +02:00