[Geany-Users] adding manual code folding points for geany
elextr at xxxxx
Mon Aug 24 09:20:44 UTC 2015
Code folding is provided by C++ code from Scintilla and compiled into
Geany. One example is the LexFortran.cxx you have. You would need
such a lexer for your language. The lexer usually also gives you
syntax highlighting for the language.
As its compiled into Geany you need the Geany source code from github.
You will then find the LexFortran.cxx (and friends) in the
You need to read the hacking file in the Geany top level which
describes how to add a new lexer and the scintilla documentation and
the example of all the other lexers. The lexers are simply state
machines so an electrical engineer should have no trouble with them.
On 24 August 2015 at 17:59, hakan aydın <hak_an_aydin at hotmail.com> wrote:
> Hello guys,
> I am an intern at Spark Calibration Services.They have developed a local
> language on geany and I am trying to add code folding points on it. I come
> accross this linkhttp://wiki.geany.org/howtos/adding_fold_points) but
> couln't get a clue. First of all, i am trying to figure out how to do this
> on a familiar language(ie. fortran), then i will convert this procedure to
> the local language. I have downloaded fortran
> Which directory should i add this lexer? And what should i do next?
> ps: I study electrical engineering and unfortunately i don't know much about
> text editors. So please write the basic steps to do it.
> Thank you very much,
> Hakan Aydın
> Users mailing list
> Users at lists.geany.org
More information about the Users