Oups...
This methods don't work...
It's not good to program later. ;)
This methods need to be implement in a XS function like RichEdit::Selection().
Sorry,
Laurent.
Laurent Rocher a écrit :
>
> I have add 2 methods in GUI.pm in the WIN32::GUI::TEXTFIELD package.
>
> ###########################################################################
> # (@)METHOD:Selected()
> # Get the range of selected characters in the Textfield.
> # if called in a list context
> # return a boolean value to indicate if a selection exist
> # if called in a list context
> # return a list with start and end of the selection
> # if no selection Then return an empty list
> sub Selected {