Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Search/Find    [ Add a report in this area ]  
Report #:  53306   Status: Open
Find text at cursor broken in .txt file types
Project:  Delphi Build #:  11.0.2709.7128
Version:    11.0 Submitted By:   Jeroen Pluimers
Report Type:  Basic functionality failure Date Reported:  10/11/2007 4:33:58 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All platforms Internal Tracking #:   255765
Resolution: None (Resolution Comments) Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: (1 Total Rating)
5.00 out of 5
Total Votes: 6
Description
Finding text at cursor is broken when searching inside .txt files (.pas, .cpp, .h and .hpp files work OK).

Does not work in .txt, .html, .dfm files.

This is likely broken in other files types as well.

Worked in BDS2006.

Steps to Reproduce:
1. Enable Tools-Options-Editor Options-Find text at cursor.

2. Open a *.txt file

3. Press Ctrl-F when on a word

//exp: word under cursor to be in the search dialog
//act: nothing in the search dialog


Note: this works fine in .pas files
and this used to work in older Delphi versions.

Workarounds
manually copy / paste the word at the cursor position.

So in stead of a single Ctrl-F, you have to do this:
Ctrl K-T; Ctrl-C; Ctrl-F; Ctrl-V
Attachment
None
Comments

None

Server Response from: ETNACODE01