[Gambas-user] highlight with indentation
Bruce Steers
bsteers4 at gmail.com
Mon Dec 11 05:06:54 CET 2023
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20231211/008a50ff/attachment.htm>
More information about the User
mailing list