mirror of
https://github.com/neovim/neovim.git
synced 2025-10-16 23:06:14 +00:00
paste: one undo-block per stream
- All "chunks" in a paste-stream should form a single undo-block. Side effect of7a85792884
was to create an undo-block for each chunk. - Also: remove old :redraw force logic, irrelevant after7a85792884
.
This commit is contained in:
@@ -1293,11 +1293,11 @@ theend:
|
||||
/// Compare |:put| and |p| which are always linewise.
|
||||
///
|
||||
/// @param lines |readfile()|-style list of lines. |channel-lines|
|
||||
/// @param type Edit behavior:
|
||||
/// - "b" |blockwise-visual| mode
|
||||
/// @param type Edit behavior: any |getregtype()| result, or:
|
||||
/// - "b" |blockwise-visual| mode (may include width, e.g. "b3")
|
||||
/// - "c" |characterwise| mode
|
||||
/// - "l" |linewise| mode
|
||||
/// - "" guess by contents
|
||||
/// - "" guess by contents, see |setreg()|
|
||||
/// @param after Insert after cursor (like |p|), or before (like |P|).
|
||||
/// @param follow Place cursor at end of inserted text.
|
||||
/// @param[out] err Error details, if any
|
||||
|
Reference in New Issue
Block a user