zeertzjq
d809c0a903
patch 9.0.1792: problem with gj/gk/gM and virtual text
...
Problem: Normal mode "gM", "gj", "gk" commands behave incorrectly with
virtual text.
Solution: Use linetabsize() instead of linetabsize_str().
closes : #12909
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
2023-08-27 11:17:39 +02:00
Bram Moolenaar
5145c9a829
patch 9.0.1400: find_file_in_path() is not reentrant
...
Problem: find_file_in_path() is not reentrant.
Solution: Instead of global variables pass pointers to the functions.
(closes #12093 )
2023-03-11 13:55:53 +00:00
Bram Moolenaar
5fb78c3fa5
patch 9.0.1380: CTRL-X on 2**64 subtracts two
...
Problem: CTRL-X on 2**64 subtracts two. (James McCoy)
Solution: Correct computation for large number. (closes #12103 )
2023-03-04 20:47:39 +00:00
Bram Moolenaar
aab2ead008
patch 9.0.1302: on a Belgian keyboard CTRL-] does not work
...
Problem: On a Belgian keyboard CTRL-] does not work.
Solution: Translate CTRL-$ into CTRL-]. (closes #11831 )
2023-02-11 16:15:50 +00:00
Bram Moolenaar
584b853ee0
patch 9.0.1199: crash when using kitty and using a mapping with <Esc>
...
Problem: Crash when using kitty and using a mapping with <Esc>.
Solution: Do not try setting did_simplify when it is NULL. (closes #11817 )
2023-01-14 21:07:07 +00:00
Yegappan Lakshmanan
e857598896
patch 9.0.1196: code is indented more than necessary
...
Problem: Code is indented more than necessary.
Solution: Use an early return where it makes sense. (Yegappan Lakshmanan,
closes #11813 )
2023-01-14 12:32:28 +00:00
Bram Moolenaar
32030a9f3b
patch 9.0.1193: cannot map <Esc> when using the Kitty key protocol
...
Problem: Cannot map <Esc> when using the Kitty key protocol.
Solution: Add a non-simplified mapping for K_ESC. (closes #11811 )
2023-01-13 18:46:57 +00:00
Bram Moolenaar
c896adbcde
patch 9.0.0912: libvterm with modifyOtherKeys level 2 does not match xterm
...
Problem: libvterm with modifyOtherKeys level 2 does not match xterm.
Solution: Adjust key code escape sequences to be the same as what xterm
sends in modifyOtherKeys level 2 mode. Check the value of
no_reduce_keys before using it.
2022-11-19 19:02:40 +00:00
Bram Moolenaar
0c34d56264
patch 9.0.0901: setting w_leftcol and handling side effects is confusing
...
Problem: Setting w_leftcol and handling side effects is confusing.
Solution: Use a function to set w_leftcol() and handle side effects.
2022-11-18 14:07:20 +00:00
Bram Moolenaar
24dc19cdb2
patch 9.0.0881: cannot get the currently showing mouse shape
...
Problem: Cannot get the currently showing mouse shape.
Solution: Add getmouseshape().
2022-11-14 19:49:15 +00:00
Bram Moolenaar
c9121f798f
patch 9.0.0751: 'scrolloff' does not work well with 'smoothscroll'
...
Problem: 'scrolloff' does not work well with 'smoothscroll'.
Solution: Make positioning the cursor a bit better. Rename functions.
2022-10-14 20:09:04 +01:00
Bram Moolenaar
1190139ed0
patch 9.0.0595: extra newline in messages after a verbose shell message
...
Problem: Extra newline in messages after a verbose shell message.
Solution: Output the newline with msg_putchar_attr(). (closes #11233 )
Make it possible to filter a screendump before comparing it.
2022-09-26 19:50:44 +01:00
Bram Moolenaar
83a19c5fda
patch 9.0.0453: on an AZERTY keyboard digit keys get the shift modifier
...
Problem: On an AZERTY keyboard digit keys get the shift modifier.
Solution: Remove the shift modifier from digit keys. (closes #11109 )
2022-09-12 20:35:28 +01:00
Bram Moolenaar
04e0ed1ddf
patch 9.0.0438: cannot put virtual text above a line
...
Problem: Cannot put virtual text above a line.
Solution: Add the "above" value for "text_align".
2022-09-10 20:00:56 +01:00
Bram Moolenaar
f80f40a55c
patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version
...
Problem: No good reason why the "gf" command is not in the tiny version.
Solution: Graduate the file_in_path feature.
2022-08-25 16:02:23 +01:00
Bram Moolenaar
887748742d
patch 9.0.0222: no good reason why text objects are only in larger builds
...
Problem: No good reason why text objects are only in larger builds.
Solution: Graduate +textobjects.
2022-08-16 20:24:29 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Bram Moolenaar
7f9969c559
patch 9.0.0067: cannot show virtual text
...
Problem: Cannot show virtual text.
Solution: Initial changes for virtual text support, using text properties.
2022-07-25 18:13:54 +01:00
Bram Moolenaar
7ce5b2b590
patch 8.2.4969: changing text in Visual mode may cause invalid memory access
...
Problem: Changing text in Visual mode may cause invalid memory access.
Solution: Check the Visual position after making a change.
2022-05-16 19:40:59 +01:00
Bram Moolenaar
6ed545e797
patch 8.2.4928: various white space and cosmetic mistakes
...
Problem: Various white space and cosmetic mistakes.
Solution: Change spaces to tabs, improve comments.
2022-05-09 20:09:23 +01:00
Bram Moolenaar
249591057b
patch 8.2.4911: the mode #defines are not clearly named
...
Problem: The mode #defines are not clearly named.
Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-05-07 20:01:16 +01:00
zeertzjq
db08887f24
patch 8.2.4858: K_SPECIAL may be escaped twice
...
Problem: K_SPECIAL may be escaped twice.
Solution: Avoid double escaping. (closes #10340 )
2022-05-02 22:53:45 +01:00
zeertzjq
17c95d9608
patch 8.2.4829: a key may be simplified to NUL
...
Problem: A key may be simplified to NUL.
Solution: Use K_ZERO instead. Use macros instead of hard coded values.
(closes #10290 )
2022-04-26 12:51:07 +01:00
Bram Moolenaar
fe154990c1
patch 8.2.4610: some conditions are always true
...
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993 )
2022-03-22 20:42:12 +00:00
Bram Moolenaar
28e8f73ae2
patch 8.2.4335: no autocommand event triggered before changing directory
...
Problem: No autocommand event triggered before changing directory. (Ronnie
Magatti)
Solution: Add DirChangedPre. (closes #9721 )
2022-02-09 12:58:20 +00:00
zeertzjq
73257149d7
patch 8.2.4283: using a variable for the return value is not needed
...
Problem: Using a variable for the return value is not needed.
Solution: Return the value directly. (closes #9687 )
2022-02-02 13:16:37 +00:00
Bram Moolenaar
424bcae1fb
patch 8.2.4273: the EBCDIC support is outdated
...
Problem: The EBCDIC support is outdated.
Solution: Remove the EBCDIC support.
2022-01-31 14:59:41 +00:00
Dominique Pelle
e8741a73e2
patch 8.2.4119: build failure when disabling the channel feature
...
Problem: Build failure when disabling the channel feature.
Solution: Adjust #ifdef. (Dominique Pellé, closes #9545 )
2022-01-17 11:23:45 +00:00
Bram Moolenaar
e32c3c462c
patch 8.2.4099: Vim9: cannot use Vim9 syntax in mapping
...
Problem: Vim9: cannot use Vim9 syntax in mapping.
Solution: Add <ScriptCmd> to use the script context for a command.
2022-01-15 18:26:04 +00:00
Dominique Pelle
748b308eeb
patch 8.2.4038: various code not used when features are disabled
...
Problem: Various code not used when features are disabled.
Solution: Add #ifdefs. (Dominique Pellé, closes #9491 )
2022-01-08 12:41:16 +00:00
Bram Moolenaar
1d423ef75f
patch 8.2.3987: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2022-01-02 21:26:16 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
e124204c4f
patch 8.2.3830: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more error messages to errors.h.
2021-12-16 20:56:57 +00:00
Bram Moolenaar
651fca85c7
patch 8.2.3699: the +title feature adds a lot of #ifdef but little code
...
Problem: The +title feature adds a lot of #ifdef but little code.
Solution: Graduate the +title feature.
2021-11-29 20:39:38 +00:00
Bram Moolenaar
7c25a7c0a1
patch 8.2.3479: crash when calling job_start with an invalid argument
...
Problem: Crash when calling job_start with an invalid argument. (Virginia
Senioria)
Solution: Clear the first item in argv. (closes #8957 )
2021-10-05 19:19:35 +01:00
Bram Moolenaar
02f8694a6b
patch 8.2.3357: crash when 'virtualedit' is set and window is narrow
...
Problem: Crash when 'virtualedit' is set and window is narrow. ()
Solution: Check that width is not zero. (closes #8767 )
2021-08-17 22:14:29 +02:00
Yegappan Lakshmanan
cbae580283
patch 8.2.3301: memory allocation functions don't have their own place
...
Problem: Memory allocation functions don't have their own place.
Solution: Move memory allocation functions to alloc.c. (Yegappan
Lakshmanan, closes #8717 )
2021-08-06 21:51:55 +02:00
Yegappan Lakshmanan
28d8421bfb
patch 8.2.3254: win_gettype() does not recognize a quickfix window
...
Problem: win_gettype() does not recognize a quickfix window.
Solution: Add "quickfix" and "loclist". (Yegappan Lakshmanan, closes #8676 )
2021-07-31 12:43:23 +02:00
Yegappan Lakshmanan
41114a2a27
patch 8.2.3244: Lua 5.3 print() with a long string crashes
...
Problem: Lua 5.3 print() with a long string crashes.
Solution: Use a growarray instead of a Lua buffer. (Yegappan Lakshmanan,
closes #8655 )
2021-07-29 20:22:14 +02:00
Bram Moolenaar
5d7c2df536
patch 8.2.3228: cannot use a simple block for the :command argument
...
Problem: Cannot use a simple block for the :command argument. (Maarten
Tournoij)
Solution: Recognize a simple {} block. (issue #8623 )
2021-07-27 21:17:32 +02:00
Gary Johnson
53ba05b090
patch 8.2.3227: 'virtualedit' can only be set globally
...
Problem: 'virtualedit' can only be set globally.
Solution: Make 'virtualedit' global-local. (Gary Johnson, closes #8638 )
2021-07-26 22:19:10 +02:00
Yegappan Lakshmanan
a2438132a6
patch 8.2.3139: functions for string manipulation are spread out
...
Problem: Functions for string manipulation are spread out.
Solution: Move string related functions to a new source file. (Yegappan
Lakshmanan, closes #8470 )
2021-07-10 21:29:18 +02:00
Mike Williams
a3d1b29bd3
patch 8.2.3079: Powershell core not supported by default
...
Problem: Powershell core not supported by default.
Solution: Set option defaults for "pwsh". (Mike Williams, closes #8481 )
2021-06-30 20:56:00 +02:00
Mike Williams
127950241e
patch 8.2.3071: shell options are not set properly for PowerShell
...
Problem: Shell options are not set properly for PowerShell.
Solution: Use better option defaults. (Mike Willams, closes #8459 )
2021-06-28 20:53:58 +02:00
K.Takata
eeec254878
patch 8.2.2922: computing array length is done in various ways
...
Problem: Computing array length is done in various ways.
Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305 )
2021-06-02 13:28:16 +02:00
Bram Moolenaar
e3d1f4c982
patch 8.2.2728: special key names don't work if 'isident' is cleared
...
Problem: Special key names don't work if 'isident' is cleared.
Solution: Add vim_isNormalIDc() and use it for special key names.
(closes #2389 )
2021-04-06 20:21:59 +02:00
Bram Moolenaar
7a6eaa06f9
patch 8.2.2635: Vim9: cannot define an inline function
...
Problem: Vim9: cannot define an inline function.
Solution: Make an inline function mostly work.
2021-03-21 20:53:29 +01:00
Bram Moolenaar
21a83bd53d
patch 8.2.2546: typo in mouse key name
...
Problem: Typo in mouse key name.
Solution: Fix the typo. (issue #4725 )
2021-02-23 19:19:58 +01:00
Bram Moolenaar
ccb47a2899
patch 8.2.2383: focus escape sequences are not named
...
Problem: Focus escape sequences are not named in ":set termcap" output.
Solution: Add the names to the list. (closes #7718 )
2021-01-21 13:36:43 +01:00
Bram Moolenaar
957cf67d50
patch 8.2.1978: making a mapping work in all modes is complicated
...
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-12 14:21:06 +01:00