| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
Problem: Incsearch highlighting does not work for ":sort!".
Solution: Skip over the exclamation point. (closes vim/vim#5983)
https://github.com/vim/vim/commit/333015a46e916f566763ec44ae8669c0378767d9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Problem: Using Visual mark sith :s gives E20 if not set.
Solution: Ignore errors when handling 'incsearch'. (closes vim/vim#3837)
https://github.com/vim/vim/commit/c672525b487992306f69ceab093291ba3b8e4246
N/A patches for version.c:
vim-patch:8.2.1526: line in testdir Makefile got commented out
Problem: Line in testdir Makefile got commented out. (Christian Brabandt)
Solution: Revert.
https://github.com/vim/vim/commit/228e62975e7aef9d6224a5a7c43625c1c1494fc2
vim-patch:8.2.1675: MinGW: testdir makefile deletes non-existing file
Problem: MinGW: testdir makefile deletes non-existing file.
Solution: Use another way to delete the output file if it already exists.
(Michael Soyka)
https://github.com/vim/vim/commit/05c1acd5e1564ea4dbc7d4be26908af6909f43f6
|
|
|
|
|
|
| |
Problem: C-R C-W does not work after C-G when using 'incsearch'.
Solution: Put cursor at end of the match. (Yasuhiro Matsumoto, closes vim/vim#4664)
https://github.com/vim/vim/commit/69a5b867940d25f68a782de5c1165d65b51fcafa
|
|
|
|
|
|
|
|
| |
Problem: CTRL-L with 'incsearch' does not pick up char under cursor.
(Smylers)
Solution: Do not compare the position with the cursor position. (Hirohito
Higashi, closes vim/vim#3620)
https://github.com/vim/vim/commit/730f48fe3691dc62331f3df23cb947bfc33a5add
|
|
|
|
|
|
| |
Problem: :2vimgrep causes an ml_get error
Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
https://github.com/vim/vim/commit/1c29943416207e21abbc790eaf563b36789170c2
|
|
|
|
|
|
|
| |
Problem: Saved last search pattern may not be restored.
Solution: Call restore_last_search_pattern(). Add a check for balancing
saving and restoring the last search pattern.
https://github.com/vim/vim/commit/01a060da74b756b161e595b39a7877cb7612120a
|
|
|
|
|
|
|
| |
Problem: 'hlsearch' highlight remains in other window after cancelling
command.
Solution: Redraw all windows. Also remove unnecessary delays. (closes vim/vim#3437)
https://github.com/vim/vim/commit/65985ac998713dfe0f0ff1dd49c5e3e8f17f4870
|
|
|
|
|
|
| |
Problem: Error while typing :/foo/s// with 'incsearch' enabled.
Solution: Do not give search errors when highlighting matches.
https://github.com/vim/vim/commit/50eb16c3b23235b21ce4494673a7741a9a196176
|
|
|
|
|
|
|
| |
Problem: Using :s with 'incsearch' prevents CTRL-R CTRL-W. (Boris Staletic)
Solution: When past the pattern put cursor back in the start position.
(closes vim/vim#3413)
https://github.com/vim/vim/commit/99f043a57d0be35ef72572b0429cf51525c3cd2b
|
|
|
|
|
|
| |
Problem: 'incsearch' for :/foo/s//<Esc> changes last search pattern.
Solution: Save the last search pattern earlier.
https://github.com/vim/vim/commit/198cb66d652d3d8ac16226dcc929a11b0b720151
|
|
|
|
|
|
| |
Problem: Wrong highlight when 'incsearch' set and cancelling :s.
Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe)
https://github.com/vim/vim/commit/f13daa46da85a80dd05704cdde0660c2b2651a5a
|
|
|
|
|
|
| |
Problem: 'incsearch' regression: /\v highlights everything.
Solution: Put back the empty_pattern() check.
https://github.com/vim/vim/commit/4edfe2d2a2d70ea66a7f73e9b923c2d1f6246a57
|
|
|
|
|
|
|
| |
Problem: Too much 'incsearch' highlight for pattern matching everything.
Solution: Add the skiplen to the command and remove the line range.
(Christian Brabandt) Check for empty pattern earlier.
https://github.com/vim/vim/commit/8b0d5ce881ac16a36ea00018ba13a58b0fdb7534
|
|
|
|
|
|
| |
Problem: Command parsing for 'incsearch' is a bit ugly.
Solution: Return when there is no pattern. Put common checks together.
https://github.com/vim/vim/commit/111bbd61e96d1d3ee4bc07ae435fd97b88413aba
|
|
|
|
|
|
|
| |
Problem: No 'incsearch' highlighting for :vimgrep and similar commands.
Solution: Parse the :vimgrep command and similar ones to locate the search
pattern. (Hirohito Higashi, closes vim/vim#3344)
https://github.com/vim/vim/commit/264cf5cfaf40e704aea2578e70c15ed9a9d0161e
|
|
|
|
|
|
| |
Problem: 'incsearch' highlighting not used for :sort.
Solution: Handle pattern in :sort command.
https://github.com/vim/vim/commit/81f56536b1bc324eb173924a8cf4d7dbbf4f3fdb
|
|
|
|
|
|
| |
Problem: 'incsearch' does not apply to :smagic and :snomagic.
Solution: Add support. (Hirohito Higashi)
https://github.com/vim/vim/commit/167ae42685dcd430800c51ac7339f7f0938a3e70
|
|
|
|
|
|
| |
Problem: 'cursorline' highlighting wrong with 'incsearch'.
Solution: Move the cursor back if the match is outside the range.
https://github.com/vim/vim/commit/2f6a346a4cd2d5bdd6dc9b3209ebce7b6340221d
|
|
|
|
|
|
| |
Problem: 'incsearch' does not work with command modifiers.
Solution: Skip command modifiers.
https://github.com/vim/vim/commit/33c4dbb74bdf41aadd193a704f597d4df20f0e47
|
|
|
|
|
|
| |
Problem: 'incsearch' highlighting does not work for ":g!/".
Solution: Skip the exclamation mark. (Hirohito Higashi)
https://github.com/vim/vim/commit/def7b1dc6104a6ce6d7c3e3a615231178601b124
|
|
|
|
|
|
| |
Problem: 'incsearch' highlighting does not skip white space.
Solution: Skip white space after the command. (issue vim/vim#3321)
https://github.com/vim/vim/commit/2b926fcb3c5d8bd09a219009336bbec7c66ae67e
|
|
|
|
|
|
| |
Problem: 'incsearch' highlighting does not accept reverse range.
Solution: Swap the range when needed. (issue vim/vim#3321)
https://github.com/vim/vim/commit/60d0871000e9abf3716ee035cba5b5a9d659e327
|
|
|
|
|
|
|
| |
Problem: 'incsearch' highlighting wrong in a few cases.
Solution: Fix using last search pattern. Restore highlighting when changing
command. (issue vim/vim#3321)
https://github.com/vim/vim/commit/c7f08b7ee1c1ff2080d425c2fcdb6907c26fc98e
|
|
|
|
|
|
|
| |
Problem: 'incsearch' with :s doesn't start at cursor line.
Solution: Set cursor before parsing address. (closes vim/vim#3318)
Also accept a match at the start of the first line.
https://github.com/vim/vim/commit/976b847f43dd16eb6cd809d2dcab7dde6045e176
|
|
|
|
|
|
| |
Problem: 'incsearch' triggers on ":source".
Solution: Check for the whole command name.
https://github.com/vim/vim/commit/21f990e1c22ffa2fdb66a548ebbe25e6e7194776
|
|
|
|
|
|
| |
Problem: Invalid memory access when using 'incsearch'.
Solution: Reset "patlen" when using previous search pattern.
https://github.com/vim/vim/commit/ef73a28401cde680dc0d02d4b0fb19ed659ec1d3
|
|
|
|
|
|
| |
Problem: 'incsearch' doesn't work for :s, :g or :v.
Solution: Also use 'incsearch' for other commands that use a pattern.
https://github.com/vim/vim/commit/b0acacd767a2b0618a7f3c08087708f4329580d0
|
|
|
|
|
|
| |
Problem: The getcmdline() function is way too big.
Solution: Factor out the incremental search highlighting.
https://github.com/vim/vim/commit/0ee81cb63876e6ec1b2a6e0125295b43f1c63c7d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Reuse inccommand preview window
Currently, show_sub (inside ex_substitute) creates a new split on each
run for its existing buffer, and ex_substitute calls close_windows for
it. This functionality seems to relay in delayed operations on window
structures where the close event on the newest window is "cancelled" by
win_grid_alloc. But for multigrid, there is optimization in place in
win_grid_alloc which causes any (unnecessary?) allocations to be
skipped, and thus inccommand preview window is not preserved but closed
immediately. Alternative fix would be to remove said optimization, but
the whole "lets create a new split each time and trash the earlier
window" seems too wasteful.
Fix #11529
* Update failing test
The failing test sets inccommand=split and does `:%s/.`, but isn't
expecting to get any contents for the preview window, other than the
windows status line. Update the test to include the preview window
contents too.
|
|
|
|
|
|
| |
Problem: VAR_SPECIAL is also used for booleans.
Solution: Add VAR_BOOL for better type checking.
https://github.com/vim/vim/commit/9b4a15d5dba354d2e1e02871470bad103f34769a
|
|
|
|
|
|
| |
Problem: Crash when running out of memory in :setfiletype completion.
Solution: Do not allocate memory. (Dominique Pelle, closes vim/vim#5438)
https://github.com/vim/vim/commit/f0f8055102c264b1d0c0a79bf742dc126fb447b9
|
|\
| |
| | |
vim-patch:7.4.2058
|
| |\
| | |
| | |
| | | |
vim-patch:7.4.2058
|
| | |
| | |
| | |
| | | |
Lets stick with vim for now
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| | |
Problem: The "last used" info of a buffer is under used.
Solution: Add "lastused" to getbufinfo(). List buffers sorted by last-used
field. (Andi Massimino, closes vim/vim#4722)
https://github.com/vim/vim/commit/52410575be50d5c40bbe6380159df48cfc382ceb
|
| |
| |
| |
| |
| |
| | |
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
https://github.com/vim/vim/commit/5d18efecfd6c45d69f55268948a22cd0465bb955
|
|\ \
| | |
| | | |
[RFC] Wildmenu support C-E and C-Y as popupmenu
|
| | | |
|
| | |
| | |
| | |
| | | |
We intentionally do not translate API errors.
ref: https://github.com/neovim/neovim/issues/6150
|
| |/
|/|
| |
| |
| |
| |
| | |
Problem: Error for bad regexp even though regexp is not used when writing
a file. (Arseny Nasokin)
Solution: Ignore regexp errors. (closes vim/vim#5059)
https://github.com/vim/vim/commit/b40c2576d4e0e2dd2c580414c45947d88556d76d
|
| | |
|
|/
|
|
|
|
| |
With "wildmode=longest,full" + wildoptions=pum, wildmode should show
popupmenu after Tab-Tab, not the horizontal wildmenu.
Fixes #11622
|
|
|
|
|
| |
Problem: Repeated saving and restoring viewstate for 'incsearch'.
Solution: Use a structure.
https://github.com/vim/vim/commit/9b25af36204c0511eab08d621688f0f2008fc68e
|
| |
|
|
|
|
|
|
| |
Problem: Use of NULL pointer when out of memory.
Solution: Check for NULL pointer. (Dominique Pelle, closes vim/vim#5449)
https://github.com/vim/vim/commit/8b7aa2f9b238df916c161cdacda032c25d72a0ae
|
|
|
|
|
|
|
| |
Problem: Using simalt in a GUIEnter autocommand inserts strange characters.
(Chih-Long Chang)
Solution: Ignore K_NOP in Insert mode. (closes vim/vim#2379)
https://github.com/vim/vim/commit/c5aa55db7e5bc791f99fb15b0f4be0d5dd166f62
|
| |
|
|
|
|
|
|
|
| |
Problem: With 'incsearch' text may jump up and down. ()
Solution: Besides w_botline also save and restore w_empty_rows.
(closes # 2530)
https://github.com/vim/vim/commit/9d34d90210ba52ebaf45973282e5921f5af364c7
|
|
|
|
|
|
| |
Problem: Opening cmdline window with feedkeys() does not work. (Yegappan
Lakshmanan)
Solution: Recognize K_CMDWIN also when ex_normal_busy is set.
https://github.com/vim/vim/commit/85db5475982e166ec5bb1c8c9a5c8bf062d49ed1
|