| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: The 'cmdheight' zero support causes too much trouble.
Solution: Revert support for 'cmdheight' being zero.
|
|
|
|
|
| |
Problem: Clearing screen causes flicker.
Solution: Do not clear but redraw in more cases. Add () to "wait_return".
|
|
|
|
|
|
| |
Problem: Cannot make difference between the end of :normal and a character
in its argument.
Solution: Add the "typebuf_was_empty" flag. (closes #10950)
|
|
|
|
|
| |
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
|
|
|
|
|
|
| |
Problem: The command line takes up space even when not used.
Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita,
closes #10675, closes #940)
|
|
|
|
|
| |
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
|
|
|
|
|
| |
Problem: Test file has wrong name.
Solution: Rename the file. Various small fixes. (closes #10674)
|
|
|
|
|
| |
Problem: Typos in comments, wrapping lines.
Solution: Adjust comments. Wrap lines.
|
|
|
|
|
| |
Problem: May access part of typeahead buf that isn't filled.
Solution: Check length of typeahead.
|
|
|
|
|
| |
Problem: Unnecessary code.
Solution: Remove code and replace with function call. (closes #10552)
|
|
|
|
|
| |
Problem: No test for what 8.1.0052 fixes.
Solution: Add a test. (closes #10531)
|
|
|
|
|
|
| |
Problem: input() does not handle composing characters properly.
Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
(closes #10527)
|
|
|
|
|
| |
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
|
|
|
|
|
|
| |
Problem: Local completion with mappings and simplification not working.
Solution: Fix local completion <C-N>/<C-P> mappings not ignored if keys are
not simplified. (closes #10323)
|
|
|
|
|
| |
Problem: Termcodes test fails.
Solution: use CTRL-SHIFT-V to insert an unsimplified key. (closes #10316)
|
|
|
|
|
| |
Problem: <C-S-I> is simplified to <S-Tab>.
Solution: Do not simplify CTRL if there is also SHIFT. (closes #10313)
|
|
|
|
|
|
| |
Problem: Modifiers not simplified when timed out or using feedkeys() with
'n" flag.
Solution: Adjust how mapped flag and timeout are used. (closes #10305)
|
|
|
|
|
| |
Problem: Failure of mapping not checked for.
Solution: Check return value of ins_typebuf(). (closes #10299)
|
|
|
|
|
| |
Problem: Passing zero instead of NULL to a pointer argument.
Solution: Use NULL. (closes #10296)
|
|
|
|
|
|
| |
Problem: A key may be simplified to NUL.
Solution: Use K_ZERO instead. Use macros instead of hard coded values.
(closes #10290)
|
|
|
|
|
| |
Problem: Error from setting an option is silently ignored.
Solution: Handle option value errors better. Fix uses of N_().
|
|
|
|
|
|
| |
Problem: When a recording is ended with a mapped key that key is also
recorded.
Solution: Remember the previous last_recorded_len. (closes #10122)
|
|
|
|
|
| |
Problem: Jump list marker disappears.
Solution: Reset reg_executing later. (closes #10111, closes #10100)
|
|
|
|
|
| |
Problem: No test for what 8.2.4691 fixes.
Solution: Add a test. Use a more generic sotlution. (closes #10090)
|
|
|
|
|
|
| |
Problem: Solution for <Cmd> in a mapping causes trouble.
Solution: Use another solution: put back CTRL-O after reading the <Cmd>
sequence.
|
|
|
|
|
|
|
| |
Problem: Using <Cmd> in a mapping does not work for mouse keys in Insert
mode. (Sergey Vlasov)
Solution: When reading the <Cmd> argument do not use the stuff buffer.
(closes #10080)
|
|
|
|
|
| |
Problem: Mapping with key code after other matching mapping does not work.
Solution: Change ">" to ">=". (closes #9903)
|
|
|
|
|
|
|
| |
Problem: When mapping <Esc> terminal codes are not recognized.
Solution: Specifically recognize a mapping with just <Esc> and check for
terminal codes even though there is no partial mapping.
(closes #9903)
|
|
|
|
|
|
|
| |
Problem: When there is a partially matching map and modifyOtherKeys is
active a full map may not work.
Solution: Only simplify modifiers when there is no matching mapping.
(closes #8792)
|
|
|
|
|
|
|
| |
Problem: In the GUI a modifier is not recognized for the key typed after
CTRL-X, which may result in a mapping to be used. (Daniel
Steinberg)
Solution: Recognize a modifier starting with CSI. (closes #9889)
|
|
|
|
|
| |
Problem: Using <Plug> with "noremap" does not work.
Solution: Always remap <Plug>. (closes #9879, closes #9789)
|
|
|
|
|
| |
Problem: getchar() may return modifiers if no character is available.
Solution: Do not process modifiers when there is no character. (closes #9806)
|
|
|
|
|
| |
Problem: Missing parenthesis may cause unexpected problems.
Solution: Add more parenthesis is macros. (closes #9788)
|
|
|
|
|
|
| |
Problem: MS-Windows: cannot use the mouse in the console with VIMDLL.
Solution: use add_char2buf() instead of fix_input_buffer(). (closes #9784,
closes #9769)
|
|
|
|
|
| |
Problem: UTF8 select mode test fails on MS-Windows.
Solution: Revert the #ifdef change.
|
|
|
|
|
| |
Problem: MS-Windows with VIMDLL: Escaping CSI is wrong.
Solution: Put back #ifdef. (Ken Takata, closes #9769)
|
|
|
|
|
|
| |
Problem: An error from an expression mapping messes up the display.
Solution: When the expression results in an empty string return K_IGNORE.
In cmdline mode redraw the command line. (closes #9726)
|
|
|
|
|
| |
Problem: Warnings reported by MSVC.
Solution: Rename variables and other fixes. (Ken Takata, closes #9689)
|
|
|
|
|
| |
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
|
|
|
|
|
| |
Problem: Accessing freed memory.
Solution: Set the bh_curr pointer to NULL.
|
|
|
|
|
| |
Problem: Invalid check for NULL pointer.
Solution: Remove the check.
|
|
|
|
|
|
| |
Problem: Crash when recording and using Select mode.
Solution: When deleting the last recorded character check there is something
to delete.
|
|
|
|
|
|
|
| |
Problem: Deleting any mapping may cause <ScritpCmd> to not set the script
context.
Solution: Only reset last_used_map if it is the deleted mapping.
(closes #9568)
|
|
|
|
|
|
| |
Problem: Script context not restored after using <ScriptCmd>.
Solution: Also restore context when not in a script. (closes #9536)
Add the 'c' flag to feedkeys() to be able to test this.
|
|
|
|
|
| |
Problem: Warning for unused argument in tiny version.
Solution: Add "UNUSED".
|
|
|
|
|
| |
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
|
|
|
|
|
|
| |
Problem: Vim9: an expression of a map cannot access script-local items.
(Maxim Kim)
Solution: Use the script ID of where the map was defined.
|
|
|
|
|
| |
Problem: First char typed in Select mode can be wrong.
Solution: Escape special bytes in the input buffer. (closes #9469)
|
|
|
|
|
|
| |
Problem: Insert complete code uses global variables.
Solution: Make variables local to the file and use accessor functions.
(Yegappan Lakshmanan, closes #9470)
|
|
|
|
|
|
|
| |
Problem: When recording a change in Select mode the first typed character
appears twice.
Solution: When putting the character back into typeahead remove it from
recorded characters. (closes #9462)
|