Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
ae654385df
patch 8.1.0768: updating completions may cause the popup menu to flicker
...
Problem: Updating completions may cause the popup menu to flicker.
Solution: Avoid updating the text below the popup menu before drawing the
popup menu.
2019-01-17 21:09:05 +01:00
Bram Moolenaar
83a52171ba
patch 8.1.0759: showing two characters for tab is limited
...
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes #3810 )
2019-01-16 22:41:54 +01:00
Bram Moolenaar
535d5b653a
patch 8.1.0726: redrawing specifically for conceal feature
...
Problem: Redrawing specifically for conceal feature.
Solution: Use generic redrawing methods.
2019-01-11 20:45:36 +01:00
Bram Moolenaar
27a472c32e
patch 8.1.0709: windows are updated for every added/deleted sign
...
Problem: Windows are updated for every added/deleted sign.
Solution: Do not call update_debug_sign(). Only redraw when the line with
the sign is visible. (idea from neovim #9479 )
2019-01-09 21:47:30 +01:00
Bram Moolenaar
ae12f4bad3
patch 8.1.0708: third argument for redrawWinline() is always FALSE
...
Problem: Third argument for redrawWinline() is always FALSE.
Solution: Drop the argument. (neovim #9479 )
2019-01-09 20:51:04 +01:00
Bram Moolenaar
e12bab3144
patch 8.1.0706: tabline is not always redrawn
...
Problem: Tabline is not always redrawn when something that is used in
'tabline' changes.
Solution: Add ":redrawtabline" so that a plugin can at least cause the
redraw when needed.
2019-01-08 22:02:56 +01:00
Bram Moolenaar
04b4e1a424
patch 8.1.0700: using "gt" sometimes does not redraw a tab
...
Problem: Using "gt" sometimes does not redraw a tab. (Jason Franklin)
Solution: Always set must_redraw in redraw_all_later().
2019-01-06 22:22:07 +01:00
Bram Moolenaar
637532b3c0
patch 8.1.0683: spell highlighting does not always end
...
Problem: Spell highlighting does not always end. (Gary Johnson)
Solution: Also reset char_attr when spell errors are highlighted.
2019-01-03 21:44:40 +01:00
Bram Moolenaar
5e53ac00a2
patch 8.1.0676: textprop screendump test fails
...
Problem: Textprop screendump test fails.
Solution: Add missing changes.
2019-01-01 20:31:31 +01:00
Bram Moolenaar
6d5b4f566a
patch 8.1.0674: leaking memory when updating a single line
...
Problem: Leaking memory when updating a single line.
Solution: Do not call start_search_hl() twice.
2019-01-01 15:15:47 +01:00
Bram Moolenaar
c6d86dccc4
patch 8.1.0665: text property display wrong when 'spell' is set
...
Problem: Text property display wrong when 'spell' is set. (Dominique Pelle)
Solution: Remove unnecessary assignment to char_attr. Combine attributes if
needed. Add a screenshot test.
2018-12-31 13:57:36 +01:00
Bram Moolenaar
8caa10a8ec
patch 8.1.0663: text property display wrong when 'number' is set
...
Problem: Text property display wrong when 'number' is set. (Dominique
Pelle)
Solution: Compare with "vcol" instead of "col".
2018-12-30 22:07:40 +01:00
Bram Moolenaar
48f88ac85b
patch 8.1.0638: text property highlighting is off by one column
...
Problem: Text property highlighting is off by one column. (Bjorn Linse)
Solution: Update text property highlighting earlier. Let it overrule syntax
highlighting.
2018-12-26 00:25:20 +01:00
Bram Moolenaar
3d1491ed23
patch 8.1.0623: iterating through window frames is repeated
...
Problem: Iterating through window frames is repeated.
Solution: Define FOR_ALL_FRAMES. (Yegappan Lakshmanan)
2018-12-22 17:07:50 +01:00
Bram Moolenaar
98aefe7c32
patch 8.1.0579: cannot attach properties to text
...
Problem: Cannot attach properties to text.
Solution: First part of adding text properties.
2018-12-13 22:20:09 +01:00
Bram Moolenaar
c4568ab37e
patch 8.1.0528: various typos in comments
...
Problem: Various typos in comments.
Solution: Fix the typos.
2018-11-16 16:21:05 +01:00
Bram Moolenaar
0e9deefb4f
patch 8.1.0450: build failure without the +fold feature
...
Problem: Build failure without the +fold feature.
Solution: Add #ifdef.
2018-10-02 21:48:34 +02:00
Bram Moolenaar
7701f30856
patch 8.1.0449: when 'rnu' is set folded lines are not displayed correctly
...
Problem: When 'rnu' is set folded lines are not displayed correctly.
(Vitaly Yashin)
Solution: When only redrawing line numbers do draw folded lines.
(closes #3484 )
2018-10-02 21:20:32 +02:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
c787539747
patch 8.1.0376: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize the variable.
2018-09-13 14:57:41 +02:00
Bram Moolenaar
bd9a53c06c
patch 8.1.0374: moving the cursor is slow when 'relativenumber' is set
...
Problem: Moving the cursor is slow when 'relativenumber' is set.
Solution: Only redraw the number column, not all lines.
2018-09-12 23:15:48 +02:00
Bram Moolenaar
90a997987d
patch 8.1.0372: screen updating slow when 'cursorline' is set
...
Problem: Screen updating slow when 'cursorline' is set.
Solution: Only redraw the old and new cursor line, not all lines.
2018-09-12 21:52:18 +02:00
Bram Moolenaar
ed5a9d6612
patch 8.1.0349: crash when wiping buffer in a callback
...
Problem: Crash when wiping buffer in a callback.
Solution: Do not handle messages when only peeking for a character.
(closes #2107 ) Add "redraw_flag" to test_override().
2018-09-06 13:14:43 +02:00
Bram Moolenaar
7ee3f15b21
patch 8.1.0344: 'hlsearch' highlighting has a gap after /$
...
Problem: 'hlsearch' highlighting has a gap after /$.
Solution: Remove suspicious code. (Ricky Zhou, closes #3400 )
2018-09-02 15:07:28 +02:00
Bram Moolenaar
4cbdf155ca
patch 8.1.0328: inputlist() doesn't work with a timer
...
Problem: inputlist() doesn't work with a timer. (Dominique Pelle)
Solution: Don't redraw when cmdline_row is zero. (Hirohito Higashi,
closes #3239 )
2018-08-26 21:23:07 +02:00
Bram Moolenaar
b0acacd767
patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :v
...
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
2018-08-11 16:40:43 +02:00
Bram Moolenaar
92d147be95
patch 8.1.0228: dropping files is ignored while Vim is busy
...
Problem: Dropping files is ignored while Vim is busy.
Solution: Postpone the effect of dropping files until it's safe.
2018-07-29 17:35:23 +02:00
Bram Moolenaar
1f0bfe5617
patch 8.1.0226: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +vreplace feature, it's not much code and quite a few
#ifdefs.
2018-07-29 16:09:22 +02:00
Bram Moolenaar
307ac5c68e
patch 8.1.0126: various problems with 'vartabstop'
...
Problem: Various problems with 'vartabstop'.
Solution: Fix memory leak. Fix crash. Add a few more tests. (Christian
Brabandt, closes #3076 )
2018-06-28 22:23:00 +02:00
Bram Moolenaar
a87b72cc31
patch 8.1.0116: display problem with 'vartabstop' and 'linebreak'
...
Problem: Display problem with 'vartabstop' and 'linebreak'. (Chauca
Fuentes)
Solution: Call tabstop_padding(). (Christian Brabandt, closes #3076 )
2018-06-25 21:24:51 +02:00
Bram Moolenaar
829adb7460
patch 8.1.0113: compiler warning for unused variable
...
Problem: Compiler warning for unused variable. (Yegappan Lakshmanan)
Solution: Add UNUSED. (Christian Brabandt)
2018-06-24 19:24:03 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
bcf9442307
patch 8.1.0098: segfault when pattern with \z() is very slow
...
Problem: Segfault when pattern with \z() is very slow.
Solution: Check for NULL regprog. Add "nfa_fail" to test_override() to be
able to test this. Fix that 'searchhl' resets called_emsg.
2018-06-23 14:21:42 +02:00
Bram Moolenaar
942b4541a2
patch 8.1.0064: typing CTRL-W in a prompt buffer shows mode "-- --"
...
Problem: Typing CTRL-W in a prompt buffer shows mode "-- --".
Solution: Set restart_edit to 'A' and check for it.
2018-06-17 16:23:34 +02:00
Bram Moolenaar
491ac28d5f
patch 8.1.0062: popup menu broken if a callback changes the window layout
...
Problem: Popup menu broken if a callback changes the window layout. (Qiming
Zhao)
Solution: Recompute the popup menu position if needed. Redraw the ruler
even when the popup menu is displayed.
2018-06-17 14:47:55 +02:00
Bram Moolenaar
bfa4246768
patch 8.1.0058: display problem with margins and scrolling
...
Problem: Display problem with margins and scrolling.
Solution: Place the cursor in the right column. (Kouichi Iwamoto,
closes #3016 )
2018-06-16 16:20:52 +02:00
Bram Moolenaar
6ba3ec1bac
patch 8.1.0057: popup menu displayed wrong when using autocmd
...
Problem: Popup menu displayed wrong when using autocmd.
Solution: Use aucmd_prepbuf(). Force updating status line if the popup menu
is going to be redrawn anyway. (Christian Brabandt, closes #3009 )
2018-06-16 15:32:38 +02:00
Bram Moolenaar
0b6d911e5d
patch 8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes #2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
2018-05-22 20:35:17 +02:00
Bram Moolenaar
2abad54ced
patch 8.1.0002: :stopinsert changes the message position
...
Problem: :stopinsert changes the message position.
Solution: Save and restore msg_col and msg_row in clearmode(). (Jason
Franklin)
2018-05-19 14:43:45 +02:00
Bram Moolenaar
0cb8ac71ae
patch 8.0.1815: crash with terminal window and with 'lazyredraw' set
...
Problem: Still a crash with terminal window and with 'lazyredraw' set.
(Antoine)
Solution: Do not wipe out the buffer when updating the screen.
2018-05-11 22:01:51 +02:00
Bram Moolenaar
b946482190
patch 8.0.1809: various typos
...
Problem: Various typos.
Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887 )
2018-05-10 15:09:49 +02:00
Bram Moolenaar
6eddadff13
patch 8.0.1797: terminal window is redrawn too often
...
Problem: Terminal window is redrawn too often and scrolling is repeated.
Solution: Don't scroll immediately but only when redrawing. Avoid redrawing
the whole terminal window on every change.
2018-05-06 16:40:16 +02:00
Bram Moolenaar
451fc7b954
patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong way
...
Problem: SET_NO_HLSEARCH() used in a wrong way.
Solution: Make it a function. (suggested by Dominique Pelle,
closes #2850 )
2018-04-27 22:53:07 +02:00
Bram Moolenaar
5bab555c2f
patch 8.0.1705: when making a vertical split the mode message isn't updated
...
Problem: When making a vertical split the mode message isn't always
updated, "VISUAL" remains. (Alexei Averchenko)
Solution: Only reset clear_cmdline when filling all columns of the last
screen line. (Tom M. closes #2611 )
2018-04-13 20:41:29 +02:00
Bram Moolenaar
6f4700233f
patch 8.0.1688: some macros are used without a semicolon
...
Problem: Some macros are used without a semicolon, causing auto-indent to be
wrong.
Solution: Use the do-while(0) trick. (Ozaki Kiichi, closes #2729 )
2018-04-10 18:47:20 +02:00
Bram Moolenaar
f708ac592f
patch 8.0.1600: crash when setting t_Co to zero when 'termguicolors' is set
...
Problem: Crash when setting t_Co to zero when 'termguicolors' is set.
Solution: Use IS_CTERM instead of checking the number of colors.
(closes #2710 )
2018-03-12 21:48:32 +01:00
Bram Moolenaar
987723e084
patch 8.0.1574: show cursor in wrong place when using popup menu
...
Problem: Show cursor in wrong place when using popup menu. (Wei Zhang)
Solution: Force updating the cursor position. Fix skipping over unused
entries.
2018-03-06 11:43:04 +01:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01:00
Bram Moolenaar
d4fc577e60
patch 8.0.1544: when using 'termguicolors' SpellBad doesn't show
...
Problem: When using 'termguicolors' SpellBad doesn't show.
Solution: When the GUI colors are not set fall back to the cterm colors.
2018-02-27 14:39:03 +01:00