[SOLVED] GambasOne Highlighting: missing underscores

Feel free to talk about non programming issues here.
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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 :)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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
Last edited by BruceSteers on Wednesday 29th December 2021 3:00pm, edited 2 times in total.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post by BruceSteers »

Here is the edit live so you can see the difference on the above post..

If at first you don't succeed , try doing something differently.
BruceS
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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
Last edited by BruceSteers on Wednesday 29th December 2021 3:04pm, edited 1 time in total.
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post by cogier »

I have uploaded V2. Is that the code with a bug?
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post by cogier »

OK Version 3 now installed.
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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)
If at first you don't succeed , try doing something differently.
BruceS
User avatar
cogier
Site Admin
Posts: 1118
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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...
User avatar
BruceSteers
Posts: 1523
Joined: Thursday 23rd July 2020 5:20pm
Location: Isle of Wight
Contact:

Re: [SOLVED] GambasOne Highlighting: missing underscores

Post 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 :)
If at first you don't succeed , try doing something differently.
BruceS
Post Reply