Bug 384766

Summary: Vi search and replace command does not accept line range
Product: [Applications] kate Reporter: Jonathan Verner <jonathan.verner>
Component: Vi Input ModeAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: jpmbatrina01
Priority: NOR    
Version First Reported In: 17.08.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Video showing substitution with line range

Description Jonathan Verner 2017-09-16 10:46:32 UTC
In vi, when using the search & replace command (s/Foo/Bar/) one can prepend a line range to specify which lines should be processed (e.g. 0,$s/Foo/Bar/ means apply to all lines; 0,10s/Foo/Bar/ means apply only to the first 11 lines). However, in Kate the command seems to be applied only to the current line whether or not a line range is specified.
Comment 1 Jan Paul Batrina 2020-12-25 15:18:45 UTC
Created attachment 134325 [details]
Video showing substitution with line range

It seems to be already implemented (at the very least on version 20.08.1)