commit 638c04dd6aab3e16063a03183e25491f83780b68
Author: Daniel Ramoeller <[email protected]>
Date: Sun Dec 31 14:36:01 2023 +0100
FindAdv: no paragraph indentation for more space in the search string
See #11555
---
src/frontends/qt/FindAndReplace.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/frontends/qt/FindAndReplace.cpp
b/src/frontends/qt/FindAndReplace.cpp
index 8c8ad115bd..b53c520974 100644
--- a/src/frontends/qt/FindAndReplace.cpp
+++ b/src/frontends/qt/FindAndReplace.cpp
@@ -630,6 +630,9 @@ void FindAndReplaceWidget::showEvent(QShowEvent * /* ev */)
copy_params(*bv, find_work_area_->bufferView());
copy_params(*bv, replace_work_area_->bufferView());
}
+ // no paragraph indentation for more space
+ find_work_area_->bufferView().buffer().params().setParIndent(Length(0,
Length::IN));
+
replace_work_area_->bufferView().buffer().params().setParIndent(Length(0,
Length::IN));
find_work_area_->installEventFilter(this);
replace_work_area_->installEventFilter(this);
--
lyx-cvs mailing list
[email protected]
http://lists.lyx.org/mailman/listinfo/lyx-cvs