[Gambas-Notification] [Git][gambas/gambas][master] Add 'css' highlighting, fix some bugs, add some enhancements.

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Sun Oct 22 01:01:19 CEST 2023



Benoît Minisini pushed to branch master at Gambas / gambas


Commits:
72417abe by Benoît Minisini at 2023-10-22T01:00:19+02:00
Add 'css' highlighting, fix some bugs, add some enhancements.

[GB.HIGHLIGHT]
* BUG: Fix intermediate state return on end of text.
* NEW: Add 'css' highlighting.
* NEW: Add imbricated 'css' inside 'html' highlighting.
* NEW: "word" and "symbol" commands can take their arguments in a file.
* NEW: Allow to define substitutions variable in definition files.
* BUG: Correctly Handle highlighting of a text token of more than 255 characters.
* NEW: Start to port Gambas highlighting to the new design.

- - - - -


19 changed files:

- comp/src/gb.highlight/.src/CCommandBetween.class
- comp/src/gb.highlight/.src/CCommandFrom.class
- comp/src/gb.highlight/.src/CCommandKeyword.class
- comp/src/gb.highlight/.src/CCommandMatch.class
- comp/src/gb.highlight/.src/CCommandSymbol.class
- comp/src/gb.highlight/.src/CCommandWord.class
- comp/src/gb.highlight/.src/CState.class
- comp/src/gb.highlight/.src/Main.module
- − comp/src/gb.highlight/.src/Main_1.module
- comp/src/gb.highlight/.src/TextHighlighter.class
- comp/src/gb.highlight/.src/TextHighlighterTheme.class
- comp/src/gb.highlight/.src/TextHighlighter_Gambas.class → comp/src/gb.highlight/.src/_TextHighlighter_Gambas.class
- comp/src/gb.highlight/custom/CustomHighlighter.class
- + comp/src/gb.highlight/highlight/css.highlight
- comp/src/gb.highlight/highlight/html.highlight
- comp/src/gb.highlight/highlight/javascript.highlight
- + comp/src/gb.highlight/highlight/javascript.keyword
- comp/src/gb.highlight/custom/page.html → comp/src/gb.highlight/test/page.html
- comp/src/gb.highlight/custom/selectr.js → comp/src/gb.highlight/test/selectr.js


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/72417abe784b64ac4c10d628737568767c00b2ec

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/72417abe784b64ac4c10d628737568767c00b2ec
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/notification/attachments/20231021/0af3d72f/attachment.htm>


More information about the Notification mailing list