summaryrefslogtreecommitdiffstats
path: root/src/edit.c
AgeCommit message (Collapse)Author
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-05patch 8.2.4876: MS-Windows: Shift-BS results in strange char in powershellv8.2.4876Christian Brabandt
Problem: MS-Windows: Shift-BS results in strange character in powershell. Solution: Add K_S_BS. (Christian Brabandt, closes #10283, closes #10279)
2022-05-04patch 8.2.4865: :startinsert right after :stopinsert may not workv8.2.4865zeertzjq
Problem: :startinsert right after :stopinsert does not work when popup menu is still visible. Solution: Use ins_compl_active() instead of pum_visible(). (closes #10352)
2022-04-29patch 8.2.4846: termcodes test failsv8.2.4846zeertzjq
Problem: Termcodes test fails. Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
2022-04-15patch 8.2.4753: error from setting an option is silently ignoredv8.2.4753Bram Moolenaar
Problem: Error from setting an option is silently ignored. Solution: Handle option value errors better. Fix uses of N_().
2022-04-12patch 8.2.4739: accessing freed memory after WinScrolled autocmd eventv8.2.4739zeertzjq
Problem: Accessing freed memory after WinScrolled autocmd event. Solution: Check the window pointer is still valid. (closes #10156) Remove the argument from may_trigger_winscrolled().
2022-04-09patch 8.2.4723: the ModeChanged autocmd event is inefficientv8.2.4723LemonBoy
Problem: The ModeChanged autocmd event is inefficient. Solution: Avoid allocating memory. (closes #10134) Rename trigger_modechanged() to may_trigger_modechanged().
2022-04-08patch 8.2.4713: plugins cannot track text scrollingv8.2.4713LemonBoy
Problem: Plugins cannot track text scrolling. Solution: Add the WinScrolled event. (closes #10102)
2022-04-07patch 8.2.4710: smart indenting does not work after completionv8.2.4710Christian Brabandt
Problem: Smart indenting does not work after completion. Solution: Set "can_si". (Christian Brabandt, closes #10113, closes #558)
2022-04-07patch 8.2.4707: redrawing could be a bit more efficientv8.2.4707zeertzjq
Problem: Redrawing could be a bit more efficient. Solution: Optimize redrawing. (closes #10105)
2022-04-01patch 8.2.4660: cursorcolumn is sometimes not correctv8.2.4660Bram Moolenaar
Problem: Cursorcolumn is sometimes not correct. Solution: Recompute the cursor column when entering Insert mode and the cursor is on a character wider than a screen cell.
2022-03-27patch 8.2.4638: superfluous check if a redraw is needed for 'cursorline'v8.2.4639v8.2.4638zeertzjq
Problem: Superfluous check if a redraw is needed for 'cursorline'. Solution: Remove check_redraw_cursorline(). (closes #10030, closes #10029)
2022-03-26patch 8.2.4630: 'cursorline' not always updated with 'culopt' is "screenline"v8.2.4630Bram Moolenaar
Problem: 'cursorline' not always updated with 'cursorlineopt' is "screenline". Solution: Call check_redraw_cursorline() more often. (closes #10013)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-28patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
2022-01-25patch 8.2.4218: illegal memory access with bracketed paste in Ex modev8.2.4218Bram Moolenaar
Problem: Illegal memory access with bracketed paste in Ex mode. Solution: Reserve space for the trailing NUL.
2022-01-24patch 8.2.4203: entering a character with CTRL-V may include modifiersv8.2.4203zeertzjq
Problem: Entering a character with CTRL-V may include modifiers. Solution: Reset "mod_mask" when entering a character with digits after CTRL-V. (closes #9610)
2022-01-15patch 8.2.4099: Vim9: cannot use Vim9 syntax in mappingv8.2.4099Bram Moolenaar
Problem: Vim9: cannot use Vim9 syntax in mapping. Solution: Add <ScriptCmd> to use the script context for a command.
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
2022-01-04patch 8.2.4001: insert complete code uses global variablesv8.2.4001Yegappan Lakshmanan
Problem: Insert complete code uses global variables. Solution: Make variables local to the file and use accessor functions. (Yegappan Lakshmanan, closes #9470)
2022-01-01patch 8.2.3970: error messages are spread outv8.2.3970Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-29patch 8.2.3935: CTRL-U in Insert mode does not fix the indentv8.2.3935Bram Moolenaar
Problem: CTRL-U in Insert mode does not fix the indent. Solution: Fix the indent when 'cindent' is set.
2021-12-27patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
2021-12-16patch 8.2.3828: when opening a terminal from a timer first typed char is lostv8.2.3828Bram Moolenaar
Problem: when opening a terminal from a timer the first typed character is lost. (Virginia Senioria) Solution: When opening a terminal while waiting for a character put K_IGNORE in the input buffer.
2021-12-12patch 8.2.3787: no proper formatting of a C line comment after a statementv8.2.3787Bram Moolenaar
Problem: No proper formatting of a C line comment after a statement. Solution: Find the start of the line comment, insert the comment leader and indent the comment properly.
2021-12-09patch 8.2.3764: cannot see any text when window was made zero linesv8.2.3764Bram Moolenaar
Problem: Cannot see any text when window was made zero lines or zero columns. Solution: Ensure there is at least one line and column. (fixes #9307)
2021-10-16patch 8.2.3517: TextChanged does not trigger after TextChangedIv8.2.3517Christian Brabandt
Problem: TextChanged does not trigger after TextChangedI. Solution: Store the tick separately for TextChangedI. (Christian Brabandt, closes #8968, closes #8932)
2021-10-03patch 8.2.3467: CursorHoldI event interferes with "CTRL-G U"v8.2.3467Bram Moolenaar
Problem: CursorHoldI event interferes with "CTRL-G U". (Naohiro Ono) Solution: Restore the flag for "CTRL-G U" after triggering CursorHoldI. (closes #8937)
2021-09-16patch 8.2.3444: concealed text not revealed when leaving insert modev8.2.3444Bram Moolenaar
Problem: concealed text not revealed when leaving insert mode. (Michael Soyka) Solution: Check if concealing changed when leaving insert mode. (closes #8880)
2021-09-12patch 8.2.3430: no generic way to trigger an autocommand on mode changev8.2.3430=?UTF-8?q?Magnus=20Gro=C3=9F?=
Problem: No generic way to trigger an autocommand on mode change. Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes #8856)
2021-08-09patch 8.2.3320: some local functions are not staticv8.2.3320Yegappan Lakshmanan
Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
2021-07-26patch 8.2.3227: 'virtualedit' can only be set globallyv8.2.3227Gary Johnson
Problem: 'virtualedit' can only be set globally. Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638)
2021-07-26patch 8.2.3226: new digraph functions use old naming schemev8.2.3226h-east
Problem: New digraph functions use old naming scheme. Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
2021-07-21patch 8.2.3197: error messages are spread outv8.2.3197Bram Moolenaar
Problem: Error messages are spread out. Solution: Move a few more error messages to errors.h.
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-06-29patch 8.2.3074: popup_atcursor() uses wrong position with concealingv8.2.3074Bram Moolenaar
Problem: popup_atcursor() uses wrong position with concealing. Solution: Keep w_wcol in conceal_check_cursor_line(). (closes #8476)
2021-01-28patch 8.2.2418: color not changed if ModeMsg highlight is set in InsertEnterv8.2.2418Bram Moolenaar
Problem: Color not changed if ModeMsg highlight is set in InsertEnter autocmd event. (Paul Swanson) Solution: Call highlight_changed() after triggering InsertEnter. (closes #7751)
2021-01-17patch 8.2.2374: accessing uninitialized memory in test_undov8.2.2374Bram Moolenaar
Problem: Accessing uninitialized memory in test_undo. Solution: Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé, closes #7697)
2020-12-03patch 8.2.2084: CTRL-V U doesn't work to enter a Unicode characterv8.2.2084Bram Moolenaar
Problem: CTRL-V U doesn't work to enter a Unicode character when modifyOtherKeys is effective. (Ken Takata) Solution: Add a flag to get_literal() for the shift key. (closes #7413)
2020-11-14patch 8.2.1988: still in Insert mode when opening terminal popupv8.2.1988Bram Moolenaar
Problem: Still in Insert mode when opening terminal popup with a <Cmd> mapping in Insert mode. Solution: Exit Insert mode. (closes #7295)
2020-11-12patch 8.2.1978: making a mapping work in all modes is complicatedv8.2.1978Bram Moolenaar
Problem: Making a mapping work in all modes is complicated. Solution: Add the <Cmd> special key. (Yegappan Lakshmanan, closes #7282, closes 4784, based on patch by Bjorn Linse)
2020-11-11patch 8.2.1976: cannot backspace in prompt buffer after using cursor-leftv8.2.1976Bram Moolenaar
Problem: Cannot backspace in prompt buffer after using cursor-left. (Maxim Kim) Solution: Ignore "arrow_used" in a prompt buffer. (closes #7281)
2020-10-24patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar
Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
2020-10-21patch 8.2.1874: can't do something just before leaving Insert modev8.2.1874Bram Moolenaar
Problem: Can't do something just before leaving Insert mode. Solution: Add the InsertLeavePre autocommand event. (closes #7177)
2020-09-27patch 8.2.1762: when a timer uses :stopinsert completion isn't stoppedv8.2.1762Bram Moolenaar
Problem: When a timer uses :stopinsert Insert mode completion isn't stopped. (Stanley Chan) Solution: Call ins_compl_prep(ESC).
2020-09-08patch 8.2.1637: Vim9: :put ={expr} does not work inside :def functionv8.2.1637Bram Moolenaar
Problem: Vim9: :put ={expr} does not work inside :def function. Solution: Add ISN_PUT. (closes #6397)
2020-09-05patch 8.2.1597: the channel source file is too bigv8.2.1597Bram Moolenaar
Problem: The channel source file is too big. Solution: Move job related code to a new source file.
2020-09-05patch 8.2.1595: cannot easily see what Vim sends to the terminalv8.2.1595Bram Moolenaar
Problem: Cannot easily see what Vim sends to the terminal. Solution: Write output to the channel log if it contains terminal control sequences. Avoid warnings for tputs() argument.
2020-09-04patch 8.2.1588: cannot read back the prompt of a prompt bufferv8.2.1588Bram Moolenaar
Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes #6851)
2020-06-06patch 8.2.0916: mapping with partly modifyOtherKeys code does not workv8.2.0916Bram Moolenaar
Problem: Mapping with partly modifyOtherKeys code does not work. Solution: If there is no mapping with a separate modifier include the modifier in the key and then try mapping again. (closes #6200)