Recent

Author Topic: Tools for Synedit highlighters  (Read 6525 times)

Borneq

  • Full Member
  • ***
  • Posts: 127
Tools for Synedit highlighters
« on: December 15, 2010, 07:00:47 pm »
Are tools for creating/edit highlighters for Synedit or they are created manually.
Only Pascal highligter has code folding and other have only code coloring or some else have code folding?
It is correct that Pascal highligter not fold comments at top of code?

Sora-Kun

  • Full Member
  • ***
  • Posts: 162
  • I can smell your presence ...
    • Sora-Kun
Re: Tools for Synedit highlighters
« Reply #1 on: December 15, 2010, 07:15:26 pm »
hi,
I have asked the same questions before you here are some posts of mine of others:
http://www.lazarus.freepascal.org/index.php/topic,11064.0.html
http://www.lazarus.freepascal.org/index.php/topic,1777.0.html
http://www.lazarus.freepascal.org/index.php/topic,7879.0.html
http://www.lazarus.freepascal.org/index.php/topic,7338.0.html

also, you can find on "Lazarus/examples/ two examples" which may help you which are "synanyhighlighter" and "synpositionhighlighter".
LinkOS
if nothing suites you, make it your self!
The Revolution, Genesis. The next generation IDE.
If you want to help, PM me.

Made in Lazarus.
Soon, in The WWW.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 5621
    • wiki
Re: Tools for Synedit highlighters
« Reply #2 on: December 15, 2010, 07:38:39 pm »
A list of conversations and topics:
http://wiki.lazarus.freepascal.org/SynEdit_Highlighter#References

Yes they are al created by hand.

Folding is implemented in (0.9.29):
Pascal, Diff, Lfm, Xml, Html

Other than the examples. The 2 "simplest" Highlighters (with folding) are probably Lfm and Diff

Other than the wiki,  a very very few entries are in the fpdoc (doc folder in Synedit).