summaryrefslogtreecommitdiff
path: root/src/search.c
AgeCommit message (Collapse)Author
2017-07-23patch 8.0.0762: ml_get error with :psearch in buffer without a nameBram Moolenaar
Problem: ml_get error with :psearch in buffer without a name. (Dominique Pelle) Solution: Use the buffer number instead of the file name. Check the cursor position.
2017-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusableBram Moolenaar
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-05patch 8.0.0627: "gn" selects only one character with 'nowrapscan'Bram Moolenaar
Problem: When 'wrapscan' is off "gn" does not select the whole pattern when it's the last one in the text. (KeyboardFire) Solution: Check if the search fails. (Christian Brabandt, closes #1683)
2017-06-05patch 8.0.0622: selecting quoted text fails with 'selection' "exclusive"Bram Moolenaar
Problem: Using a text object to select quoted text fails when 'selection' is set to "exclusive". (Guraga) Solution: Swap cursor and visual start position. (Christian Brabandt, closes #1687)
2017-06-05patch 8.0.0621: :stag does not respect 'switchbuf'Bram Moolenaar
Problem: The ":stag" command does not respect 'switchbuf'. Solution: Check 'switchbuf' for tag commands that may open a new window. (Ingo Karkat, closes #1681) Define macros for the return values of getfile().
2017-03-29patch 8.0.0523: dv} deletes part of a multi-byte character.Bram Moolenaar
Problem: dv} deletes part of a multi-byte character. (Urtica Dioica) Solution: Include the whole character.
2017-03-16patch 8.0.0466: still macros that should be all-capsBram Moolenaar
Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps.
2017-03-12patch 8.0.0452: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
2017-03-12patch 8.0.0451: some macros are in lower caseBram Moolenaar
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-12patch 8.0.0448: some macros are in lower caseBram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-03-12patch 8.0.0446: the ";" command does not work after some charactersBram Moolenaar
Problem: The ";" command does not work after characters with a lower byte that is NUL. Solution: Properly check for not having a previous character. (Hirohito Higashi)
2017-03-01patch 8.0.0398: illegal memory access with "t"Bram Moolenaar
Problem: Illegal memory access with "t". Solution: Use strncmp() instead of memcmp(). (Dominique Pelle, closes #1528)
2017-02-18patch 8.0.0339: illegal memory access with vi'Bram Moolenaar
Problem: Illegal memory access with vi' Solution: For quoted text objects bail out if the Visual area spans more than one line.
2017-02-17patch 8.0.0330: illegal memory access after "vapo"Bram Moolenaar
Problem: Illegal memory access after "vapo". (Dominique Pelle) Solution: Fix the cursor column.
2016-12-01patch 8.0.0109Bram Moolenaar
Problem: Still checking if memcmp() exists while every system should have it now. Solution: Remove vim_memcmp(). (James McCoy, closes #1295)
2016-10-15patch 8.0.0035Bram Moolenaar
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes #1168)
2016-09-09patch 7.4.2356Bram Moolenaar
Problem: Reading past end of line when using previous substitute pattern. (Dominique Pelle) Solution: Don't set "pat" only set "searchstr".
2016-09-01patch 7.4.2303Bram Moolenaar
Problem: When using "is" the mode isn't always updated. Solution: Redraw the command line. (Christian Brabandt)
2016-08-29patch 7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-20patch 7.4.2230Bram Moolenaar
Problem: There is no equivalent of 'smartcase' for a tag search. Solution: Add value "followscs" and "smart" to 'tagcase'. (Christian Brabandt, closes #712) Turn tagcase test into new style.
2016-07-24patch 7.4.2100Bram Moolenaar
Problem: "cgn" and "dgn" do not work correctly with a single character match and the replacement includes the searched pattern. (John Beckett) Solution: If the match is found in the wrong column try in the next column. Turn the test into new style. (Christian Brabandt)
2016-04-21patch 7.4.1762Bram Moolenaar
Problem: Coverity: useless assignments. Solution: Remove them.
2016-01-30patch 7.4.1214Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1199Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
2015-12-28patch 7.4.984Bram Moolenaar
Problem: searchpos() always starts searching in the first column, which is not what some people expect. (Brett Stahlman) Solution: Add the 'z' flag: start at the specified column.
2015-09-01patch 7.4.847Bram Moolenaar
Problem: "vi)d" may leave a character behind. Solution: Skip over multi-byte character. (Christian Brabandt)
2015-08-26patch 7.4.839Bram Moolenaar
Problem: Compiler warning on 64-bit system. Solution: Add cast to int. (Mike Williams)
2015-08-13patch 7.4.826Bram Moolenaar
Problem: Compiler warnings and errors. Solution: Make it build properly without the multi-byte feature.
2015-08-11patch 7.4.813Bram Moolenaar
Problem: It is not possible to save and restore character search state. Solution: Add getcharsearch() and setcharsearch(). (James McCoy)
2015-07-28patch 7.4.803Bram Moolenaar
Problem: C indent does not support C11 raw strings. (Mark Lodato) Solution: Do not change indent inside the raw string.
2015-07-21patch 7.4.793Bram Moolenaar
Problem: Can't specify when not to ring the bell. Solution: Add the 'belloff' option. (Christian Brabandt)
2015-07-10patch 7.4.771Bram Moolenaar
Problem: Search does not handle multi-byte character at the start position correctly. Solution: Take byte size of character into account. (Yukihiro Nakadaira)
2015-03-13updated for version 7.4.662Bram Moolenaar
Problem: When 'M' is in the 'cpo' option then selecting a text object in parenthesis does not work correctly. Solution: Keep 'M' in 'cpo' when finding a match. (Hirohito Higashi)
2015-03-05updated for version 7.4.655Bram Moolenaar
Problem: Text deleted by "dit" depends on indent of closing tag. (Jan Parthey) Solution: Do not adjust oap->end in do_pending_operator(). (Christian Brabandt)
2014-12-13updated for version 7.4.551Bram Moolenaar
Problem: "ygn" may yank too much. (Fritzophrenic) Issue 295. Solution: Check the width of the next match. (Christian Brabandt)
2014-12-13updated for version 7.4.547Bram Moolenaar
Problem: Using "vit" does not select a multi-byte character at the end correctly. Solution: Advance the cursor over the multi-byte character. (Christian Brabandt)
2014-12-13updated for version 7.4.543Bram Moolenaar
Problem: Since patch 7.4.232 "1,3s/\n//" joins two lines instead of three. (Eliseo Martínez) Issue 287 Solution: Correct the line count. (Christian Brabandt) Also set the last used search pattern.
2014-11-27updated for version 7.4.532Bram Moolenaar
Problem: When using 'incsearch' "2/pattern/e" highlights the first match. Solution: Move the code to set extra_col inside the loop for count. (Ozaki Kiichi)
2014-06-17updated for version 7.4.328Bram Moolenaar
Problem: Selection of inner block is inconsistent. Solution: Skip indent not only for '}' but all parens. (Tom McDonald)
2014-03-23updated for version 7.4.212Bram Moolenaar
Problem: Now that the +visual feature is always enabled the #ifdefs for it are not useful. Solution: Remove the checks for FEAT_VISUAL.
2014-01-14updated for version 7.4.155Bram Moolenaar
Problem: ":keeppatterns /pat" does not keep search pattern offset. Solution: Restore the offset after doing the search.
2014-01-14updated for version 7.4.150Bram Moolenaar
Problem: :keeppatterns is not respected for :s. Solution: Check the keeppatterns flag. (Yasuhiro Matsumoto)
2013-11-28updated for version 7.4.110Bram Moolenaar
Problem: "gUgn" cannot be repeeated. (Dimitar Dimitrov) Solution: Don't put "gn" in a different order in the redo buffer. Restore 'wrapscan' when the pattern isn't found. (Christian Wellenbrock)
2013-11-08updated for version 7.4.079Bram Moolenaar
Problem: A script cannot detect whether 'hlsearch' highlighting is actually displayed. Solution: Add the "v:hlsearch" variable. (ZyX)
2013-11-07updated for version 7.4.076Bram Moolenaar
Problem: "cgn" does not wrap around the end of the file. (Dimitrov Dimitrov) Solution: Restore 'wrapscan' earlier. (Christian Brabandt)
2013-10-02updated for version 7.4.050Bram Moolenaar
Problem: "gn" selects too much for the pattern "\d" when there are two lines with a single digit. (Ryan Carney) Solution: Adjust the logic of is_one_char(). (Christian Brabandt)
2013-08-14updated for version 7.4.005Bram Moolenaar
Problem: Using "vaB" while 'virtualedit' is set selects the wrong area. (Dimitar Dimitrov) Solution: Reset coladd when finding a match.
2013-07-17updated for version 7.4a.031Bram Moolenaar
Problem: Compiler warnings. (Charles Campbell) Solution: Initialize variables even when not needed.
2013-07-03updated for version 7.3.1302Bram Moolenaar
Problem: Test 17 fails on MS-Windows. Includes line break in file name everywhere. Solution: Fix 'fileformat'. Omit CR-LF from a line read from an included file.
2013-06-30updated for version 7.3.1275Bram Moolenaar
Problem: "gn" does not work when the match is a single character. Solution: Fix it, add a test. (Christian Brabandt)