Justin M. Keyes
3344cffe7b
getdigits: introduce strict
, def
parameters
...
Problem:
During a refactor long ago, we changed the `getdigits_*` familiy of
functions to abort on overflow. But this is often wrong, because many
of these codepaths are handling user input.
Solution:
Decide at each call-site whether to use "strict" mode.
fix #5555
2019-09-13 19:29:25 -07:00
Justin M. Keyes
83c5701fe6
vim-patch:8.1.1498: ":write" increments b:changedtick even though nothing changed
...
Problem: ":write" increments b:changedtick even though nothing changed.
(Daniel Hahler)
Solution: Only increment b:changedtick if the modified flag is reset.
c024b46678
2019-09-04 21:21:28 +02:00
Jan Edmund Lazo
ebc3070b7d
vim-patch:8.1.1926: redraw cursorline after putting line above #10849
...
Problem: Cursorline not redrawn when putting a line above the cursor.
Solution: Redraw when the curor line is below a change. (closes vim/vim#4862 )
c2b97643a8
2019-08-26 04:17:34 +02:00
Daniel Hahler
564838159e
lint
2019-08-07 14:21:23 +02:00
Daniel Hahler
e269c1028b
remove !has_mbyte branches
...
Ref: https://github.com/neovim/neovim/pull/10171#discussion_r292437832
2019-08-07 14:21:23 +02:00
Daniel Hahler
0e3b9ea74d
includes
2019-08-07 14:21:23 +02:00
Daniel Hahler
aa6aa732e9
move ins_char
2019-08-07 14:21:23 +02:00
Daniel Hahler
dfe8cab0c1
lint
2019-08-07 14:21:23 +02:00
Daniel Hahler
f7fac33a1f
move del_lines
2019-08-07 14:21:23 +02:00
Daniel Hahler
41fa6079b2
lint/sync: truncate_line
2019-08-07 14:21:23 +02:00
Daniel Hahler
be08d52e11
move truncate_line
2019-08-07 14:21:23 +02:00
Daniel Hahler
33e6cffb9b
lint/sync: open_line
2019-08-07 14:21:23 +02:00
Daniel Hahler
2f225886b0
move open_line
2019-08-07 14:21:23 +02:00
Daniel Hahler
b706b1f049
move copy_indent (from nvim's indent.c)
2019-08-07 14:21:23 +02:00
Daniel Hahler
e454dce5e4
move del_bytes
2019-08-07 14:21:23 +02:00
Daniel Hahler
0b3ee2e8ac
move del_char, del_chars
2019-08-07 14:21:23 +02:00
Daniel Hahler
75598927f2
move ins_str
2019-08-07 14:21:23 +02:00
Daniel Hahler
c0f71ef826
move ins_char_bytes
2019-08-07 14:21:23 +02:00
Daniel Hahler
664b6adebe
move ins_bytes, ins_bytes_len
2019-08-07 14:21:23 +02:00
Daniel Hahler
1117592f64
move unchanged
2019-08-07 14:21:23 +02:00
Daniel Hahler
f717deea06
move changed_lines
2019-08-07 14:21:23 +02:00
Daniel Hahler
b353d8599b
move deleted_lines, deleted_lines_mark, changed_lines_buf
2019-08-07 14:21:23 +02:00
Daniel Hahler
83d35e62f2
move appended_lines_mark
2019-08-07 14:21:23 +02:00
Daniel Hahler
d9f2d53239
move appended_lines
2019-08-07 14:21:23 +02:00
Daniel Hahler
c2cd9178ca
remove inserted_bytes (comes via text properties, v8.1.0678)
2019-08-07 14:21:23 +02:00
Daniel Hahler
ac6671946a
move changedOneline, changed_bytes
2019-08-07 14:21:23 +02:00
Daniel Hahler
53210c16d1
move changed_common
2019-08-07 14:21:23 +02:00
Daniel Hahler
0e5314f56e
move changed_int/changed_internal
2019-08-07 14:21:23 +02:00
Daniel Hahler
a822b3e547
move changed
2019-08-07 14:21:23 +02:00
Daniel Hahler
2a421e52e4
move change_warning
2019-08-07 14:21:23 +02:00
Daniel Hahler
e8cd2bcf37
header
2019-08-07 14:21:23 +02:00
Daniel Hahler
4a8a87c3a9
orig src/nvim/change.c
2019-08-07 14:21:23 +02:00