trichview.com

trichview.support




Problem with selection of words


Return to index


Author

Message

Phil

Posted: 02/16/2005 12:51:59


Hi,


Thanks for your answer, it's work when we double-click on a word.

But when I use the procedure SelectCurrentWord, it's not OK. I still have

the same problem.


I Try to see why in an execution step by step and I saw a problem. the procedure

SelectCurrentWord call the IsDelimiter function and IsDelimiter call the

function TCustomRVData.IsDelimiterA(ch: Char): Boolean;

In IsDelimiterA, the String "Del" contain the list of delimiters by calling

GetDelimiters, but When I inspect Del, there still have < and > in the list

of delimiters!

I think there is a problem here in the function GetLimiters because the list

isn't updated.


Thanks for your help,

Phil.




"Sergey Tkachenko" <[email protected]> wrote:

>Remove '<' and '>' from rv.Delimiters property.

>

>>

>> Hi,

>>

>> I have a problem when I'm doing a selection of text.

>> I do a textsearch like this "<TEST@PARAM>".

>>

>>   while rv.SearchText('<', [rvseoDown]) do

>>   begin

>>     rv.SelectCurrentWord;

>>     nomproc     := rv.GetSelText;

>>     ...

>>   end;

>>

>> Before with the version 1.8, we had nomproc="<TEST@PARAM>", but now, we

>upgrade

>> to 1.9 and the selection is different, we have only "TEST@PARAM", so it's

>> problematic, because many applications uses this type of keywords.

>> My question is : is it possible to come back to the old text selection

for

>> include '<' and '>'.

>>

>> Thanks for your help.

>>

>> Phil.

>>

>>

>> We used the version 1.8 before and

>

>





Powered by ABC Amber Outlook Express Converter