Page 4 of 5

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 1:49pm
by BruceSteers
stevedee wrote: Wednesday 29th December 2021 12:27pm
BruceSteers wrote: Wednesday 29th December 2021 11:40am ...Good for you then Steve...
Yep, ever wish you hadn't started something?

There used to be a great web site where you could check the appearance of any web page, on about 50 different browsers ...for free!

Unfortunately I can't find it. Although there are now loads, they all seem to demand money.

If its too difficult to check your own config using Developer Tools I'd suggest putting the old theme.css back ...as I said before, I'm really not that bothered.

Hazaaaaa :)
lol i used firefox's dev-tools and discovered something.
my theme.css did not have the added gambas code.
so I cleared the data cache in firefox for gambasone and now it does :)
Untitled.png
Cheers dude :)

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 2:06pm
by BruceSteers
i just want to test something now..
Test_Shell
Test HTML_Highlight
 Test_Gambas

Code: Select all

Test_Code
Right on testing that i found HTML was okay but shell highlight also had the glitch.

So,, attached is a slightly different edit Charlie..

In this version i removed the newly added .syntaxhighlighter gambas specific padding and added the padding to the general .syntaxhighlighter

with that the padding is applied to ALL highlight modes

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 2:27pm
by BruceSteers
Here is the edit live so you can see the difference on the above post..


Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 3:01pm
by BruceSteers
oops bug

Sorry there was a bug in the code :-\
it was missing a :
padding 5px 0
should have been
padding:5px 0

Have re-uploaded it

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 3:02pm
by cogier
I have uploaded V2. Is that the code with a bug?

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 3:05pm
by BruceSteers
cogier wrote: Wednesday 29th December 2021 3:02pm I have uploaded V2. Is that the code with a bug?
Not now, i saw the file had one download , it's been reuploaded (old mistake deleted)

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 3:08pm
by cogier
OK Version 3 now installed.

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 3:13pm
by BruceSteers
cogier wrote: Wednesday 29th December 2021 3:08pm OK Version 3 now installed.
Looks perfect :)

i cleared the firefox data again, reloaded and the code looks good in the dev tools.
There are underscores everywhere :) :D
And a single line gb looks much better with a little spacing :)

Well done dude (s)

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 3:41pm
by cogier
Well I'm using Chromium and I can't see the difference, but if everybody's happy then I am as well.

I hope you all have a nice start to the New Year and stay clear of the dreaded Covid...

Re: [SOLVED] GambasOne Highlighting: missing underscores

Posted: Wednesday 29th December 2021 5:05pm
by BruceSteers
cogier wrote: Wednesday 29th December 2021 3:41pm Well I'm using Chromium and I can't see the difference, but if everybody's happy then I am as well.

I hope you all have a nice start to the New Year and stay clear of the dreaded Covid...
did you clear the page cache?

You should try Firefox Charlie.
that handy interactive style sheet editor you saw in action in the above clip was as simple as hitting F12 then clicking the theme.css file on the style editor tab.

And likewise to all you said dude, wishing well, stay safe, stay clear of all bad things not just that covid, they're all still out there :)