summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
AgeCommit message (Collapse)Author
2018-12-23patch 8.1.0629: "gn" selects the wrong text with a multi-line matchv8.1.0629Bram Moolenaar
Problem: "gn" selects the wrong text with a multi-line match. Solution: Get the end position from searchit() directly. (closes #3695)
2018-12-13patch 8.1.0579: cannot attach properties to textv8.1.0579Bram Moolenaar
Problem: Cannot attach properties to text. Solution: First part of adding text properties.
2018-11-30patch 8.1.0552: saved last search pattern may not be restoredv8.1.0552Bram Moolenaar
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.
2018-11-24patch 8.1.0543: Coverity warns for leaking memory and using wrong structv8.1.0543Bram Moolenaar
Problem: Coverity warns for leaking memory and using wrong struct. Solution: Free pointer when allocation fails. Change "boff" to "loff". (closes #3634)
2018-10-28patch 8.1.0499: :2vimgrep causes an ml_get errorv8.1.0499Bram Moolenaar
Problem: :2vimgrep causes an ml_get error Solution: Pass tomatch pointer instead of value. (Yegappan Lakshmanan)
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-09-30patch 8.1.0441: build failure without command line historyv8.1.0441Bram Moolenaar
Problem: Build failure without command line history. Solution: Move cmdline_init() outside of #ifdef.
2018-09-30patch 8.1.0439: recursive use of getcmdline() still not protectedv8.1.0439Bram Moolenaar
Problem: Recursive use of getcmdline() still not protected. Solution: Instead of saving the command buffer when making a call which may cause recursiveness, save the buffer when actually being called recursively.
2018-09-25patch 8.1.0436: can get the text of inputsecret() with getcmdline()v8.1.0436Bram Moolenaar
Problem: Can get the text of inputsecret() with getcmdline(). (Tommy Allen) Solution: Don't return the text.
2018-09-25patch 8.1.0433: mapping can obtain text from inputsecret()v8.1.0433Bram Moolenaar
Problem: Mapping can obtain text from inputsecret(). (Tommy Allen) Solution: Disallow CTRL-R = and CTRL-\ e when using inputsecret().
2018-09-16patch 8.1.0399: 'hlsearch' highlight remains in other windowv8.1.0399Bram Moolenaar
Problem: 'hlsearch' highlight remains in other window after cancelling command. Solution: Redraw all windows. Also remove unnecessary delays. (closes #3437)
2018-09-15patch 8.1.0392: error while typing :/foo/s// with 'incsearch' enabledv8.1.0392Bram Moolenaar
Problem: Error while typing :/foo/s// with 'incsearch' enabled. Solution: Do not give search errors when highlighting matches.
2018-09-10patch 8.1.0362: cannot get the script line number when executing a functionv8.1.0362Bram Moolenaar
Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes #3362) Also display the line number with ":verbose set".
2018-09-09patch 8.1.0356: using :s with 'incsearch' prevents CTRL-R CTRL-Wv8.1.0356Bram Moolenaar
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 #3413)
2018-09-06patch 8.1.0351: 'incsearch' for :/foo/s//<Esc> changes last search patternv8.1.0351Bram Moolenaar
Problem: 'incsearch' for :/foo/s//<Esc> changes last search pattern. Solution: Save the last search pattern earlier.
2018-08-31patch 8.1.0339: wrong highlight when 'incsearch' set and cancelling :sv8.1.0339Bram Moolenaar
Problem: Wrong highlight when 'incsearch' set and cancelling :s. Solution: Reset search line range. (Hirohito Higashi, Masamichi Abe)
2018-08-23patch 8.1.0321: 'incsearch' regression: /\v highlights everythingv8.1.0321Bram Moolenaar
Problem: 'incsearch' regression: /\v highlights everything. Solution: Put back the empty_pattern() check.
2018-08-22patch 8.1.0320: too much 'incsearch' highlight for pat matching everythingv8.1.0320Bram Moolenaar
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.
2018-08-18patch 8.1.0296: command parsing for 'incsearch' is a bit uglyv8.1.0296Bram Moolenaar
Problem: Command parsing for 'incsearch' is a bit ugly. Solution: Return when there is no pattern. Put common checks together.
2018-08-18patch 8.1.0295: no 'incsearch' highlighting for :vimgrep and similarv8.1.0295Bram Moolenaar
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 #3344)
2018-08-18patch 8.1.0291: 'incsearch' highlighting not used for :sortv8.1.0291Bram Moolenaar
Problem: 'incsearch' highlighting not used for :sort. Solution: Handle pattern in :sort command.
2018-08-14patch 8.1.0287: MAX is not defined everywherev8.1.0287Bram Moolenaar
Problem: MAX is not defined everywhere. Solution: Define MAX where needed.
2018-08-14patch 8.1.0286: 'incsearch' does not apply to :smagic and :snomagicv8.1.0286Bram Moolenaar
Problem: 'incsearch' does not apply to :smagic and :snomagic. Solution: Add support. (Hirohito Higashi)
2018-08-14patch 8.1.0285: compiler warning for conversionv8.1.0285Bram Moolenaar
Problem: Compiler warning for conversion. Solution: Add a type cast. (Mike Williams)
2018-08-14patch 8.1.0284: 'cursorline' highlighting wrong with 'incsearch'v8.1.0284Bram Moolenaar
Problem: 'cursorline' highlighting wrong with 'incsearch'. Solution: Move the cursor back if the match is outside the range.
2018-08-14patch 8.1.0282: 'incsearch' does not work with command modifiersv8.1.0282Bram Moolenaar
Problem: 'incsearch' does not work with command modifiers. Solution: Skip command modifiers.
2018-08-13patch 8.1.0280: 'incsearch' highlighting does not work for ":g!/"v8.1.0280Bram Moolenaar
Problem: 'incsearch' highlighting does not work for ":g!/". Solution: Skip the exclamation mark. (Hirohito Higashi)
2018-08-13patch 8.1.0279: 'incsearch' highlighting does not skip white spacev8.1.0279Bram Moolenaar
Problem: 'incsearch' highlighting does not skip white space. Solution: Skip white space after the command. (issue #3321)
2018-08-12patch 8.1.0278: 'incsearch' highlighting does not accept reverse rangev8.1.0278Bram Moolenaar
Problem: 'incsearch' highlighting does not accept reverse range. Solution: Swap the range when needed. (issue #3321)
2018-08-12patch 8.1.0277: 'incsearch' highlighting wrong in a few casesv8.1.0277Bram Moolenaar
Problem: 'incsearch' highlighting wrong in a few cases. Solution: Fix using last search pattern. Restore highlighting when changing command. (issue #3321)
2018-08-12patch 8.1.0275: 'incsearch' with :s doesn't start at cursor linev8.1.0275Bram Moolenaar
Problem: 'incsearch' with :s doesn't start at cursor line. Solution: Set cursor before parsing address. (closes #3318) Also accept a match at the start of the first line.
2018-08-11patch 8.1.0274: 'incsearch' triggers on ":source"v8.1.0274Bram Moolenaar
Problem: 'incsearch' triggers on ":source". Solution: Check for the whole command name.
2018-08-11patch 8.1.0273: invalid memory access when using 'incsearch'v8.1.0273Bram Moolenaar
Problem: Invalid memory access when using 'incsearch'. Solution: Reset "patlen" when using previous search pattern.
2018-08-11patch 8.1.0271: 'incsearch' doesn't work for :s, :g or :vv8.1.0271Bram Moolenaar
Problem: 'incsearch' doesn't work for :s, :g or :v. Solution: Also use 'incsearch' for other commands that use a pattern.
2018-08-10patch 8.1.0265: the getcmdline() function is way too bigv8.1.0265Bram Moolenaar
Problem: The getcmdline() function is way too big. Solution: Factor out the incremental search highlighting.
2018-08-01patch 8.1.0233: "safe" argument of call_vim_function() is always FALSEv8.1.0233Bram Moolenaar
Problem: "safe" argument of call_vim_function() is always FALSE. Solution: Remove the argument.
2018-07-28patch 8.1.0223: completing shell command finds sub-directories in $PATHv8.1.0223Bram Moolenaar
Problem: Completing shell command finds sub-directories in $PATH. Solution: Remove EW_DIR when completing an item in $PATH. (Jason Franklin)
2018-06-12patch 8.1.0053: first argument of 'completefunc' has inconsistent typev8.1.0053Bram Moolenaar
Problem: The first argument given to 'completefunc' can be Number or String, depending on the value. Solution: Avoid guessing the type of an argument, use typval_T in the callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
2018-05-22patch 8.1.0017: shell command completion has duplicatesv8.1.0017Bram Moolenaar
Problem: Shell command completion has duplicates. (Yegappan Lakshmanan) Solution: Use a hash table to avoid duplicates. (Ozaki Kiichi, closes #539, closes #2733)
2018-05-13patch 8.0.1837: one character cmdline abbreviation not triggered after '<,'>v8.0.1837Bram Moolenaar
Problem: One character cmdline abbreviation not triggered after '<,'>. Solution: Skip over the special range. (Christian Brabandt, closes #2320)
2018-05-01patch 8.0.1787: cannot insert the whole cursor linev8.0.1787Bram Moolenaar
Problem: Cannot insert the whole cursor line. Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes #2857)
2018-04-28patch 8.0.1769: repeated saving and restoring viewstate for 'incsearch'v8.0.1769Bram Moolenaar
Problem: Repeated saving and restoring viewstate for 'incsearch'. Solution: Use a structure.
2018-04-27patch 8.0.1768: SET_NO_HLSEARCH() used in a wrong wayv8.0.1768Bram Moolenaar
Problem: SET_NO_HLSEARCH() used in a wrong way. Solution: Make it a function. (suggested by Dominique Pelle, closes #2850)
2018-04-27patch 8.0.1767: with 'incsearch' text may jump up and downv8.0.1767Bram Moolenaar
Problem: With 'incsearch' text may jump up and down. () Solution: Besides w_botline also save and restore w_empty_rows. (closes # 2530)
2018-04-07patch 8.0.1672: error during completion causes command to be cancelledv8.0.1672Bram Moolenaar
Problem: Error during completion causes command to be cancelled. Solution: Reset did_emsg before waiting for another character. (Tom M.)
2018-03-29patch 8.0.1649: no completion for argument list commandsv8.0.1649Bram Moolenaar
Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes #2706)
2018-03-04patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar
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-02-11patch 8.0.1502: in out-of-memory situation character is not restoredv8.0.1502Bram Moolenaar
Problem: In out-of-memory situation character is not restored. (Coverity) Solution: Restore the character in all situations.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-01-31patch 8.0.1445: cannot act on edits in the command linev8.0.1445Bram Moolenaar
Problem: Cannot act on edits in the command line. Solution: Add the CmdlineChanged autocommand event. (xtal8, closes #2603, closes #2524)