Skip to content

[Vimode] Display message when search is wrapped

Jan Paul Batrina requested to merge work/vimode-search-wrapped into master

The first commit uses a mutable bool m_lastSearchWrapped that is checked by motionFind[Previous|Next] to determine if message() should be called.

The second commit directly calls message inside findPatternWorker, requiring fewer changes but introduces GUI stuff in the function.

I'm not sure which approach is better so I included both commits.

Merge request reports

Loading