[Gambas-Notification] [Git][gambas/gambas][master] Fix 'gambas' highlighting when 'CanRewrite' is FALSE. Fix highlighting...

Benoît Minisini (@bminisini) gitlab at mg.gitlab.com
Fri Nov 3 01:21:48 CET 2023



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


Commits:
252617ba by Benoît Minisini at 2023-11-03T01:21:44+01:00
Fix 'gambas' highlighting when 'CanRewrite' is FALSE. Fix highlighting recursion when 'CanRewrite' is TRUE.

[GB.HIGHLIGHT]
* BUG: Fix 'gambas' highlighting when 'CanRewrite' is FALSE.
* BUG: Fix highlighting recursion when 'CanRewrite' is TRUE.
* NEW: TextHighlighter: 'ToHTML()', 'ToANSI()' and 'Paint()' now take the 'CanRewrite' property into account.
* NEW: Raise an error if we try to load 'gb.highlight' whereas 'gb.eval.highlight' is already loaded.

- - - - -


5 changed files:

- comp/src/gb.highlight/.src/Main.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/custom/CustomHighlighter.class


View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/252617baeff005f8fe4913516aa2899dd9d35b4d

-- 
View it on GitLab: https://gitlab.com/gambas/gambas/-/commit/252617baeff005f8fe4913516aa2899dd9d35b4d
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/20231103/b75cbe6f/attachment.htm>


More information about the Notification mailing list