1. Re[2]: Win32Lib RichEdit suggestion

But getText() should work the same when using richedit or edittext

(both return selected text or both return all text)

D> Aku wrote:

>> Why I can't use getText for RichEdit, I must use getRichText.
>>
>> It's better to use getText for RichEdit, but keep getRichText.

D> getText(id) does work for RichText already. It returns the *selected* text
D> from a RichEdit control. The getRichText(id,range) is used when you need to
D> get text other than what the user has selected.

D> Because they take different parameters, it would break existing code to make
D> getText work the same as getRichText.

new topic     » topic index » view message » categorize

2. Re: Re[2]: Win32Lib RichEdit suggestion

Hi Aku,

> But getText() should work the same when using richedit or edittext
> 
> (both return selected text or both return all text)

yeah, I see your point. Let me think about it.

------
Derek Parnell
Melbourne, Australia
"To finish a job quickly, go slower."

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu