HP Forums
[wp34s] Syntax colouring in jEdit - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: Not HP Calculators (/forum-7.html)
+--- Forum: Not quite HP Calculators - but related (/forum-8.html)
+--- Thread: [wp34s] Syntax colouring in jEdit (/thread-8132.html)



[wp34s] Syntax colouring in jEdit - emece67 - 04-07-2017 06:31 PM

If anybody is using jEdit to write programs for the wp34s, I have wrote an XML mode file to add syntax colouring.

Being the expected audience for this so small, I will not send it to the jEdit developers to be included in the distribution (as I did previously for the VHDL & ARM32 assembler jEdit modes), but I'll upload it here.

This is how it looks:
[attachment=4655]

The entry in the catalog file should be:
Code:
<MODE NAME="wp34s"        FILE="wp34s.xml"
        FILE_NAME_GLOB="*.wp34s"/>

As this site does not allow to upload XML files, ensure you remove the .txt extension. Ensure also that you maintain the UTF-8 encoding for the file.

Regards.


RE: [wp34s] Syntax colouring in jEdit - Paul Dale - 04-07-2017 10:10 PM

While creating the XROM code, I made a mode for nedit for 34S assembly. It has a few rough edged but is workable:

[attachment=4662]

Pauli