summaryrefslogtreecommitdiff
path: root/src/edit.c
Commit message (Collapse)AuthorAgeFilesLines
* updated for version 7.3.585v7.3.585Bram Moolenaar2012-07-061-3/+1
| | | | | Problem: Calling changed_bytes() too often. Solution: Move changed_bytes() out of a loop. (Tor Perkins)
* updated for version 7.3.576v7.3.576Bram Moolenaar2012-06-291-6/+31
| | | | | Problem: Formatting of lists inside comments is not right yet. Solution: Use another solution and add a test. (Tor Perkins)
* updated for version 7.3.566v7.3.566Bram Moolenaar2012-06-201-3/+5
| | | | | | Problem: Redo after completion does not work correctly when refresh: always is not used. (Raymond Ko) Solution: Check the compl_opt_refresh_always flag. (Christian Brabandt)
* updated for version 7.3.561v7.3.561Bram Moolenaar2012-06-201-0/+4
| | | | | | Problem: Using refresh: always in a complete function breaks the "." command. (Val Markovic) Solution: Add match leader to the redo buffer. (Yasuhiro Matsumoto)
* updated for version 7.3.552v7.3.552Bram Moolenaar2012-06-131-10/+36
| | | | | | Problem: Formatting inside comments does not use the "2" flag in 'formatoptions'. Solution: Support the "2" flag. (Tor Perkins)
* updated for version 7.3.541v7.3.541Bram Moolenaar2012-06-061-5/+5
| | | | | Problem: When joining lines comment leaders need to be removed manually. Solution: Add the 'j' flag to 'formatoptions'. (Lech Lorens)
* updated for version 7.3.535v7.3.535Bram Moolenaar2012-06-011-14/+2
| | | | | | Problem: Many #ifdefs for MB_MAXBYTES. Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix places where the buffer didn't include space for a NUL byte.
* updated for version 7.3.534v7.3.534Bram Moolenaar2012-06-011-7/+25
| | | | | Problem: When using an InsertCharPre autocommand autoindent fails. Solution: Proper handling of v:char. (Alexey Radkov)
* updated for version 7.3.519v7.3.519Bram Moolenaar2012-05-181-1/+9
| | | | | | Problem: When completefunction returns it cannot indicate end of completion mode. Solution: Recognize completefunction returning -3. (Mtsushita Shougo)
* updated for version 7.3.513v7.3.513Bram Moolenaar2012-04-301-2/+1
| | | | | | Problem: Cannot use CTRL-E and CTRL-Y with "r". Solution: Make CTRL-E and CTRL-Y work like in Insert mode. (Christian Brabandt)
* updated for version 7.3.489v7.3.489Bram Moolenaar2012-04-051-2/+5
| | | | | | Problem: CTRL-] in Insert mode does not expand abbreviation when used in a mapping. (Yichao Zhou) Solution: Special case using CTRL-]. (Christian Brabandt)
* updated for version 7.3.461v7.3.461Bram Moolenaar2012-02-291-22/+75
| | | | | | | Problem: The InsertCharPre autocommand event is not triggered during completion and when typing several characters quickly. Solution: Also trigger InsertCharPre during completion. Do not read ahead when an InsertCharPre autocommand is defined. (Yasuhiro Matsumoto)
* updated for version 7.3.426v7.3.426Bram Moolenaar2012-02-041-4/+4
| | | | | | | Problem: With '$' in 'cpoptions' the $ is not displayed in the first column. Solution: Use -1 instead of 0 as a special value. (Hideki Eiraku and Hirohito Higashi)
* updated for version 7.3.418v7.3.418Bram Moolenaar2012-01-261-0/+5
| | | | | | Problem: When a user complete function returns -1 an error message is given. Solution: When -2 is returned stop completion silently. (Yasuhiro Matsumoto)
* updated for version 7.3.404v7.3.404Bram Moolenaar2012-01-201-4/+15
| | | | | | | Problem: When a complete function uses refresh "always" redo will not work properly. Solution: Do not reset compl_leader when compl_opt_refresh_always is set. (Yasuhiro Matsumoto)
* updated for version 7.3.400v7.3.400Bram Moolenaar2012-01-101-8/+8
| | | | | Problem: Compiler warnings for shadowed variables. Solution: Remove or rename the variables.
* updated for version 7.3.384v7.3.384Bram Moolenaar2011-12-231-1/+1
| | | | | | Problem: Mapping CTRL-K in Insert mode breaks CTRL-X CTRL-K for dictionary completion. Solution: Add CTRL-K to the list of recognized keys. (James McCoy)
* updated for version 7.3.351v7.3.351Bram Moolenaar2011-10-261-0/+1
| | | | | | Problem: Text formatting uses start of insert position when it should not. (Peter Wagenaar) Solution: Do not use Insstart when intentionally formatting.
* updated for version 7.3.319v7.3.319Bram Moolenaar2011-09-211-21/+45
| | | | | Problem: Redobuff doesn't always include changes of the completion leader. Solution: Insert backspaces as needed. (idea by Taro Muraoka)
* updated for version 7.3.311v7.3.311Bram Moolenaar2011-09-141-5/+81
| | | | | | | Problem: Complete function isn't called when the leader changed. Solution: Allow the complete function to return a dictionary with a flag that indicates ins_compl_restart() is to be called when the leader changes. (Taro Muraoka)
* updated for version 7.3.294v7.3.294Bram Moolenaar2011-09-051-9/+0
| | | | | Problem: Patch 289 causes more problems than it solves. Solution: Rever the patch untill a better solution is found.
* updated for version 7.3.289v7.3.289Bram Moolenaar2011-08-281-0/+9
| | | | | Problem: Complete function isn't called when the leader changed. Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)
* updated for version 7.3.196v7.3.196Bram Moolenaar2011-05-191-6/+37
| | | | | Problem: Can't intercept a character that is going to be inserted. Solution: Add the InsertCharPre autocommand event. (Jakson A. Aquino)
* updated for version 7.3.181v7.3.181Bram Moolenaar2011-05-101-9/+20
| | | | | | Problem: When repeating the insert of CTRL-V or a digraph the display may not be updated correctly. Solution: Only call edit_unputchar() after edit_putchar(). (Lech Lorens)
* updated for version 7.3.053v7.3.053Bram Moolenaar2010-11-101-1/+5
| | | | | | | Problem: complete() function doesn't reset complete direction. Can't use an empty string in the list of matches. Solution: Set compl_direction to FORWARD. Add "empty" key to allow empty words. (Kikuchan)
* updated for version 7.3.052v7.3.052Bram Moolenaar2010-11-101-4/+39
| | | | | | | Problem: When 'completefunc' opens a new window all kinds of errors follow. (Xavier Deguillard) Solution: When 'completefunc' goes to another window or buffer and when it deletes text abort completion. Add a test for 'completefunc'.
* Remove unused code.Bram Moolenaar2010-08-081-36/+0
|
* Changes for VMS. Mostly by Zoltan Arpadffy.Bram Moolenaar2010-07-281-1/+1
|
* Add support for horizontal scroll wheel. (Bjorn Winckler)Bram Moolenaar2010-07-251-10/+36
|
* Add the 'concealcursor' option to decide when the cursor line is to beBram Moolenaar2010-07-231-7/+17
| | | | | concealed or not. Rename 'conc' to 'cole' as the short name for 'conceallevel'.
* Rename w_p_conceal to w_p_conc for consistency.Bram Moolenaar2010-07-191-2/+2
|
* Fix: When entering a digraph or special character after a line that fits theBram Moolenaar2010-07-141-1/+7
| | | | window the '?' or '^' on the next line is not redrawn. (Ian Kelling)
* Improve Javascript indenting. Add "J" flag to 'cino'. (Hari Kumar G)Bram Moolenaar2010-07-111-2/+3
|
* Make joining a range of lines much faster. (Milan Vancura)Bram Moolenaar2010-07-101-4/+2
|
* Make updating text for conceal mode simpler. A few compiler warning fixes.Bram Moolenaar2010-07-021-30/+42
|
* Add the conceal patch from Vince Negri.Bram Moolenaar2010-06-051-3/+31
|
* updated for version 7.2.439Bram Moolenaar2010-05-281-3/+9
| | | | | | | Problem: Invalid memory access when doing thesaurus completion and 'infercase' is set. Solution: Use the minimal length of completed word and replacement. (Dominique Pelle)
* Add :nbstart and :nbclose.Bram Moolenaar2010-05-221-2/+2
|
* Included the patch to support netbeans in a terminal.Bram Moolenaar2010-05-221-2/+1
|
* Add 'relativenumber' patch from Markus Heidelberg.Bram Moolenaar2010-05-161-1/+1
|
* updated for version 7.2.390v7.2.390Bram Moolenaar2010-03-101-0/+8
| | | | | Problem: In some situations the popup menu can be displayed wrong. Solution: Remove the popup menu if the cursor moved. (Lech Lorens)
* updated for version 7.2.333v7.2.333Bram Moolenaar2010-01-191-5/+2
| | | | | Problem: Warnings from static code analysis. Solution: Small changes to various lines. (Dominique Pelle)
* updated for version 7.2-322v7.2.322Bram Moolenaar2009-12-241-0/+4
|
* updated for version 7.2-301v7.2.301Bram Moolenaar2009-11-171-32/+76
|
* updated for version 7.2-285v7.2.285Bram Moolenaar2009-11-111-1/+1
|
* updated for version 7.2-224v7.2.224Bram Moolenaar2009-07-091-1/+8
|
* updated for version 7.2-189v7.2.189Bram Moolenaar2009-05-261-3/+8
|
* updated for version 7.2-176v7.2.176Bram Moolenaar2009-05-161-8/+0
|
* updated for version 7.2-174v7.2.174Bram Moolenaar2009-05-151-1/+4
|
* updated for version 7.2-173v7.2.173Bram Moolenaar2009-05-141-4/+2
|