"Find" and "Find in Files" dialogs get wrong initial text sometimes
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
-
Reporter name: Juha Manninen
Original Reporter info from Mantis: JuhaManninen @JuhaManninen
- Reporter name: Juha Manninen
Description:
The "Text to find" field should get initially the word under editor cursor if there is one.
Now it sometimes gets a random word from the search history. It is difficult to debug because there is no systematic way to reproduce.
It used to work correctly, so this is a regression.
Suspect revisions are r51697, r56256, r54454, r56325,
related to issues #27039 (closed), #31567 (closed), #32619 (closed), although I have not tested or studied them yet.
Steps to reproduce:
Do lots of different searches in Lazarus sources, always placing editor cursor on a word before pressing Ctrl-F or Ctrl-Shift-F.
Mantis conversion info:
- Mantis ID: 34254
- OS: Linux
- OS Build: Manjaro
- Build: Latest
- Platform: x86-64
- Version: 1.9 (SVN)
- Target version: 2.2