Files
neovim/src/nvim/api
Sean Dewar e7c262f555 fix(api): patch some cmdwin/textlock holes
Problem: there are new ways to escape textlock or break the cmdwin in
nvim_win_set_config and nvim_tabpage_set_win.

Solution: fix them. Use win_goto to check it in nvim_tabpage_set_win and use the
try_start/end pattern like with similar functions such as nvim_set_current_win
(which uses the existing msg_list, if set).

Careful not to use `wp->handle` when printing the window ID in the error message
for nvim_tabpage_set_win, as win_goto autocommands may have freed the window.

On a related note, I have a feeling some API functions ought to be checking
curbuf_locked...
2024-03-08 23:24:06 +00:00
..
2024-02-27 14:41:17 +00:00
2024-02-27 14:41:17 +00:00
2024-02-27 14:41:17 +00:00
2024-02-27 14:41:17 +00:00
2024-02-27 14:41:17 +00:00
2023-11-28 22:23:56 +01:00
2024-02-27 14:41:17 +00:00
2023-11-28 07:47:36 +08:00
2024-02-27 14:41:17 +00:00
2024-02-27 14:41:17 +00:00
2023-11-28 07:47:36 +08:00