neovim/runtime/doc
zeertzjq cd05fbef17
vim-patch:9.1.0441: getregionpos() can't properly indicate positions beyond eol (#28957)
Problem:  getregionpos() can't properly indicate positions beyond eol.
Solution: Add an "eol" flag that enables handling positions beyond end
          of line like getpos() does (zeertzjq).

Also fix the problem that a position still has the coladd beyond the end
of the line when its column has been clamped.  In the last test case
with TABs at the end of the line the old behavior is obviously wrong.

I decided to gate this behind a flag because returning positions that
don't correspond to actual characters in the line may lead to mistakes
for callers that want to calculate the length of the selected text, so
the behavior is only enabled if the caller wants it.

closes: vim/vim#14838

2b09de9104
2024-05-24 15:44:52 +08:00
..
api.txt feat(api): broadcast events to ALL channels #28487 2024-05-17 07:37:39 -07:00
arabic.txt
autocmd.txt docs: misc #24163 2024-04-30 04:30:21 -07:00
backers.txt
builtin.txt vim-patch:9.1.0441: getregionpos() can't properly indicate positions beyond eol (#28957) 2024-05-24 15:44:52 +08:00
change.txt docs: misc (#28609) 2024-05-15 07:18:33 +08:00
channel.txt
cmdline.txt docs: remove remaining mentions of hkmap (#28038) 2024-03-26 18:30:17 +08:00
debug.txt
deprecated.txt feat(api): broadcast events to ALL channels #28487 2024-05-17 07:37:39 -07:00
dev_style.txt docs: news 2024-05-15 23:19:26 +02:00
dev_theme.txt docs: news 2024-05-15 23:19:26 +02:00
dev_tools.txt docs: how to get core dump files #28826 2024-05-21 09:31:28 -07:00
dev_vimpatch.txt refactor: add xmemcpyz() and use it in place of some xstrlcpy() (#28422) 2024-04-20 19:31:00 +08:00
develop.txt docs: news 2024-05-15 23:19:26 +02:00
diagnostic.txt NVIM v0.10.0 2024-05-16 14:34:32 +02:00
diff.txt
digraph.txt
editing.txt vim-patch:83424105cb42 (#28298) 2024-04-12 16:56:22 +08:00
editorconfig.txt docs: misc (#28609) 2024-05-15 07:18:33 +08:00
eval.txt vim-patch:53753f6a4925 (#28647) 2024-05-06 06:43:01 +08:00
faq.txt docs: nvim.appdata.xml, set faq to "flow" layout #28769 2024-05-16 01:53:33 -07:00
filetype.txt vim-patch:d1d9316: runtime(zig): refactor zig ftplugin, remove auto format (#28904) 2024-05-21 18:51:51 -05:00
fold.txt
ft_ada.txt vim-patch:partial:d086b8f646a6 (#27623) 2024-02-25 16:38:34 +08:00
ft_ps1.txt
ft_raku.txt
ft_rust.txt
ft_sql.txt vim-patch:partial:d086b8f646a6 (#27623) 2024-02-25 16:38:34 +08:00
gui.txt feat(defaults): add :Inspect to right-click menu (#28181) 2024-04-05 18:08:54 +08:00
hebrew.txt docs: remove remaining mentions of hkmap (#28038) 2024-03-26 18:30:17 +08:00
help.txt docs: move vim.health documentation to lua.txt 2024-05-22 20:15:17 +02:00
helphelp.txt vim-patch:c9ec20d94ea5 (#28267) 2024-04-11 07:39:29 +08:00
if_perl.txt
if_pyth.txt
if_ruby.txt
indent.txt vim-patch:53753f6a4925 (#28647) 2024-05-06 06:43:01 +08:00
index.txt docs: remove remaining mentions of hkmap (#28038) 2024-03-26 18:30:17 +08:00
insert.txt docs: remove remaining mentions of hkmap (#28038) 2024-03-26 18:30:17 +08:00
intro.txt vim-patch:c9ec20d94ea5 (#28267) 2024-04-11 07:39:29 +08:00
job_control.txt
lsp.txt fix(lsp): semantic token functions allow "0" bufnr #28849 2024-05-21 09:25:54 -07:00
lua-guide.txt
lua.txt docs: move vim.health documentation to lua.txt 2024-05-22 20:15:17 +02:00
luaref.txt docs: small fixes (#27364) 2024-03-12 13:51:53 +08:00
luvref.txt build(deps): bump luv to v1.48.0-0 2024-02-22 10:07:04 +01:00
map.txt docs: small fixes (#27364) 2024-03-12 13:51:53 +08:00
mbyte.txt
message.txt vim-patch:9.1.0178: E1513 might be confusing (#27846) 2024-03-14 06:44:50 +08:00
mlang.txt
motion.txt docs: various #25289 2024-01-18 00:14:48 -08:00
news-0.9.txt docs: news 2024-05-15 23:19:26 +02:00
news-0.10.txt docs: news #28773 2024-05-16 06:28:27 -07:00
news.txt feat(signs)!: place higher-priority signs from the left #27781 2024-05-21 09:21:42 -07:00
nvim_terminal_emulator.txt docs: misc #24163 2024-04-30 04:30:21 -07:00
nvim.txt
options.txt docs: misc #24163 2024-04-30 04:30:21 -07:00
pattern.txt vim-patch:9525f6213604 2024-04-27 05:52:47 +08:00
pi_gzip.txt
pi_msgpack.txt
pi_netrw.txt vim-patch:1c5728e0c4a9 (#28703) 2024-05-11 18:14:03 +08:00
pi_paren.txt
pi_spec.txt
pi_tar.txt vim-patch:1c5728e0c4a9 (#28703) 2024-05-11 18:14:03 +08:00
pi_tutor.txt
pi_zip.txt
provider.txt docs: document setting g:clipboard to v:false (#28085) 2024-03-29 09:43:26 -05:00
quickfix.txt vim-patch:9.1.0381: cbuffer and similar commands don't accept a range (#28571) 2024-04-30 06:02:38 +08:00
quickref.txt docs: remove remaining mentions of hkmap (#28038) 2024-03-26 18:30:17 +08:00
recover.txt docs: various #25289 2024-01-18 00:14:48 -08:00
remote_plugin.txt docs: misc #24163 2024-04-30 04:30:21 -07:00
remote.txt
repeat.txt fix(defaults): only repeat macro for each selected line if linewise (#28289) 2024-04-15 03:43:33 +08:00
rileft.txt
russian.txt
scroll.txt
sign.txt feat(signs)!: place higher-priority signs from the left #27781 2024-05-21 09:21:42 -07:00
spell.txt vim-patch:9.1.0418: Cannot move to previous/next rare word (#28822) 2024-05-18 07:09:05 +08:00
starting.txt docs: remove remaining mentions of hkmap (#28038) 2024-03-26 18:30:17 +08:00
support.txt docs: update supported platforms 2024-04-18 23:39:26 +02:00
syntax.txt vim-patch:1c5728e0c4a9 (#28703) 2024-05-11 18:14:03 +08:00
tabpage.txt vim-patch:fed01960d2b0 (#28764) 2024-05-16 06:07:17 +08:00
tagsrch.txt feat(diagnostic): add default mappings for diagnostics (#16230) 2024-04-26 13:16:12 -05:00
term.txt
testing.txt
tips.txt
treesitter.txt perf(treesitter): use child_containing_descendant() in has-ancestor? (#28512) 2024-05-16 16:57:58 +02:00
uganda.txt vim-patch:f7a38650eaf6 (#28465) 2024-04-23 08:20:36 +08:00
ui.txt docs: misc #24163 2024-04-30 04:30:21 -07:00
undo.txt
userfunc.txt
usr_01.txt vim-patch:1c5728e0c4a9 (#28703) 2024-05-11 18:14:03 +08:00
usr_02.txt
usr_03.txt
usr_04.txt
usr_05.txt
usr_06.txt
usr_07.txt
usr_08.txt
usr_09.txt
usr_10.txt
usr_11.txt
usr_12.txt
usr_20.txt
usr_21.txt
usr_22.txt
usr_23.txt
usr_24.txt
usr_25.txt
usr_26.txt
usr_27.txt
usr_28.txt
usr_29.txt
usr_30.txt vim-patch:04e1aaa94e3b (#28570) 2024-04-30 05:54:03 +08:00
usr_31.txt
usr_32.txt
usr_40.txt
usr_41.txt vim-patch:9.1.0394: Cannot get a list of positions describing a region 2024-05-20 20:50:08 +08:00
usr_42.txt
usr_43.txt
usr_44.txt
usr_45.txt
usr_toc.txt
various.txt fix(comment): fall back to using trimmed comment markers (#28938) 2024-05-23 15:30:53 -05:00
vi_diff.txt
vim_diff.txt revert: default LSP mappings (#28649) 2024-05-06 08:13:50 -05:00
visual.txt fix(defaults): only repeat macro for each selected line if linewise (#28289) 2024-04-15 03:43:33 +08:00
vvars.txt docs: various fixes (#28208) 2024-04-30 07:04:42 +08:00
windows.txt vim-patch:partial:9.1.0117: Stop split-moving from firing WinNew and WinNewPre autocommands 2024-03-08 23:24:04 +00:00