mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 19:25:39 +00:00
Set advanced repl_buffer internal as well (#12246)
This commit is contained in:
parent
9a32d7b07c
commit
4d21c899a8
@ -1455,6 +1455,7 @@ static void findAdvReplace(BufferView * bv, FindAndReplaceOptions const & opt, M
|
|||||||
repl_buffer_orig.write(oss);
|
repl_buffer_orig.write(oss);
|
||||||
string lyx = oss.str();
|
string lyx = oss.str();
|
||||||
Buffer repl_buffer("", false);
|
Buffer repl_buffer("", false);
|
||||||
|
repl_buffer.setInternal(true);
|
||||||
repl_buffer.setUnnamed(true);
|
repl_buffer.setUnnamed(true);
|
||||||
LASSERT(repl_buffer.readString(lyx), return);
|
LASSERT(repl_buffer.readString(lyx), return);
|
||||||
if (opt.keep_case && sel_len >= 2) {
|
if (opt.keep_case && sel_len >= 2) {
|
||||||
|
Loading…
Reference in New Issue
Block a user