SyntaxHighlighting in 1.52.7

Here we can discuss about the problem found
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: SyntaxHighlighting in 1.52.7

Post by PeterN »

[Local Link Removed for Guests] wrote: [Local Link Removed for Guests]Tue Apr 23, 2024 9:04 am ... I'm actually in deplacement so I'll not be able to check before next week.

I'll try to document and explain how change the colours
No need for a hurry , that does not need an urgent fix!

For the annex.css: I had intermediately made the try to manually load the wrong file annex.css instead of annex32.css .

But when starting the editor-page my firefox and Chrome say that seems to be a question of the annex32.css file being not delivered because of
" Referrer Policy: strict-origin-when-cross-origin" at the server side


Good luck with the deplacement!
Jan Volk
Posts: 89
Joined: Wed Mar 03, 2021 1:35 pm
Been thanked: 27 times

Re: SyntaxHighlighting in 1.52.7

Post by Jan Volk »

I also saw the same thing as PeterN.
The colors can be adjusted, but the colors of the functions, commands and comments are not colored. However, the string colors and the arithmetic operators. By placing an empty file with annex32.css in the home directory it should be standard again, which is not the case for the basic commands. It occurs with FireFox and Chrome. Flashed with Annex ToolKit 1.22 and AnnexToolkit multiplatform 1.1.
Not colored the basic keywords (purple) and commands (blue) and comments (yellow-green) and " " functions (orange-yellow). However, the strings of functions (orange) and arithmetic functions (red) and the numerical functions (pink) have the correct colors in 1.52.7 with an empty file annex32.css in the base folder.
But there is certainly no rush. There are plenty of stable versions released to get you started.

Jan
User avatar
cicciocb
Site Admin
Posts: 2055
Joined: Mon Feb 03, 2020 1:15 pm
Location: Toulouse
Has thanked: 439 times
Been thanked: 1354 times
Contact:

Re: SyntaxHighlighting in 1.52.7

Post by cicciocb »

I've just fixed the version 1.52.7 for the ESP32; you can download again.

All should work as expected
User avatar
PeterN
Posts: 392
Joined: Mon Feb 08, 2021 7:56 pm
Location: Krefeld, Germany
Has thanked: 184 times
Been thanked: 220 times
Contact:

Re: SyntaxHighlighting in 1.52.7

Post by PeterN »

Thank you very much, Francesco!
The listing now looks exactly as it should! :-)
Post Reply