Hi,

Looking back at the Document.pm subversion log, text_get and text_set were
added in http://padre.perlide.org/trac/changeset/208 (2 years ago by Adam
Keneddy). I do not think there is any reason why we cannot add a fast text
accessor and keep the old *deprecated* ones for a while. Maybe Adam can shed
some light on this subject?

Regards,
Ahmad M. Zawawi
azawawi


On Tue, Nov 23, 2010 at 4:08 PM, Zeno Gantner <zeno.gant...@gmail.com>wrote:

> Hello,
>
> is there a particular reason why the accessors are called text_get and
> text_set instead of the more common get_text, set_text or text?
>
> sub text_get {
>        $_[0]->editor->GetText;
> }
>
> sub text_set {
>        $_[0]->editor->SetText( $_[1] );
> }
>
> Best regards,
>  Zeno
>
> --
> MyMediaLite Recommender System Library: http://ismll.de/mymedialite
> _______________________________________________
> Padre-dev mailing list
> Padre-dev@perlide.org
> http://mail.perlide.org/mailman/listinfo/padre-dev
>
_______________________________________________
Padre-dev mailing list
Padre-dev@perlide.org
http://mail.perlide.org/mailman/listinfo/padre-dev

Reply via email to