Has anyone developed a scheme creator/editor yet?
This seems to be an important function missing from PN.
Scheme Creator?
(8 posts) (5 voices)-
Posted 1 year ago #
-
Hi, I started one at one point but didn't get very far. It would be good to do this soon if anyone fancies taking a bash at it, or alternatively I may find time later in the year once the current text clips work is finished.
Posted 1 year ago # -
i think it will be not so effectively. today i'm first time install PN on my computer and trying to set my own syntax highlight for python. crap... 8 hours i'm looking for manuals, examples and source code and i still don't understand how it works ;-/
i think is more reason to write more detail manuals. for example,
http://pnotepad.org/docs/howto/add_support_for_your_language
makes more questions than answers.imho. manual should contents not only brief specification. it should explain how it works together? how it references with another setting? and etc.
Posted 1 year ago # -
Agreed, documentation is just as important as a creator tool, although I'd guess if there was a good UI for adding your language support built-in then you would never need that documentation for the file format.
Posted 1 year ago # -
I voted for „not very important“ simply because the scheme/schemdef/whatever is quite too complicated, if all you need is highlighting for different keywords, comment style and maybe identifiers. That covers >95% of all cases because the most used languages are already covered by PN.
Use UltraEdit wordfiles. That’s easy, that works. If someone still needs and wants to build an own lexer, you could still add it to the wordfile syntax.
Have some examples: http://www.ultraedit.com/downloads/extras.html#wordfilesSorry, but XML is not for programming. It is way for storing data to automatically parse it by a program and still be readable by human. „Readable“ means on the other hand, no one wants actually to _write_ XML manually. The wordfiles are easy to read, to write, to parse, to be extended.
Posted 1 year ago # -
Sorry for the harsh posting. The UltraEdit wordfile syntax is not quite the best. But we have to ask why it is so much more easy than using .schemedef files. Maybe its the simplicity and the possibility to get what you want. We could use the XML syntax with the options from UltraEdit: define different styles, keyword lists, comment styles, delimiters. And I don’t need much more. Just put these options into a nice structure.
Posted 1 year ago # -
I tried Programmer's Notepad for a couple weeks using it for C, PHP and HTML. All is good but I now need to add support for a custom scripting language. Unfortunately the "instructions" under add_support_for_your_language is of little help. Without additional information I cannot get a scheme file to work. Too many unknowns to even begin asking questions. A Scheme Creator would be nice, so would a better explanation of creating new scheme files. Sorry it didn't work out. I will look for a new editor. Just wanted to let someone know.
Posted 1 year ago # -
@RRRR Thanks for the feedback, it's very helpful.
Posted 1 year ago #
Reply
You must log in to post.