summaryrefslogtreecommitdiffstats
path: root/src/edit.c
AgeCommit message (Collapse)Author
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)
2020-05-01patch 8.2.0674: some source files are too bigv8.2.0674Bram Moolenaar
Problem: Some source files are too big. Solution: Move text formatting functions to a new file. (Yegappan Lakshmanan, closes #6021)
2020-04-30patch 8.2.0670: cannot change window when evaluating 'completefunc'v8.2.0670Bram Moolenaar
Problem: Cannot change window when evaluating 'completefunc'. Solution: Make a difference between not changing text or buffers and also not changing window.
2020-04-27patch 8.2.0649: undo problem whn an InsertLeave autocommand resets undov8.2.0649Bram Moolenaar
Problem: Undo problem whn an InsertLeave autocommand resets undo. (Kutsan Kaplan) Solution: Do not create a new undo block when leaving Insert mode.
2020-04-21patch 8.2.0614: get ml_get error when deleting a line in 'completefunc'v8.2.0614Bram Moolenaar
Problem: Get ml_get error when deleting a line in 'completefunc'. (Yegappan Lakshmanan) Solution: Lock the text while evaluating 'completefunc'.
2020-04-17patch 8.2.0590: no 'backspace' value allows ignoring the insertion pointv8.2.0590Bram Moolenaar
Problem: No 'backspace' value allows ignoring the insertion point. Solution: Add the "nostop" and 3 values. (Christian Brabandt, closes #5940)
2020-03-11patch 8.2.0370: the typebuf_was_filled flag is sometimes not resetv8.2.0370Bram Moolenaar
Problem: The typebuf_was_filled flag is sometimes not reset, which may cause a hang. Solution: Make sure typebuf_was_filled is reset when the typeahead buffer is empty.
2020-01-20patch 8.2.0135: bracketed paste can still cause invalid memory accessv8.2.0135Bram Moolenaar
Problem: Bracketed paste can still cause invalid memory access. (Dominique Pelle) Solution: Check for NULL pointer.
2020-01-20patch 8.2.0133: invalid memory access with search commandv8.2.0133Bram Moolenaar
Problem: Invalid memory access with search command. Solution: When :normal runs out of characters in bracketed paste mode break out of the loop.(closes #5511)
2020-01-09patch 8.2.0109: corrupted text properties when expanding spacesv8.2.0109Bram Moolenaar
Problem: Corrupted text properties when expanding spaces. Solution: Reallocate the line. (Nobuhiro Takasaki, closes #5457)
2020-01-03patch 8.2.0083: text properties wrong when tabs and spaces are exchangedv8.2.0083Bram Moolenaar
Problem: Text properties wrong when tabs and spaces are exchanged. Solution: Take text properties into account. (Nobuhiro Takasaki, closes #5427)
2019-12-01patch 8.1.2378: using old C style commentsv8.1.2378Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-11-30patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar
Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
2019-11-26patch 8.1.2350: other text for CTRL-V in Insert mode with modifyOtherKeysv8.1.2350Bram Moolenaar
Problem: Other text for CTRL-V in Insert mode with modifyOtherKeys. Solution: Convert the Escape sequence back to key as if modifyOtherKeys is not set, and use CTRL-SHIFT-V to get the Escape sequence itself. (closes #5254)
2019-11-26patch 8.1.2346: CTRL-R CTRL-R doesn't work with modifyOtherKeysv8.1.2346Bram Moolenaar
Problem: CTRL-R CTRL-R doesn't work with modifyOtherKeys. Solution: Allow key codes when fetching argument for CTRL-R. (closes #5266) Also fix CTRL-G in Insert mode.
2019-11-21patch 8.1.2327: cannot build with Hangul inputv8.1.2327Bram Moolenaar
Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
2019-11-09patch 8.1.2281: 'showbreak' cannot be set for one windowv8.1.2281Bram Moolenaar
Problem: 'showbreak' cannot be set for one window. Solution: Make 'showbreak' global-local.
2019-11-06patch 8.1.2261: with modifyOtherKeys set 'noesckeys' doesn't workv8.1.2261Bram Moolenaar
Problem: With modifyOtherKeys set 'noesckeys' doesn't work. (James McCoy) Solution: Disable modifyOtherKeys while in Insert mode when 'noesckeys' is set. (closes #5180)
2019-10-17patch 8.1.2171: mouse support not always availablev8.1.2171Bram Moolenaar
Problem: Mouse support not always available. Solution: Enable mouse support also in tiny version. Do not define FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-09patch 8.1.2127: the indent.c file is a bit bigv8.1.2127Bram Moolenaar
Problem: The indent.c file is a bit big. Solution: Move C-indent code a a new cindent.c file. Move other indent-related code to indent.c. (Yegappan Lakshmanan, closes #5031)
2019-09-28patch 8.1.2096: too many #ifdefsv8.1.2096Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_COMMENTS.
2019-09-21patch 8.1.2062: the mouse code is spread outv8.1.2062Bram Moolenaar
Problem: The mouse code is spread out. Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan, closes #4959)
2019-09-15patch 8.1.2044: no easy way to process postponed workv8.1.2044Bram Moolenaar
Problem: No easy way to process postponed work. (Paul Jolly) Solution: Add the SafeState autocommand event.
2019-08-21patch 8.1.1901: the +insert_expand feature is not always availablev8.1.1901Bram Moolenaar
Problem: The +insert_expand feature is not always available. Solution: Graduate the +insert_expand feature.
2019-08-18patch 8.1.1884: cannot use mouse scroll wheel in popup in Insert modev8.1.1884Bram Moolenaar
Problem: Cannot use mouse scroll wheel in popup in Insert mode. Mouse clicks in popup close the popup menu. Solution: Check if the mouse is in a popup window. Do not let mouse events close the popup menu. (closes #4544)
2019-06-12patch 8.1.1520: popup windows are ignored when dealing with mouse positionv8.1.1520Bram Moolenaar
Problem: Popup windows are ignored when dealing with mouse position Solution: Find the mouse position inside a popup window. Allow for modeless selection.
2019-06-02patch 8.1.1453: popup window "moved" property not implemented yetv8.1.1453Bram Moolenaar
Problem: Popup window "moved" property not implemented yet. Solution: Implement it.