Hi,
I am looking for libraries to enhance the formatting of Uniface script/code in editors other than Uniface's own IDE. Think of commonly used editors like Notepad++, Sublime TXT or Atom. But especially when presenting code on an HTML page. Javascript libraries such as PrismJS are very popular for this purpose. Uniface is missing from the whole list of supported sources.
Has anyone created these files yet? Would you like to share them? Or create them?
I had already made something for Notepad++ once, but had to look it up. Now I've put it online on Gitlab. It's downloadable. Here : https://gitlab.com/Unividuals/uniface/development/external/notepadplusplus-udl
A little more background info:
If you see pieces of software code on a website, it will improve readability if it has a nice layout. Preferably a layout that belongs to that language or platform.
Whether it is HTML, css, javascript, C, etc. Readability is better with the right colours.
Uniface also has a recognisable layout. Functions, statements, strings and comments have a certain colour. And preferably we also see the code indented where necessary.
As with most other editors, in Uniface the layout is determined in the presentation layer and is not included when copying the content. So if you want to show Uniface script on a web page, the layout will not be included.
One option is to include a screenshot as an image. Looks good, but is not as handy if you want to copy the content.
That is why I would very much like to create a whole series of libraries. Who wants to help?
regards, Peter