Bram Moolenaar
9b25af3620
patch 8.0.1769: repeated saving and restoring viewstate for 'incsearch'
...
Problem: Repeated saving and restoring viewstate for 'incsearch'.
Solution: Use a structure.
2018-04-28 13:56:09 +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
9d34d90210
patch 8.0.1767: with 'incsearch' text may jump up and down
...
Problem: With 'incsearch' text may jump up and down. ()
Solution: Besides w_botline also save and restore w_empty_rows.
(closes # 2530)
2018-04-27 22:18:12 +02:00
Bram Moolenaar
72532d354e
patch 8.0.1672: error during completion causes command to be cancelled
...
Problem: Error during completion causes command to be cancelled.
Solution: Reset did_emsg before waiting for another character. (Tom M.)
2018-04-07 19:09:09 +02:00
Bram Moolenaar
cd43effeca
patch 8.0.1649: no completion for argument list commands
...
Problem: No completion for argument list commands.
Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706 )
2018-03-29 15:55:38 +02: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
71a43c0137
patch 8.0.1502: in out-of-memory situation character is not restored
...
Problem: In out-of-memory situation character is not restored. (Coverity)
Solution: Restore the character in all situations.
2018-02-11 15:20:20 +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
153b704e20
patch 8.0.1445: cannot act on edits in the command line
...
Problem: Cannot act on edits in the command line.
Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603 ,
closes #2524 )
2018-01-31 15:48:32 +01:00
Bram Moolenaar
200ea8ffaa
patch 8.0.1428: compiler warning on 64 bit MS-Windows system
...
Problem: Compiler warning on 64 bit MS-Windows system.
Solution: Change type from "int" to "size_t". (Mike Williams)
2018-01-02 15:37:46 +01:00
Bram Moolenaar
ee219b0e9f
patch 8.0.1399: warnings and errors when building tiny version
...
Problem: Warnings and errors when building tiny version. (Tony Mechelynck)
Solution: Add #ifdefs.
2017-12-17 14:55:01 +01:00
Bram Moolenaar
a1d5c154db
patch 8.0.1396: memory leak when CTRL-G in search command line fails
...
Problem: Memory leak when CTRL-G in search command line fails.
Solution: Move restore_last_search_pattern to after "if".
2017-12-16 19:05:22 +01:00
Bram Moolenaar
6621605eb9
patch 8.0.1393: too much highlighting with 'hlsearch' and 'incsearch' set
...
Problem: Too much highlighting with 'hlsearch' and 'incsearch' set.
Solution: Do not highlight matches when the pattern matches everything.
2017-12-16 16:33:44 +01:00
Bram Moolenaar
c5aa55db7e
patch 8.0.1356: using simalt in a GUIEnter autocommand inserts characters
...
Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
(Chih-Long Chang)
Solution: Ignore K_NOP in Insert mode. (closes #2379 )
2017-11-28 20:47:40 +01:00
Bram Moolenaar
819edbe078
patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete
...
Problem: USE_IM_CONTROL is confusing and incomplete.
Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
2017-11-25 17:14:33 +01:00
Bram Moolenaar
51b0f3701e
patch 8.0.1309: cannot use 'balloonexpr' in a terminal
...
Problem: Cannot use 'balloonexpr' in a terminal.
Solution: Add 'balloonevalterm' and add code to handle mouse movements in a
terminal. Initial implementation for Unix with GUI.
2017-11-18 18:52:04 +01:00
Bram Moolenaar
d048009717
patch 8.0.1304: CTRL-G/CTRL-T don't work with incsearch and empty pattern
...
Problem: CTRL-G/CTRL-T don't work with incsearch and empty pattern.
Solution: Use the last search pattern. (Christian Brabandt, closes #2292 )
2017-11-16 22:20:39 +01:00
Bram Moolenaar
f8f8b2eadb
patch 8.0.1250: 'hlsearch' highlighting not removed after incsearch
...
Problem: 'hlsearch' highlighting not removed after incsearch (lacygoill)
Solution: Redraw all windows. Start search at the end of the match. Improve
how CTRL-G works with incremental search. Add tests. (Christian
Brabandt, Hirohito Higashi, haya14busa, closes #2267 )
2017-11-02 19:08:48 +01:00
Bram Moolenaar
2e51d9a097
patch 8.0.1238: incremental search only shows one match
...
Problem: Incremental search only shows one match.
Solution: When 'incsearch' and and 'hlsearch' are both set highlight all
matches. (haya14busa, closes #2198 )
2017-10-29 16:40:30 +01:00
Bram Moolenaar
2f40d129bf
patch 8.0.1215: newer gcc warns for implicit fallthrough
...
Problem: Newer gcc warns for implicit fallthrough.
Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-10-24 21:49:36 +02:00
Bram Moolenaar
f8e8c0643b
patch 8.0.1210: CTRL-G and CTRL-T are ignored with typeahead
...
Problem: When typing a search pattern CTRL-G and CTRL-T are ignored when
there is typeahead.
Solution: Don't pass SEARCH_PEEK and don't call char_avail(). (haya14busa,
closes #2233 )
2017-10-22 14:44:17 +02:00
Bram Moolenaar
fafcf0dd59
patch 8.0.1206: no autocmd for entering or leaving the command line
...
Problem: No autocmd for entering or leaving the command line.
Solution: Add CmdlineEnter and CmdlineLeave.
2017-10-19 18:35:51 +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
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
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
cae92dc3d5
patch 8.0.0878: no completion for :mapclear
...
Problem: No completion for :mapclear.
Solution: Add completion (Nobuhiro Takasaki et al. closes #1943 )
2017-08-06 15:22:15 +02:00
Bram Moolenaar
6a77d2667e
patch 8.0.0720: unfinished mapping not displayed when running timer
...
Problem: Unfinished mapping not displayed when running timer.
Solution: Also use the extra_char while waiting for a mapping and digraph.
(closes #1844 )
2017-07-16 15:24:01 +02:00
Bram Moolenaar
a92522fbf3
patch 8.0.0714: when a timer causes a command line redraw " goes missing
...
Problem: When a timer causes a command line redraw the " that is displayed
for CTRL-R goes missing.
Solution: Remember an extra character to display.
2017-07-15 15:21:38 +02:00
Bram Moolenaar
5a15b6aa0a
patch 8.0.0706: crash when cancelling the cmdline window in Ex mode
...
Problem: Crash when cancelling the cmdline window in Ex mode. (James McCoy)
Solution: Do not set cmdbuff to NULL, make it empty.
2017-07-11 15:11:57 +02:00
Bram Moolenaar
da5116da45
patch 8.0.0692: CTRL-G with 'incsearch' and ? goes in the wrong direction
...
Problem: Using CTRL-G with 'incsearch' and ? goes in the wrong direction.
(Ramel Eshed)
Solution: Adjust search_start. (Christian Brabandt)
2017-07-01 23:11:17 +02:00
Bram Moolenaar
a693d0584b
patch 8.0.0689: ~ character not escaped when extending search pattern
...
Problem: The ~ character is not escaped when adding to the search pattern
with CTRL-L. (Ramel Eshed)
Solution: Escape the character. (Christian Brabandt)
2017-06-29 22:23:06 +02:00
Bram Moolenaar
1814183b86
patch 8.0.0677: setting 'filetype' may switch buffers
...
Problem: Setting 'filetype' internally may cause the current buffer and
window to change unexpectedly.
Solution: Set curbuf_lock. (closes #1734 )
2017-06-25 21:17:25 +02:00
Bram Moolenaar
fbd0b0af68
patch 8.0.0643: when a pattern search is slow Vim becomes unusable
...
Problem: When 'hlsearch' is set and matching with the last search pattern
is very slow, Vim becomes unusable. Cannot quit search by
pressing CTRL-C.
Solution: When the search times out set a flag and don't try again. Check
for timeout and CTRL-C in NFA loop that adds states.
2017-06-17 18:44:21 +02:00
Bram Moolenaar
29ae377ea7
patch 8.0.0592: if a job writes to a buffer screen is not updated
...
Problem: If a job writes to a buffer and the user is typing a command, the
screen isn't updated. When a message is displayed the changed
buffer may cause it to be cleared. (Ramel Eshed)
Solution: Update the screen and then the command line if the screen didn't
scroll. Avoid inserting screen lines, as it clears any message.
Update the status line when the buffer changed.
2017-04-30 19:39:39 +02:00
Bram Moolenaar
3bab93998d
patch 8.0.0546: swap file exists briefly when opening the command window
...
Problem: Swap file exists briefly when opening the command window.
Solution: Set the noswapfile command modifier before splitting the window.
(James McCoy, closes #1620 )
2017-04-07 15:42:25 +02:00
Bram Moolenaar
ef8eb08978
patch 8.0.0528: highlight wrong text when 'wim' includes "longest"
...
Problem: When 'wildmenu' is set and 'wildmode' has "longest" then the first
file name is highlighted, even though the text shows the longest
match.
Solution: Do not highlight the first match. (LemonBoy, closes #1602 )
2017-03-30 22:04:55 +02:00
Bram Moolenaar
f2405ed232
patch 8.0.0468: after aborting an Ex command g< does not work
...
Problem: After aborting an Ex command g< does not work. (Marcin
Szamotulski)
Solution: Postpone clearing scrollback messages to until the command line
has been entered. Also fix that the screen isn't redrawn if after
g< the command line is cancelled.
2017-03-16 19:58:25 +01:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
1c46544412
patch 8.0.0452: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case.
2017-03-12 20:10:05 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
b5aedf3e22
patch 8.0.0448: some macros are in lower case
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
2017-03-12 18:23:53 +01:00
Bram Moolenaar
ba748c8a84
patch 8.0.0374: invalid memory access when using :sc in Ex mode
...
Problem: Invalid memory access when using :sc in Ex mode. (Dominique Pelle)
Solution: Avoid the column being negative. Also fix a hang in Ex mode.
2017-02-26 14:00:07 +01:00
Bram Moolenaar
b544f3c81f
patch 8.0.0360: sometimes VimL is used instead of "Vim script"
...
Problem: Sometimes VimL is used, which is confusing.
Solution: Consistently use "Vim script". (Hirohito Higashi)
2017-02-23 19:03:28 +01:00
Bram Moolenaar
4d8505155e
patch 8.0.0320: warning for unused variable with small build
...
Problem: Warning for unused variable with small build.
Solution: Change #ifdef to exclude FEAT_CMDWIN. (Kazunobu Kuriyama)
2017-02-09 18:25:14 +01:00
Bram Moolenaar
ba47b51ff8
patch 8.0.0237: when 'wildoptions' is "tagfile" completion may not work
...
Problem: When setting wildoptions=tagfile the completion context is not set
correctly. (desjardins)
Solution: Check for EXPAND_TAGS_LISTFILES. (Christian Brabandt, closes #1399 )
2017-01-24 21:18:19 +01:00
Bram Moolenaar
abbc448bc0
patch 8.0.0228: pasting in xterm on the command line has PasteStart
...
Problem: When pasting test in an xterm on the command line it is surrounded
by <PasteStart> and <PasteEnd>. (Johannes Kaltenbach)
Solution: Add missing changes.
2017-01-24 15:57:55 +01:00
Bram Moolenaar
1d669c233c
patch 8.0.0172: command line window does not work
...
Problem: The command selected in the command line window is not executed.
(Andrey Starodubtsev)
Solution: Save and restore the command line at a lower level. (closes #1370 )
2017-01-11 22:40:19 +01:00
Bram Moolenaar
4d0504019c
patch 8.0.0161: can't build with small features
...
Problem: Build fails when using small features.
Solution: Update #ifdef for using save_ccline. (Hirohito Higashi)
2017-01-09 12:58:11 +01:00
Bram Moolenaar
c695cec469
patch 8.0.0159: crash on startup when updating tabline
...
Problem: Using a NULL pointer when using feedkeys() to trigger drawing a
tabline.
Solution: Skip drawing a tabline if TabPageIdxs is NULL. (Dominique Pelle)
Also fix recursing into getcmdline() from the cmd window.
2017-01-08 20:00:04 +01:00
Bram Moolenaar
9e507ca8a3
patch 8.0.0034
...
Problem: No completion for ":messages".
Solution: Complete "clear" argument. (Hirohito Higashi)
2016-10-15 15:39:39 +02:00