Mercurial > vim
view runtime/tools/README.txt @ 34674:bfd2c0032686 v9.1.0218
patch 9.1.0218: Unnecessary multiplications in backspace code
Commit: https://github.com/vim/vim/commit/8ede7a069419e0e01368c65a2d0c79d6332aa6cd
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Mar 28 10:30:08 2024 +0100
patch 9.1.0218: Unnecessary multiplications in backspace code
Problem: Unnecessary multiplications in backspace code, as
"col / ts * ts" is the same as "col - col % ts".
Solution: Change "col / ts * ts" to "col - col % ts". Adjust the loop
and the comments ins_bs() to be easier to understand. Update
tests to reset 'smarttab' properly.
(zeertzjq)
closes: #14308
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 28 Mar 2024 10:45:04 +0100 |
parents | ccd16426a1f9 |
children |
line wrap: on
line source
Some tools that can be used with Vim: blink.c: C program to make the cursor blink in an xterm. ccfilter*: C program to filter the output of a few compilers to a common QuickFix format. efm_filter.*: Perl script to filter compiler messages to QuickFix format. efm_perl.pl: Perl script to filter error messages from the Perl interpreter for use with Vim quickfix mode. mve.* Awk script to filter error messages to QuickFix format. pltags.pl: Perl script to create a tags file from Perl scripts. ref: Shell script for the K command. shtags.*: Perl script to create a tags file from a shell script. vim132: Shell script to edit in 132 column mode on vt100 compatible terminals. vimm: Shell script to start Vim on a DEC terminal with mouse enabled. vimspell.*: Shell script for highlighting spelling mistakes. vim_vs_net.cmd: MS-Windows command file to use Vim with MS Visual Studio 7 and later. xcmdsrv_client.c: Example for a client program that communicates with a Vim server through the X-Windows interface. unicode.vim Vim script to generate tables for src/mbyte.c. [xxd can be found in the src directory]