FindAdv: no paragraph indentation for more space in the search string

See #11555
This commit is contained in:
Daniel Ramoeller 2023-12-31 14:36:01 +01:00 committed by Kornel Benko
parent 07cacef398
commit 638c04dd6a

View File

@ -630,6 +630,9 @@ void FindAndReplaceWidget::showEvent(QShowEvent * /* ev */)
copy_params(*bv, find_work_area_->bufferView()); copy_params(*bv, find_work_area_->bufferView());
copy_params(*bv, replace_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); find_work_area_->installEventFilter(this);
replace_work_area_->installEventFilter(this); replace_work_area_->installEventFilter(this);