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
Bram Moolenaar
cafafb381a
patch 8.0.1531: cannot use 24 bit colors in MS-Windows console
...
Problem: Cannot use 24 bit colors in MS-Windows console.
Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki,
fixes #1270 , fixes #2060 )
2018-02-22 21:07:09 +01:00
Bram Moolenaar
81226e0310
patch 8.0.1528: dead code found
...
Problem: Dead code found.
Solution: Remove the useless lines. (CodeAi, closes #2656 )
2018-02-20 21:44:45 +01:00
Bram Moolenaar
181ca99e16
patch 8.0.1520: cursor in wrong line when using a WinBar in Terminal window
...
Problem: Cursor is in the wrong line when using a WinBar in a Terminal
window.
Solution: Adjust the row number. (Christian Brabandt, closes #2362 )
2018-02-13 21:19:21 +01:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
acda04f5c6
patch 8.0.1476: screen isn't always updated right away
...
Problem: Screen isn't always updated right away.
Solution: Adjust #ifdef: Call out_flush() when not running the GUI.
2018-02-08 09:57:28 +01:00
Bram Moolenaar
a338adcf22
patch 8.0.1449: slow redrawing with DirectX
...
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560 )
2018-01-31 20:51:47 +01:00
Bram Moolenaar
45a0000d5c
patch 8.0.1422: no fallback to underline when undercurl is not set
...
Problem: No fallback to underline when undercurl is not set. (Ben Jackson)
Solution: Check for the value to be empty instead of NULL. (closes #2424 )
2017-12-22 21:12:34 +01:00
Bram Moolenaar
fae8ed1fc8
patch 8.0.1388: char not overwritten with ambiguous width char
...
Problem: Char not overwritten with ambiguous width char, if the ambiguous
char is single width but we reserve double-width space.
Solution: First clear the screen cells. (Ozaki Kiichi, closes #2436 )
2017-12-12 22:29:30 +01:00
Bram Moolenaar
415a6939a4
patch 8.0.1375: window size wrong after maximizing with WinBar
...
Problem: Window size wrong after maximizing with WinBar. (Lifepillar)
Solution: Fix height computations. Redraw window when it is zero height but
has a WinBar. (closes #2356 )
2017-12-05 20:31:07 +01:00
Bram Moolenaar
8b9e20afb0
patch 8.0.1358: undercurl is not used in the terminal
...
Problem: Undercurl is not used in the terminal. (Kovid Goyal)
Solution: Only fall back to underline when undercurl highlighting is not
defined. (closes #1306 )
2017-11-28 21:25:21 +01:00
Bram Moolenaar
0e19fc07e7
patch 8.0.1228: invalid memory access in GUI test
...
Problem: Invalid memory access in GUI test.
Solution: Check that the row is not outside of the screen.
2017-10-28 14:45:16 +02:00
Bram Moolenaar
4f1982800f
patch 8.0.1214: accessing freed memory when EXITFREE is set
...
Problem: Accessing freed memory when EXITFREE is set and there is more than
one tab and window. (Dominique Pelle)
Solution: Free options later. Skip redraw when exiting.
2017-10-23 21:53:30 +02:00
Bram Moolenaar
5ece3e359c
patch 8.0.1169: highlignting one char too many with 'list' and 'cul'
...
Problem: Highlignting one char too many with 'list' and 'cul'.
Solution: Check for 'list' being active. (Ozaki Kiichi, closes #2177 )
2017-10-01 14:35:02 +02:00
Bram Moolenaar
0aa398f55a
patch 8.0.1168: wrong highlighting with combination of match and 'cursorline'
...
Problem: wrong highlighting with combination of match and 'cursorline'.
Solution: Use "line_attr" when appropriate. (Ozaki Kiichi, closes #2111 )
But don't highlight more than one character.
2017-09-30 21:23:55 +02:00
Bram Moolenaar
e0de17d84e
patch 8.0.1143: macros always expand to the same thing
...
Problem: Macros always expand to the same thing.
Solution: Remove W_VSEP_WIDTH() and W_STATUS_HEIGHT().
2017-09-24 16:24:34 +02:00
Bram Moolenaar
0263146b5d
patch 8.0.1136: W_WIDTH() is always the same
...
Problem: W_WIDTH() is always the same.
Solution: Expand the macro.
2017-09-22 15:20:32 +02:00
Bram Moolenaar
53f8174eae
patch 8.0.1135: W_WINCOL() is always the same
...
Problem: W_WINCOL() is always the same.
Solution: Expand the macro.
2017-09-22 14:35:51 +02:00
Bram Moolenaar
f3d769a585
patch 8.0.1133: syntax timeout not used correctly
...
Problem: Syntax timeout not used correctly.
Solution: Do not pass the timeout to syntax_start() but set it explicitly.
(Yasuhiro Matsumoto, closes #2139 )
2017-09-22 13:44:56 +02:00
Bram Moolenaar
1b9645de3c
patch 8.0.1123: cannot define a toolbar for a window
...
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
2017-09-17 23:03:31 +02:00
Bram Moolenaar
4033c55eca
patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefs
...
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always
enabled and only adds 7% to the binary size of the tiny build.
Solution: Graduate FEAT_WINDOWS.
2017-09-16 20:54:51 +02:00
Bram Moolenaar
072412ed45
patch 8.0.1100: stuck in redraw loop when 'lazyredraw' is set
...
Problem: Stuck in redraw loop when 'lazyredraw' is set.
Solution: Don't loop on update_screen() when not redrawing. (Yasuhiro
Matsumoto, closes #2082 )
2017-09-13 22:11:35 +02:00
Bram Moolenaar
49a613f84a
patch 8.0.1097: background color wrong if job changes background color
...
Problem: Background color wrong if job changes background color.
Solution: Get the background color from vterm.
2017-09-11 23:05:44 +02:00
Bram Moolenaar
238d43b328
patch 8.0.1096: terminal window in Normal mode has wrong background
...
Problem: Terminal window in Normal mode has wrong background.
Solution: Store the default background and use it for clearning until the
end of the line. Not for below the last line, since there is no
text there.
2017-09-11 22:00:51 +02:00
Bram Moolenaar
e2e69e4813
patch 8.0.1041: bogus characters when indenting during visual-block append
...
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
2017-09-02 20:30:35 +02:00
Bram Moolenaar
cf4b00c856
patch 8.0.1038: strike-through text not supported
...
Problem: Strike-through text not supported.
Solution: Add support for the "strikethrough" attribute. (Christian
Brabandt, Ken Takata)
2017-09-02 18:33:56 +02:00
Bram Moolenaar
5c6dbcb03f
patch 8.0.1026: GTK on-the-spot input has problems
...
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes
#1215 )
2017-08-30 22:00:20 +02:00
Bram Moolenaar
02e177d3e8
patch 8.0.1002: unnecessarily updating screen after timer callback
...
Problem: Unnecessarily updating screen after timer callback.
Solution: Check if calling the timer sets must_redraw.
2017-08-26 23:43:28 +02:00
Bram Moolenaar
cfce71710b
patch 8.0.0956: scrolling in a terminal window has flicker
...
Problem: Scrolling in a terminal hwindow as flicker when the Normal
background differs from the terminal window background.
Solution: Set the attribute to clear with.
2017-08-17 20:31:48 +02:00