Yes, please stop using yellow background and courier font, this remind Windows 3.x and 95' applications.Seymour Clufley wrote: Wed Jun 02, 2021 12:40 am This is a great idea. But please, please, don't use the default IDE color scheme! LOL
Syntax highlightning on the forums
Re: Syntax highlightning on the forums
Re: Syntax highlightning on the forums
This is a great option, very useful for reading the code
I'm not really a fan of the theme either, but well, tastes and colors...
I think it would be good to have it by default for [ code ] [ /code ] tags
without the need to go through other [ code-pb ] [ /code-pb ] tags.
If the latter remains, it would be good to have a corresponding button, next to "code display [ code ]code[ \code ]" button, when writing posts
I'm not really a fan of the theme either, but well, tastes and colors...
I think it would be good to have it by default for [ code ] [ /code ] tags
without the need to go through other [ code-pb ] [ /code-pb ] tags.
If the latter remains, it would be good to have a corresponding button, next to "code display [ code ]code[ \code ]" button, when writing posts
Re: Syntax highlightning on the forums
I don't know, if it is just my impression, but it seems like, the syntax highlighting of the forum is much slower in evaluation than my script.
If I compare similar codes here in the english forum (with the new code highlighting) and codes in the german forum (with my script), my code runs nearly instantly.
I think the problem is, that the syntax highlighting of the forum is 500 kB huge, with many unused languages but the code has to be parsed.
Can you remove all languages except PB?
If I compare similar codes here in the english forum (with the new code highlighting) and codes in the german forum (with my script), my code runs nearly instantly.
I think the problem is, that the syntax highlighting of the forum is 500 kB huge, with many unused languages but the code has to be parsed.
Can you remove all languages except PB?
Last edited by STARGÅTE on Fri Jun 04, 2021 8:48 am, edited 1 time in total.
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Lizard - Script language for symbolic calculations and more ― Typeface - Sprite-based font include/module
Re: Syntax highlightning on the forums
It uses prism.js, and I don't really want to mess with it...
Re: Syntax highlightning on the forums
Is this the right place to post a Forum bug?
Plain Text / PB / Copy buttons overlap!
I cannot insert an image directly!!
buttons overlap on Chrome latest.
Plain Text / PB / Copy buttons overlap!
I cannot insert an image directly!!
buttons overlap on Chrome latest.
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Syntax highlightning on the forums
Not sure where to post this...
The syntax highlighting doesnt like #Null$ its wrong.
Example:
The syntax highlighting doesnt like #Null$ its wrong.
Example:
Code: Select all
#Null$
Re: Syntax highlightning on the forums
It won't be perfect, it's mostly to have basic coloring
Re: Syntax highlightning on the forums
Hi Fred, any chance to fix the buttons in the code window?
The nice thing about standards is there are so many to choose from. ~ Andrew Tanenbaum
Re: Syntax highlightning on the forums
It's a phpbb plugin, I have no clue how to fix this.
Re: Syntax highlightning on the forums
Just fix in on your own -> https://github.com/PrismJS/prism/blob/m ... rebasic.jsMijikai 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$
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Syntax highlightning on the forums
Thats not an option hence my post.HeX0R wrote: Tue Jul 13, 2021 8:17 am
Just fix in on your own -> https://github.com/PrismJS/prism/blob/m ... rebasic.js
Re: Syntax highlightning on the forums
Syntax highliting for ForEver is also wrong:
Code: Select all
EnableExplicit
ForEver
Re: Syntax highlightning on the forums
Again:
This 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.
This 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.
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{History Viewer Online}.:|:.{Send a Beer}
Re: Syntax highlightning on the forums
U read that correctly - i would do it but i cant.


