Forum > Packages and Libraries

SynEdit and Synfacil is poosible to implement hihgliter

(1/2) > >>

eldonfsr:
Just question a friend ask me if possible to implement and Highlighter or syntax for this kind of codes

MD67,RL26,IC31,MG"FAIL, PIN_20 OPEN.",MC243
MD68,RA51,IU0,MJ191
MD69,MG,MG"   ***CABLE PASSES CONTINUITY TEST***",MG,MJ70
MD70,MG,MG"TESTING FOR THE CABLE SHORT CIRCUIT."
MD71,MG,MG"UNPLUG THE BLACK CONNECTOR ON THE BOARD."
MD72,VI"READY, PRESS 1 ONLY ":70,MG" WAITING..."
MD73,RA70,IE1,MJ74,NO0,MJ72
MD74,AL0,AR71

i not expert on synedit is like macro code but is not...

Martin_fr:
I have no idea what you want to do....

But maybe any of those will help:

https://wiki.freepascal.org/SynEdit_Highlighter
https://wiki.freepascal.org/SynEdit_Highlighter_TextMate
https://wiki.freepascal.org/SynEdit_Markup

eldonfsr:
highlighter or syntax check  mainly highlither...

Martin_fr:
And what should it highlight?
- Every word?
- "..." ?
- ,
- *** ?

SynPositionHighlighter allows you to set your own begin and end of each word.

SynAnySyn allows you to add a list of words (no patterns, just words)

TextMate allows patterns and reg-ex (google textmate, the file format for it is documented on the net)

Or implement/code your own. See 1st link for tutorial.

eldonfsr:
Martin SynPositionHighlighter this of synedit or pluging this could be best option  i think to unse TSynanysyn but i don't see property Synposition

can you tell  me lite more about this please...   sorry but i new on synedit

thanks

Navigation

[0] Message Index

[#] Next page

Go to full version