Fix a regression in the emulated command bar - notably that each step in an…

Authored by sstjames on Apr 8 2016, 2:12 PM.

Description

Fix a regression in the emulated command bar - notably that each step in an "incremental" search is added to the search history (e.g. searching for "xyz" adds "x", "xy", and "xyz" to the search history). This involved creating a SearchParams struct to replace the individual m_lastSearchPattern, m_lastSearchCaseSensitive etc (probably worth doing in its own right) and re-instating the logic in EmulatedCommandBar that prevents the current search from being stored until it is executed (i.e. we press Enter, rather than cancelling it).

This highlights the problem of renaming ViRange -> Range - if we're doing "using KTextEditor;" and "using KateVi;", it's easy to create an ambiguity. Fix these ambiguities.

Details

Committed
sstjamesJun 17 2016, 8:14 AM
Parents
R39:1746be58cb1c: Fix bug with "incremental" searches being added to the search history (i.e.
Branches
Unknown
Tags
Unknown