The Delphi Bug List

Entry No.
578
IDE - Code editor
'Find text at cursor' in combination with 'Persistent blocks' doesn't work correctly
1.02 2.01 3.0 3.01 3.02 4.0 4.01 4.02 4.03 5.0 5.01 6.0 6.01 6.02 Kylix 1.0
AbsentAbsentAbsentAbsentAbsentAbsentAbsentAbsentAbsentExistsExistsExistsExistsExistsExists
Description
Reported by Reinier Sterkenburg; checked by Eddie Churchill
To reproduce:
  • Enable the above mentioned settings
  • Select a few lines of code
  • Put the cursor on a word in the selected text block
  • Press Ctrl-F (or Ctrl-Q-F or any other command that activates the Find dialog)
  • The 'text to find' edit now has the whole selected block in stead of the word the cursor is on
This is very annoying. The combination of 'Find text at cursor' and 'Persistent blocks' used to provide a very convenient way to replace an identier in a selected block of code.
Solution / workaround
The way I use it now is either pasting or typing the string that must be found into the 'text to find' edit.
Latest update of this entry: 2002-04-09

Post a comment on this bug


Index page
Delphi Bug List home page
The Delphi Bug Lists are presently maintained by Jordan Russell, who has taken over this task from Reinier Sterkenburg since August 2000.
All feedback is appreciated. See also the feedback section of the Delphi Bug List home page.