| Commit message (Collapse) | Author | Age |
... | |
|
|
|
|
|
| |
Problem: Using freed memory when joining line with text property.
Solution: Use already computed length.
https://github.com/vim/vim/commit/787880a86dbcb79cdf6e8241b1d99ac4a7acbc09
|
| |
|
|
|
|
|
|
|
|
|
| |
Problem: Virtual edit replace with multi-byte fails at end of line. (Lukas
Werling)
Solution: use ins_char() to add the character. (Christian Brabandt,
closes vim/vim#3114) Rename PCHAR() to PBYTE() to avoid mistakes like
this.
https://github.com/vim/vim/commit/630afe889a2a02b367ea8eaaa48e66ed81e77ff3
|
| |
|
|
|
|
|
|
|
| |
Problem: Indenting is off.
Solution: Make indenting consistent and update comments. (Ozaki Kiichi,
closes vim/vim#4079)
https://github.com/vim/vim/commit/fd731b0e31df9f167098c4a77ff894fea6cb7f5c
|
|
|
|
|
|
|
|
|
| |
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes vim/vim#2745) Rename the global variables for consistency. Store
the register name in reg_executing.
https://github.com/vim/vim/commit/0b6d911e5de1a1c10a23d4c2ee1b0275c474a2dd
|
|
|
|
|
|
|
|
| |
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629)
vim-patch:8.0.1481
|
| |
|
|
|
|
| |
Helped-by: Björn Linse <bjorn.linse@gmail.com>
fix #5646
|
| |
|
|
|
|
|
|
| |
Problem: Reading invalid memory with CTRL-W :.
Solution: Correct the command characters. (closes vim/vim#2469)
https://github.com/vim/vim/commit/2efb323e875d2852f63e41c40641760d1d6b069f
|
| |
|
|
|
|
|
|
| |
Problem: Duplicate error message for put command.
Solution: Check return value of u_save(). (Jason Franklin)
https://github.com/vim/vim/commit/f52f9ea8f5fb3df51a308c56f2bf66f735ef3ca7
|
|
|
|
|
|
|
| |
Problem: Unnamed register only contains the last deleted text when
appending deleted text to a register. (Wolfgang Jeltsch)
Solution: Only set y_previous when not using y_append. (Christian Brabandt)
https://github.com/vim/vim/commit/18d90b95c49d9ff1c635dd762864022aab8e71f1
|
|
|
|
|
| |
Problem: Cursor in the wrong column after auto-formatting.
Solution: Check for deleting more spaces than adding. (closes vim/vim#3748)
https://github.com/vim/vim/commit/e1e714ef0d1f4bb8b1712795e9106e3b4ff4c7bd
|
| |
|
|
|
|
|
|
| |
test_normal.vim fails if we assert >= 2, so we only check >= 1. That at
least avoids invalid pointers.
TEST_FILE=test_normal.res make oldtest
|
| |
|
|
|
|
| |
Co-Author: Dongdong Zhou <dzhou121@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Note about shada.c:
- shada_read_next_item_start was intentionally shadowing `unpacked` and
`i` because many of the macros (e.g. ADDITIONAL_KEY) implicitly
depended on those variable names.
- Macros were changed to parameterize `unpacked` (but not `i`). Macros
like CLEAR_GA_AND_ERROR_OUT do control-flow (goto), so any other
approach is messy.
|
|
|
|
|
|
| |
Problem: Deleting in a block selection causes problems.
Solution: Check the length of the line before adding bd.textcol and
bd.textlen. (Christian Brabandt, closes vim/vim#2825)
https://github.com/vim/vim/commit/35e802e713382d7e76232ad344af7dcd577e43de
|
|
|
|
|
|
| |
Problem: CTRL-A does not work with an empty line. (Alex)
Solution: Decrement the end only once. (Hirohito Higashi, closes vim/vim#2387)
https://github.com/vim/vim/commit/5fe6bdf858a7f2f288d599ffb5efb3c08449c817
|
| |
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Auto indenting breaks inserting a block.
Solution: Do not check for cursor movement if indent was changed. (Christian
Brabandt, closes vim/vim#2778)
https://github.com/vim/vim/commit/8c87a2b1fec85e4aac33f71586ac1514536fc66b
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Initialize ind_pre.
https://github.com/vim/vim/commit/2254a8ad0cb596a0a0863b1af92353f018c0b355
|
| |
| |
| |
| |
| |
| | |
Problem: Warning for uninitialized variable. (John Marriott)
Solution: Move code to check indent inside "if".
https://github.com/vim/vim/commit/4ec86ddd77a89766e42bd0a6cfcf10af4c3d03b2
|
| |
| |
| |
| |
| |
| |
| | |
Problem: Bogus characters appear when indenting kicks in while doing a
visual-block append.
Solution: Recompute when indenting is done. (Christian Brabandt)
https://github.com/vim/vim/commit/e2e69e48134cbfdedea7802810932f8592705024
|
| | |
|
| |
| |
| |
| |
| |
| | |
Return value is bool.
errmsg (param) is bool in here and in getaltfname().
allocated (param) is bool.
|
|/
|
|
|
|
| |
Problem: Cannot insert the whole cursor line.
Solution: Make CTRL-R CTRL-L work. (Andy Massimino, closes vim/vim#2857)
https://github.com/vim/vim/commit/e2c8d8392684a940cc5608acc73ff47486bd7b92
|
|\ |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Problem: Crash when shifting with huge number.
Solution: Check for overflow. (Dominique Pelle, closes vim/vim#1945)
https://github.com/vim/vim/commit/bae5a17a738d1a3b5c51d9aa5d99e228d3911955
|
| | |
|
|/
|
|
|
|
|
| |
First step towards implemening issue #7401.
The same can be done for all deprecated mb_ functions in follow-up
patches.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Problem: Message about what register to yank into is not translated.
(LemonBoy)
Solution: Add _().
https://github.com/vim/vim/commit/60d0e97497f1104b31f711072ef174af533b61fa
|
|
|
|
|
|
|
| |
Problem: The message for yanking doesn't indicate the register.
Solution: Show the register name in the "N lines yanked" message. (Lemonboy,
closes vim/vim#1803, closes vim/vim#1809)
https://github.com/vim/vim/commit/e45deb79978677cb41f1477ba4140bccff658fd1
|