Merge pull request #3496 from chiizujin/editor_search_message
Fix editor search/replace feedback when replacing markup
This commit is contained in:
commit
18799d2c0b
1 changed files with 2 additions and 2 deletions
|
|
@ -673,13 +673,13 @@ class CmdEditorGroup(CmdEditorBase):
|
|||
if not self.linerange:
|
||||
caller.msg(
|
||||
_("Search-replaced {arg1} -> {arg2} for lines {l1}-{l2}.").format(
|
||||
arg1=self.arg1, arg2=self.arg2, l1=lstart + 1, l2=lend
|
||||
arg1=raw(self.arg1), arg2=raw(self.arg2), l1=lstart + 1, l2=lend
|
||||
)
|
||||
)
|
||||
else:
|
||||
caller.msg(
|
||||
_("Search-replaced {arg1} -> {arg2} for {line}.").format(
|
||||
arg1=self.arg1, arg2=self.arg2, line=self.lstr
|
||||
arg1=raw(self.arg1), arg2=raw(self.arg2), line=self.lstr
|
||||
)
|
||||
)
|
||||
buf = linebuffer[:lstart] + sarea.split("\n") + linebuffer[lend:]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue