Editing User talk:Derf
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 6: | Line 6: | ||
As far i remember it was euss who did after a talk we had, but he never told me what he did, and now i think he customized some colors, today i been reading a bit the documentation and it seems there is a file named Genshi.css where the colors can be configured, i dont have access to that file but im guessing the changes was made in it, but im wondering it was lost years ago in one of the defyboy attempts to fix syntaxhighlight, if you have some old backup please take a look if there is some file with that color settings<br> | As far i remember it was euss who did after a talk we had, but he never told me what he did, and now i think he customized some colors, today i been reading a bit the documentation and it seems there is a file named Genshi.css where the colors can be configured, i dont have access to that file but im guessing the changes was made in it, but im wondering it was lost years ago in one of the defyboy attempts to fix syntaxhighlight, if you have some old backup please take a look if there is some file with that color settings<br> | ||
For curiosity sake... at some point i was doing a tricky combination of templates "broken" in pieces where i was using real systaxhighlight tags with fake ones (forcing the color highlighting manually with <nowiki><span style></nowiki>) to match with the custom colors from the real syntaxhighllight. IE: in this [[RCOXML_Objects#.280x802.29_Plane|section]] (click in edit to see how is composed and which xml code is real or fake highlight) that is loading chunks of the table from this [[Template:RCO_TOC_Objects_standard_attributes|template]]<br> | For curiosity sake... at some point i was doing a tricky combination of templates "broken" in pieces where i was using real systaxhighlight tags with fake ones (forcing the color highlighting manually with <nowiki><span style></nowiki>) to match with the custom colors from the real syntaxhighllight. IE: in this [[RCOXML_Objects#.280x802.29_Plane|section]] (click in edit to see how is composed and which xml code is real or fake highlight) that is loading chunks of the table from this [[Template:RCO_TOC_Objects_standard_attributes|template]]<br> | ||
*Basically... i was doing this color selection ( | *Basically... i was doing this color selection (elements in blue color:#000077, and the value of elements in red color:#ff3333): | ||
**<code><nowiki><span style="font-family:Courier New;">'''<Entry''' <span style="color:#000077;">positionX</span><span style="color:#ff3333;">="100"</span> '''/>'''</span></nowiki></code> | **<code><nowiki><span style="font-family:Courier New;">'''<Entry''' <span style="color:#000077;">positionX</span><span style="color:#ff3333;">="100"</span> '''/>'''</span></nowiki></code> | ||
*To display it like this: | *To display it like this: | ||
Line 15: | Line 15: | ||
*<code><span style="font-family:Courier New;">'''<Entry''' <span style="color:#000077;">positionX</span><span style="color:#ff3333;">="100"</span> '''/>'''</span></code> <--- Colored manually by me to match with the "old style" | *<code><span style="font-family:Courier New;">'''<Entry''' <span style="color:#000077;">positionX</span><span style="color:#ff3333;">="100"</span> '''/>'''</span></code> <--- Colored manually by me to match with the "old style" | ||
So far thats the explanation of why i was not sure latelly if syntaxhighlight was working, and a rough resume of how it was customizzed, now if you want to know my oppinion about what to do with this there are some things to consider. The custom xml colors used by euss really looks way better than the defaults (this was an improvement) | So far thats the explanation of why i was not sure latelly if syntaxhighlight was working, and a rough resume of how it was customizzed, now if you want to know my oppinion about what to do with this there are some things to consider. The custom xml colors used by euss really looks way better than the defaults (this was an improvement). And some of the pages i made have a dependancy with that color selection (i know, this was a bad idea but at that time i was experimenting a bit with wiki, as usual). I would like to restore that custom colors but if there is some room for improvements im fully into it. As far i understand euss customized only 2 xml colors, but in notepadd++ are at least 3 and are asigned in a different way than what euss did, the idealistic color selection to match 100% with notepad++ would be something like this (with 3 custom colors): | ||
*<code><span style="font-family:Courier New;">'''<span style="color:#7777cc;">< | *<code><span style="font-family:Courier New;">'''<span style="color:#7777cc;"><Tag'''</span> <span style="color:#ff3333;">element</span><span style="color:#000077;">="value"</span> '''<span style="color:#7777cc;">/></span>'''</span></code> | ||
If you find how to configure it to match this notepad++ color selection please do it because is better than what euss did --[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 11:41, 22 April 2023 (CEST) | If you find how to configure it to match this notepad++ color selection please do it because is better than what euss did --[[User:Sandungas|Sandungas]] ([[User talk:Sandungas|talk]]) 11:41, 22 April 2023 (CEST) | ||
* I don't have any experience with the extension, but I vaguely recall seeing an option to choose what color scheme you want to be default (like a preset palette) or an option to choose it via a parameter on the element via page editor. I'll look into it more when I get a chance - probably next weekend. [[User:Derf|Derf]] ([[User talk:Derf|talk]]) 23:59, 22 April 2023 (CEST) | * I don't have any experience with the extension, but I vaguely recall seeing an option to choose what color scheme you want to be default (like a preset palette) or an option to choose it via a parameter on the element via page editor. I'll look into it more when I get a chance - probably next weekend. [[User:Derf|Derf]] ([[User talk:Derf|talk]]) 23:59, 22 April 2023 (CEST) | ||