Syntax highlightning on the forums

Developed or developing a new product in PureBasic? Tell the world about it.
User avatar
ChrisR
Addict
Addict
Posts: 1127
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: Syntax highlightning on the forums

Post by ChrisR »

HeX0R wrote: Thu Aug 19, 2021 1:02 pm is is the highliter from PRISM (see my link) and out of Freds hands.
I made the initial highliter for prism once in the past for my own need, and I'm fine with it.
And you are not willing to change it (no option you said), so, live with it or wait until someone else fixes it.
It's very useful to better read the code but there are very few codes using [ code-pb ] [ /code-pb ], including all former code.
Is it possible to implement it for [ code ] [ /code ] tags ? Is it in Fred's hands ?
Otherwise, is there any way to do it locally ?
User avatar
HeX0R
Addict
Addict
Posts: 980
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Syntax highlightning on the forums

Post by HeX0R »

It's very useful to better read the code but there are very few codes using [ code-pb ] [ /code-pb ], including all former code.
Is it possible to implement it for [ code ] [ /code ] tags ? Is it in Fred's hands ?
Yes, this is in Freds hands
Otherwise, is there any way to do it locally ?
You can use this user script from STARGÅTE.
[Edit]
Oh, when reading through that thread, I can see, that you are already using it, anyway, I'll keep the link in for others.
User avatar
StarBootics
Addict
Addict
Posts: 984
Joined: Sun Jul 07, 2013 11:35 am
Location: Canada

Re: Syntax highlightning on the forums

Post by StarBootics »

@Fred : Apparently the keyword "ForEver" is missing in the Syntax highlighting.

Code: Select all

Repeat
ForEver
Best regards
StarBootics
The Stone Age did not end due to a shortage of stones !
User avatar
HeX0R
Addict
Addict
Posts: 980
Joined: Mon Sep 20, 2004 7:12 am
Location: Hell

Re: Syntax highlightning on the forums

Post by HeX0R »

Mijikai wrote: Sun Jun 06, 2021 10:57 am Not sure where to post this...
The syntax highlighting doesnt like #Null$ its wrong.

Example:

Code: Select all

#Null$
StarBootics wrote: Mon Oct 11, 2021 12:00 pm @Fred : Apparently the keyword "ForEver" is missing in the Syntax highlighting.

Code: Select all

Repeat
ForEver
Best regards
StarBootics
I've fixed both in prism, but I don't know when the forum plugin will keep track on it.
Post Reply