[Geany-Users] block folding

Matthew Brush mbrush at xxxxx
Wed Jan 8 19:58:00 UTC 2014


On 14-01-08 03:13 AM, Maximilian Krautloher wrote:
> Hi all,
>
> I am a huge fan of geany and I am using it all the time, especially
> for creating latex documents.
>
> I would love to be able to define code folding blocks of my own, but
> found no online resource that could point me into the right direction.
>
> Can you please help me?
>

You can probably get an effect similar to explicit fold points that are 
supported by the C lexer with a hack like the following, for opening 
fold point:

\iffalse
\begin
\fi

And for closing:

\iffalse
\end
\fi

However I don't really know LaTeX so I'm not sure that's valid at all, 
nor did I test it outside of trying it in Geany.

Cheers,
Matthew Brush


More information about the Users mailing list