some very personal syntaxs will display poor color.
so I guess if the syntax highlight can support reg expression, everything will be ok.
then I try to find some other editor. it seems the "SynWrite" has some similar with NP++. it seems support regular syntax highlight.
thanks for letting me know about SynWrite. Very nice editor.
I never heard of EControl Syntax Editor, but it is a very nice project.
Just out of curiosity, what is it that you need that UDL doesn't support? I know you said RE support, but I wonder which keyword group do you need RE support for. Can you share some examples?
I just find this SynWrite support RE. It is complex. I dont understand it how to work. ^_^!!
and I try to learn it. But it has no some my favor plugins, such as compare, source cookier,...
I meant to say, what do you need in UDL to support your language.
Can you show here your RE expressions, and tell foe which keyword type you use them for?
my language is like this:
line2 .options tnom=25 post=binary $ probe
both "" and "$" are comment symbol. the "" must be at the start of line, "$" should not be at the start. the "" is also used to mathmatics symbol, "+-/"
when the start of a line is "*", this line is comment line.
when one "$" is in a line, all words after this "$" should be marked as comment.
for fold code:
line1 all are subckt is operat
line2 subckt xidly xidly xidly xidly xidly xidly.xian
line3 id -2.000e-06 -2.633e-06 2.633e-06 0.000e+00 4.719e-14 -1.388e-10
line4 cgd 2.429e-15 3.704e-14 3.988e-15 7.478e-15 7.276e-16 5.665e-15
I want the fold style is from "subckt(line2)" to "cgd(line4)". but now when i fill "subckt" into startpoint of fold, the startpoint is line1, because one "subckt" is in line1.
I know my language is very stange. but it is simple.
Problem 1 (position of line comments) is already solved. Please download Notepad++ 6.3 RC and test it yourself https://sourceforge.net/p/notepad-plus/discussion/331753/thread/5505a4eb/?limit=25#edcc
You can now specify where line comments start:
- at beginning of line
- anywhere but only if preceeded with white space
Folding can be tweaked as needed too.
One way to do it is to define Delimiter1 like this:
Keep styling of Delimiter1 the same as default text. If you wish you can nest other keywords within Delimiter1.
Now define "subckt" as folding point, and it should work as expected.
thanks very much. I try it.