You need to be logged in to post in the forums. If you do not have an account, please sign up first.
Change text highlight color when viewing html sourcecode
Hello,first time post, so i'm hoping it goes under customization (i don't know if it's a feature request or not yet).
Using Ctrl + F on pages works great, text found are clearly highlighted. But whenever i view some html source and use ctrl + F, it's almost impossible to see what has been highlighted, as it is highlighted in light grey, for some very strange reason..
Anyone know how to change the highlight color to something more sensible?
That was helpful, but red is no good for me since I suffer from red/green colour-blindness. This works better for me — white text on a black background for selected text, and black text on light green for nofocus text.
After more tests I changed the colours again.
[Generic]
Selected Text bgcolor nofocus = #BEDCA8
Selected Text color nofocus = #2C2C2C
Selected text color = #000000
Selected text bgcolor = #FFFF83


However, for some odd reason the colours are not used until I switch skins while Opera is running.
After more tests I changed the colours again.
[Generic]
Selected Text bgcolor nofocus = #BEDCA8
Selected Text color nofocus = #2C2C2C
Selected text color = #000000
Selected text bgcolor = #FFFF83


However, for some odd reason the colours are not used until I switch skins while Opera is running.
Skins • Tips • Buttons ▪ Backup • Security • User Scripts • Language Forums • Wiki
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Originally posted by Pesala:
That was helpful, but red is no good for me
It was red just so he can see better what exactly changes when he edits the skin
Originally posted by Pesala:
However, for some odd reason the colours are not used until I switch skins while Opera is running.
It's a bug, I submitted it, DSK-328211:
Summary: Some custom skin settings don't reapply on startup Steps to reproduce =================== 1. Apply the attached skin to your Opera (install it manually to your "Opera directory"/skin/ dir) 2. Notice that upon first applying all custom settings work (there is no focus rectangle, selected text background color is red, etc.) 3. Restart Opera Expected result =============== Settings apply on restart, too Actual result ============= Opera doesn't apply some settings on startup, like [Generic] Draw focusrect = 0 and [Generic] Selected Text bgcolor nofocus = #FF0000
Lately I've noticed that not even some [Options] apply properly either, like Dim Disabled Backgrounds = 0.
Originally posted by sutekh:
It's a bug, I submitted it, DSK-328211
Thanks. Good to know that I didn't do something wrong.
Skins • Tips • Buttons ▪ Backup • Security • User Scripts • Language Forums • Wiki
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
That would be great. I was irritated with the virtual lack of selection highlight while viewing the source code. I don't understand why it doesn't work exactly the same as in a tab (which has a perfect implementation, btw).
The problem is that when you change those settings under [Generic], it changes the colors in other places.
Check Pref/Adv/Shortcuts for instance.
The problem is that when you change those settings under [Generic], it changes the colors in other places.
Check Pref/Adv/Shortcuts for instance.
Responses from some Opera devs.
http://my.opera.com/community/forums/findpost.pl?id=9954982
http://my.opera.com/community/forums/findpost.pl?id=9954982
I found a workaround for this problem. Not a very good one, though.
1. Don't add the lines to the [Generic] section.
2. Go into View - Developer tools - source - find.
3. Type your search word into the search box.
4. Now select and highlight any text in the source code window, even just a couple characters.
5. I'm using XP, and the selection is highlighted with yellow text on a dark blue background.
6. Hit the "find next" or "find previous" button on the Find bar.
7. My search term now shows up highlighted, yellow on blue, as I click the find buttons.
If you go back to the Find bar, like to type some more, you will have to highlight in the window again, and then again use the find buttons.
I hope this will work for everyone.
1. Don't add the lines to the [Generic] section.
2. Go into View - Developer tools - source - find.
3. Type your search word into the search box.
4. Now select and highlight any text in the source code window, even just a couple characters.
5. I'm using XP, and the selection is highlighted with yellow text on a dark blue background.
6. Hit the "find next" or "find previous" button on the Find bar.
7. My search term now shows up highlighted, yellow on blue, as I click the find buttons.
If you go back to the Find bar, like to type some more, you will have to highlight in the window again, and then again use the find buttons.
I hope this will work for everyone.
The easiest solution is to use an external source code viewer — Preferences, Programs, Choose application for viewing source.
Skins • Tips • Buttons ▪ Backup • Security • User Scripts • Language Forums • Wiki
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links
Browser JS • Changelogs • Opera Next • Dragonfly • Bugs • Crashes • FTP
My Website ▪ My Forums ▪ Opera Review ▪ My Fonts ▪ IrfanView • Search • Downloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs
Rules of Conduct and Posting Rules • Please Don't Shout • Editing Posts • Opera Config Links