The jEdit syntax generator has been thoroughly updated.
Because the syntax is generated, it can automatically add new symbols as newLISP is updated, and it will be perfectly tailored to your newLISP installation (Mac, Linux, Win, OS/2; ASCII, UTF8).
http://www.newlisp.org/index.cgi?Code_Contributions
v0.50
* Upgraded to be properly compatible with jEdit 4.3.
* Some deprecated functions for newLISP v10 are now highlighted as INVALID.
* Full newlispdoc 1.8 syntax has also been added
jEdit syntax generator (v0.53)
jEdit syntax generator (v0.53)
Last edited by m35 on Sun Jan 04, 2009 9:46 am, edited 2 times in total.
-
- Posts: 394
- Joined: Wed Apr 26, 2006 3:37 am
- Location: Oregon, USA
- Contact:
Haha you're absolutely right Michael.
newlispdoc devours the original code
and the html is displayed like this.
The text is still there in the html, but isn't displayed in the browser. This also occurs for the <?xml version="1.0"?> at the top of the syntax template string.
Lutz, I'm thinking just link directly to the .lsp file and not use newlispdoc?
newlispdoc devours the original code
Code: Select all
||| <!-- NO_ESCAPE attribute removed for jEdit 4.3 -->
||| <SPAN TYPE="LITERAL2">
|||| <BEGIN><?[ (string "[text" "]") ]></BEGIN>
|||| <END><?[ (string "[/text" "]") ]></END>
||| </SPAN>
Code: Select all
||| <!-- NO_ESCAPE attribute removed for jEdit 4.3 -->
||| <SPAN TYPE="LITERAL2">
|||| <BEGIN></BEGIN>
|||| <END></END>
||| </SPAN>
Lutz, I'm thinking just link directly to the .lsp file and not use newlispdoc?
newlispdoc now handles <?...> tags correctly, an updated source listing has been posted for jEdit:
http://www.newlisp.org/code/jedit-newli ... sp.sh.html
and
http://www.newlisp.org/code/jedit-newli ... h.src.html
and the updated newlispdoc:
http://www.newlisp.org/syntax.cgi?code/newlispdoc.txt
and syntax.cgi
http://www.newlisp.org/syntax.cgi?code/syntax-cgi.txt
ps: newlispdoc has syntax.cgi built-in to pregenerate html source files. syntax.cgi is for on-the-fly highlighting.
http://www.newlisp.org/code/jedit-newli ... sp.sh.html
and
http://www.newlisp.org/code/jedit-newli ... h.src.html
and the updated newlispdoc:
http://www.newlisp.org/syntax.cgi?code/newlispdoc.txt
and syntax.cgi
http://www.newlisp.org/syntax.cgi?code/syntax-cgi.txt
ps: newlispdoc has syntax.cgi built-in to pregenerate html source files. syntax.cgi is for on-the-fly highlighting.
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
v0.51
- simplified newlispdoc highlighting
- added platform specific symbols
v0.52
- added missing '@link'
- fixed digit regex
- added generator version note to generated file
Note that a recent Java update for Mac OS X has broken jEdit v4.3pre*. There is a fairly simple workaround posted here.
- simplified newlispdoc highlighting
- added platform specific symbols
v0.52
- added missing '@link'
- fixed digit regex
- added generator version note to generated file
Note that a recent Java update for Mac OS X has broken jEdit v4.3pre*. There is a fairly simple workaround posted here.
m35's improved number regex has also been added to:
http://www.newlisp.org/syntax.cgi?code/syntax-cgi.txt
and:
http://www.newlisp.org/syntax.cgi?code/newlispdoc.txt
http://www.newlisp.org/syntax.cgi?code/syntax-cgi.txt
and:
http://www.newlisp.org/syntax.cgi?code/newlispdoc.txt