[Gambas-user] customising my gambas TextEditorMode

Bruce Steers bsteers4 at gmail.com
Tue Dec 1 16:12:00 CET 2020


forgot to mention I also added this to line 617 ..

*  $hEditor.Insert("\n\nPrivate $" & sName & " As " & sType & gb.Lf)*




> In app/src/gambas3/.src/Editor/Code/FEditor.class
> I changed the *InsertFunction*() parameters on lines 619 and 621, added
> an additional optional field..
> *InsertFunction(sName & "_Read", sType, False, "", bStatic, "Return $" &
> sName)*
> and
> * InsertFunction(sName & "_Write", "", False, "Value As " & sType,
> bStatic, "$" & sName & " = Value")*
>
>
> Got my gambas doing this now...
> http://bws.org.uk/images/screenrecord-2020-12-01_14.54.36.mp4
>
> Loving it, that'll save me some typing :)
> BruceS
>
> BruceS
>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20201201/219a9132/attachment.htm>


More information about the User mailing list