[Gambas-user] highlight with indentation

Brian G brian at westwoodsvcs.com
Tue Dec 12 00:34:50 CET 2023


Thanks Bruce,

   I will check it out

On 12/10/23 20:06, Bruce Steers wrote:
>
>
> On Sun, 10 Dec 2023 at 23:57, Brian G <brian at westwoodsvcs.com> wrote:
>
>     Is there some way other that writing it myself, to correctly indent a
>     gambas program file?
>
>     Maybe I am missing something.
>
>
> code formatting is private to gambas ide
> https://gitlab.com/gambas/gambas/-/blob/master/app/src/gambas3/.src/Editor/Code/MPrettyCode.module?ref_type=heads
>
> Unless you import Benoits wonderful module into your own program.. :)
> https://gitlab.com/bsteers4/scripted/-/blob/V2-highlight/.src/imported/FormatCode.module?ref_type=heads
>
> Respects
> BruceS
>
>
> ----[http://gambaswiki.org/wiki/doc/netiquette  ]----

-- 
~~~~ Brian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231211/016ed4e3/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x78BFB26402F48419.asc
Type: application/pgp-keys
Size: 2428 bytes
Desc: OpenPGP public key
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231211/016ed4e3/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231211/016ed4e3/attachment.sig>


More information about the User mailing list