On Dec 5, 2007 7:50 PM, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
> On 05/12/2007, Mattias Gaertner <[EMAIL PROTECTED]> wrote:
> >
> > SourceEditorWindow.ActiveEditor.Selection:='Bla';
>
> With a name like that, I assumed Selection refers to what has been
> highlighted in the editor - selected text?
>
> So in your example, 'Bla' will be inserted at the cursor position in
> the active editor?  If so, it a weird property name to accomplish
> that!  Either way, I'll try tomorrow or browser the code more to find
> out about 'Selection'.
>
>
> Regards,
>   - Graeme -
>

A bit, maybe, but this is the way it has been done by TMemo since ever
(assigning SelText)...

Regards,
Flávio

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to