summaryrefslogtreecommitdiffstats
path: root/src/edit.c
AgeCommit message (Collapse)Author
2018-06-10patch 8.1.0040: warnings from 64-bit compilerv8.1.0040Bram Moolenaar
Problem: Warnings from 64-bit compiler. Solution: Add type casts. (Mike Williams)
2018-06-06patch 8.1.0036: not restoring Insert mode if leaving prompt buffer with mousev8.1.0036Bram Moolenaar
Problem: Not restoring Insert mode if leaving a prompt buffer by using a mouse click. Solution: Set b_prompt_insert appropriately. Also correct cursor position when moving cursor to last line.
2018-06-06patch 8.1.0035: not easy to switch between prompt buffer and other windowsv8.1.0035Bram Moolenaar
Problem: Not easy to switch between prompt buffer and other windows. Solution: Accept CTRL-W commands in Insert mode. Start and stop Insert mode as one would expect.
2018-06-03patch 8.1.0027: difficult to make a plugin that feeds a line to a jobv8.1.0027Bram Moolenaar
Problem: Difficult to make a plugin that feeds a line to a job. Solution: Add the nitial code for the "prompt" buftype.
2018-05-22patch 8.1.0020: cannot tell whether a register is executing or recordingv8.1.0020Bram Moolenaar
Problem: Cannot tell whether a register is being used for executing or recording. Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi, closes #2745) Rename the global variables for consistency. Store the register name in reg_executing.
2018-05-10patch 8.0.1809: various typosv8.0.1809Bram Moolenaar
Problem: Various typos. Solution: Correct the mistakes, change "cursur" to "cursor". (closes #2887)
2018-05-08patch 8.0.1806: InsertCharPre causes problems for autocompletev8.0.1806Bram Moolenaar
Problem: InsertCharPre causes problems for autocomplete. (Lifepillar) Solution: Check for InsertCharPre before calling vpeekc(). (Christian Brabandt, closes #2876)
2018-04-26patch 8.0.1766: expanding abbreviation doesn't workv8.0.1766Bram Moolenaar
Problem: Expanding abbreviation doesn't work. (Tooth Pik) Solution: Return OK instead of FALSE and FAIL instead of TRUE. (Christian Brabandt)
2018-04-24patch 8.0.1758: open_line() returns TRUE/FALSE for success/failurev8.0.1758Bram Moolenaar
Problem: open_line() returns TRUE/FALSE for success/failure. Solution: Return OK or FAIL.
2018-04-17patch 8.0.1731: characters deleted on completionv8.0.1731Bram Moolenaar
Problem: Characters deleted on completion. (Adrià Farrés) Solution: Also check the last item for the ORIGINAL_TEXT flag. (Christian Brabandt, closes #1645)
2018-03-06patch 8.0.1575: crash when using virtual replacev8.0.1575Bram Moolenaar
Problem: Crash when using virtual replace. Solution: Adjust orig_line_count. Add more tests. (Christian Brabandt)
2018-03-04patch 8.0.1566: too many #ifdefsv8.0.1566Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_SCROLLBIND and FEAT_CURSORBIND.
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-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-02-10patch 8.0.1494: no autocmd triggered in Insert mode with visible popup menuv8.0.1494Bram Moolenaar
Problem: No autocmd triggered in Insert mode with visible popup menu. Solution: Add TextChangedP. (Prabir Shrestha, Christian Brabandt, closes #2372, closes #1691) Fix that the TextChanged autocommands are not always triggered when sourcing a script.
2018-02-10patch 8.0.1493: completion items cannot be annotatedv8.0.1493Bram Moolenaar
Problem: Completion items cannot be annotated. Solution: Add a "user_data" entry to the completion item. (Ben Jackson, coses #2608, closes #2508)
2018-02-09patch 8.0.1482: using feedkeys() does not work to test completionv8.0.1482Bram Moolenaar
Problem: Using feedkeys() does not work to test Insert mode completion. (Lifepillar) Solution: Do not check for typed keys when executing :normal or feedkeys(). Fix thesaurus completion not working when 'complete' is empty.
2018-02-09patch 8.0.1481: clearing a pointer takes two linesv8.0.1481Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add vim_clear() to free and clear the pointer.
2018-02-09patch 8.0.1479: insert mode completion state is confusingv8.0.1479Bram Moolenaar
Problem: Insert mode completion state is confusing. Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
2018-01-31patch 8.0.1449: slow redrawing with DirectXv8.0.1449Bram Moolenaar
Problem: Slow redrawing with DirectX. Solution: Avoid calling gui_mch_flush() unnecessarily, especially when updating the cursor. (Ken Takata, closes #2560)
2017-11-28patch 8.0.1356: using simalt in a GUIEnter autocommand inserts charactersv8.0.1356Bram Moolenaar
Problem: Using simalt in a GUIEnter autocommand inserts strange characters. (Chih-Long Chang) Solution: Ignore K_NOP in Insert mode. (closes #2379)
2017-11-25patch 8.0.1338: USE_IM_CONTROL is confusing and incompletev8.0.1338Bram Moolenaar
Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
2017-11-18patch 8.0.1309: cannot use 'balloonexpr' in a terminalv8.0.1309Bram Moolenaar
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-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-10-24patch 8.0.1215: newer gcc warns for implicit fallthroughv8.0.1215Bram Moolenaar
Problem: Newer gcc warns for implicit fallthrough. Solution: Consistently use a FALLTHROUGH comment. (Christian Brabandt)
2017-09-26patch 8.0.1154: 'indentkeys' does not work properlyv8.0.1154Bram Moolenaar
Problem: 'indentkeys' does not work properly. (Gary Johnson) Solution: Get the cursor line again. (Christian Brabandt, closes #2151)
2017-09-22patch 8.0.1136: W_WIDTH() is always the samev8.0.1136Bram Moolenaar
Problem: W_WIDTH() is always the same. Solution: Expand the macro.
2017-09-22patch 8.0.1135: W_WINCOL() is always the samev8.0.1135Bram Moolenaar
Problem: W_WINCOL() is always the same. Solution: Expand the macro.
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
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-02patch 8.0.1041: bogus characters when indenting during visual-block appendv8.0.1041Bram Moolenaar
Problem: Bogus characters appear when indenting kicks in while doing a visual-block append. Solution: Recompute when indenting is done. (Christian Brabandt)
2017-08-30patch 8.0.1026: GTK on-the-spot input has problemsv8.0.1026Bram Moolenaar
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth) Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes #1215)
2017-08-16patch 8.0.0948: crash if timer closes window while dragging status linev8.0.0948Bram Moolenaar
Problem: Crash if timer closes window while dragging status line. Solution: Check if the window still exists. (Yasuhiro Matsumoto, closes #1979)
2017-06-29patch 8.0.0691: compiler warning without the linebreak featurev8.0.0691Bram Moolenaar
Problem: Compiler warning without the linebreak feature. Solution: Add #ifdef. (John Marriott)
2017-06-24patch 8.0.0669: CTRL-N at start of the buffer does not work correctlyv8.0.0669Bram Moolenaar
Problem: In Insert mode, CTRL-N at start of the buffer does not work correctly. (zuloloxi) Solution: Wrap around the start of the buffer. (Christian Brabandt)
2017-06-17patch 8.0.0643: when a pattern search is slow Vim becomes unusablev8.0.0643Bram 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-05-01patch 8.0.0596: crash when complete() called after complete_add()v8.0.0596Bram Moolenaar
Problem: Crash when complete() is called after complete_add() in 'completefunc'. (Lifepillar) Solution: Bail out if compl_pattern is NULL. (closes #1668) Also avoid using freed memory.
2017-04-07patch 8.0.0544: cppcheck warningsv8.0.0544Bram Moolenaar
Problem: Cppcheck warnings. Solution: Use temp variable. Change NUL to NULL. Swap conditions. (Dominique Pelle)
2017-04-03patch 8.0.0541: compiler warning on MS-Windowsv8.0.0541Bram Moolenaar
Problem: Compiler warning on MS-Windows. Solution: Add a type cast. (Mike Williams)
2017-04-01patch 8.0.0533: abbreviation doesn't work after backspacing newlinev8.0.0533Bram Moolenaar
Problem: Abbreviation doesn't work after backspacing newline. (Hkonrk) Solution: Set the insert start column. (closes #1609)
2017-03-31patch 8.0.0530: buffer overflow when 'columns' is very bigv8.0.0530Bram Moolenaar
Problem: Buffer overflow when 'columns' is very big. (Nikolai Pavlov) Solution: Correctly compute where to truncate. Fix translation. (closes #1600)
2017-03-16patch 8.0.0466: still macros that should be all-capsv8.0.0466Bram 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 casev8.0.0452Bram 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 casev8.0.0451Bram 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 casev8.0.0448Bram Moolenaar
Problem: Some macros are in lower case, which can be confusing. Solution: Make a few lower case macros upper case.
2017-03-09patch 8.0.0440: not enough test coverage in Insert modev8.0.0440Bram Moolenaar
Problem: Not enough test coverage in Insert mode. Solution: Add lots of tests. Add test_override(). (Christian Brabandt, closes #1521)
2017-03-05patch 8.0.0425: build errors when building without foldingv8.0.0425Bram Moolenaar
Problem: Build errors when building without folding. Solution: Add #ifdefs. (John Marriott)
2017-03-01patch 8.0.0390: when the window scrolls the popup menu may be garbledv8.0.0390Bram Moolenaar
Problem: When the window scrolls horizontally when the popup menu is displayed part of it may not be cleared. (Neovim issue #6184) Solution: Remove the menu when the windows scrolled. (closes #1524)
2017-02-26patch 8.0.0379: CTRL-Z and mouse click use CTRL-O unnecessaryv8.0.0379Bram Moolenaar
Problem: CTRL-Z and mouse click use CTRL-O unnecessary. Solution: Remove stuffing CTRL-O. (James McCoy, closes #1453)
2017-02-25patch 8.0.0365: might free a dict item that wasn't allocatedv8.0.0365Bram Moolenaar
Problem: Might free a dict item that wasn't allocated. Solution: Call dictitem_free(). (Nikolai Pavlov) Use this for b:changedtick.
2017-02-23patch 8.0.0358: invalid memory access in C-indent codev8.0.0358Bram Moolenaar
Problem: Invalid memory access in C-indent code. Solution: Don't go over end of empty line. (Dominique Pelle, closes #1492)