Thanks for the response.

1) Highlighting results in result window existed in old PSPad versions, however
there were issues at that time :
I think only the first matching item on each line was highlighted,
and this highlighting was not case-sensitive (even if the search was correctly
executed as case-sensitive)

> searching 'aaa', case-sensitive, would find the line : 'AAA bbb aaa aaa', but
would highlight only 'AAA'
Hope this can now be made to work correctly, highlighting the two 'aaa' and not
the 'AAA'

3) I understand that the 'REPLACE in files' issue is a complex one.
At least being able to disable the REPLACE *within a folder* scope, as a program
option, would make me more less afraid of a bad click.

4) Another small glitch : 'search / replace in files' > 'text to find' >
combobox of last searches
This combobox (TTntComboBox.UnicodeClass, instance 5) is not completely
case-sensitive.
Example :
create a new file, type 'aaa AAA'
select 'aaa' in file text, open 'search / replace in files', execute search
(this store 'aaa' in the combobox list)
select 'AAA' in file text, open 'search / replace in files'
> 'aaa' is preselected in the combobox, because it matches without
case-sensitivity 'AAA', the selected text.

now, type 'AAA' in the text to 'search / replace in files', execute search
select 'aaa' in file text, open 'search / replace in files'
> at that point 'aaa' and 'AAA' are both stored in the combobox list of last
searches
> but 'AAA' is preselected in the combobox, because it is the most recent match
without case-sensitivity for 'aaa', the selected text.

Case-sensitivity of matching item stored in a combobox list might depend on the
langage you are using, so you may not be able to change this default behavior.
However you may be able to force the correct text (the text currently selected
in the file) in the associated Edit control, instance 4.
(I spied on the controls inside the 'search / replace in files' dialog by using
the AutoIt/Au3Info.exe and Nirsoft/WinExplorer.exe tools)

***

Sorry for the length, it's difficult to be clear without the necessary details.
I'm using PSPad a lot for amateur programming (VBS, AutoIt, some game langages
for AI scripts), so if it can be improved it's all the better.

-- 
<http://forum.pspad.com/read.php?2,68973,68980>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem