Björn Linse
c8810a51a3
tests: improve robustness of immediate successes in screen tests
2018-10-15 20:13:11 +02:00
Björn Linse
43823acae2
ui: rename ext_newgrid to ext_linegrid
2018-10-01 21:24:15 +02:00
Björn Linse
74937589d0
screen.lua: extend snapshot_util() to work with extension state
...
Simplify handling of attributes: collect new attributes in the same pass
as screen lines are rendered, instead of using two passes.
2018-09-03 10:36:55 +02:00
Björn Linse
3d88287e30
tests: introduce screen:expect{...} form
2018-08-27 15:15:49 +02:00
Björn Linse
1adb01c120
ui: use line-based rather than char-based updates in screen.c
...
Add ext_newgrid and ext_hlstate extensions. These use predefined
highlights and line-segment based updates, for efficiency and
simplicity.. The ext_hlstate extension in addition allows semantic
identification of builtin and syntax highlights.
Reimplement the old char-based updates in the remote UI layer, for
compatibility. For the moment, this is still the default. The bulitin
TUI uses the new line-based protocol.
cmdline uses curwin cursor position when ext_cmdline is active.
2018-07-21 13:21:58 +02:00
Björn Linse
1efe65a155
ex_getln: don't redraw statusline on top of scrolled messages
2018-06-02 09:39:39 +02:00
raichoo
3a6b80f2f4
UI: redraw statusline when entering cmdline ( #8347 )
2018-05-10 14:55:07 +02:00
Björn Linse
d9497053e8
ex_getln: clear cmdline_block after it's freed
2018-02-14 19:20:28 +01:00
Justin M. Keyes
3cc7ebf810
Merge #7234 'built-in expression parser'
2017-12-09 18:47:34 +01:00
Björn Linse
ba7d6a9e6b
ui: fix glitch with both ext_cmdline and cmd_wildmenu
2017-12-06 09:41:51 +01:00
Björn Linse
9714b9f590
tests: cleanup ui/cmdline_spec.lua
2017-12-05 13:32:02 +01:00
ZyX
53fa435a1f
functests: Fix ui/cmdline test
2017-11-19 19:34:15 +03:00
Justin M. Keyes
1a93f58831
test: ui/cmdline_spec.lua: enable on Windows
2017-10-29 02:12:45 +02:00
Björn Linse
445f25998c
ext_cmdline: fix inputsecret()
2017-10-26 20:29:10 +02:00
Björn Linse
91d8e26bc7
ext_cmdline: interact with cmdline window
2017-10-26 20:29:10 +02:00
Björn Linse
bed0a3a842
ext_cmdline: implement redraw!
2017-10-26 20:29:08 +02:00
Björn Linse
91f94bfef8
ext_cmdline: restructure and improve tests
2017-10-26 20:28:49 +02: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
Björn Linse
22402fb99d
ext_cmdline: add support for highlighting
2017-10-26 20:28:47 +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
e164ba41c8
ext_cmdline: fix firstc, change cmdline_leave to cmdline_hide
2017-10-26 09:35:13 +02:00
Dongdong Zhou
daec81ab51
ext_cmdline: change the content format
2017-10-26 09:35:13 +02:00
Dongdong Zhou
550651c130
ext_cmdline: use standard external ui functions
2017-10-26 09:35:12 +02:00
Dongdong Zhou
b7a8a76f6e
ext_cmdline: lint
2017-10-26 09:35:12 +02:00
Dongdong Zhou
26fd70bd18
ext_cmdline: add tests
2017-10-26 09:35:12 +02:00