[Geany] Code folding

Lex Trotman elextr at xxxxx
Fri Mar 2 03:15:47 UTC 2012


On 2 March 2012 09:36, Andy Bain <andy.bain at port.ac.uk> wrote:
> Hello, I'm new to the list but I'm more than willing to contribute.
>
>
> I'm working with the new Raspberry Pi and I'm trying to make Geany more
> kid friendly (6 year old+).
>
>
> Where does Geany get its code folding delimiters from? I'm trying to
> configure Geany so that it initially folds most of the code and not just
> functions or other pre-defined areas. In my scenario, I want almost all
> the code folded on start-up with a blank area where the students can
> write stuff (i.e. hide all the scary import and main loop stuff).

Hi,

I'm not aware of any way of making things open folded, IIUC the fold
state isn't stored between sessions.

Maybe you can set things up so the kids write in a nice empty file
(just change the python template to be empty) and have it imported
into a file with all the boilerplate when run.

Cheers
Lex

>
>
> I'm targeting Python. I've looked at the filetypes and considered
> downloading and looking at the source, but I just get a feeling this is
> easily do-able for someone with more knowledge than me.
>
>
> /Andy
>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> https://lists.uvena.de/cgi-bin/mailman/listinfo/geany



More information about the Users mailing list