On Freitag, 11. Dezember 2009, Ole Johan Væringstad wrote: > Hi > > That didn't solve it for me, because any unedited lines are still white.
I could reproduce it on my openSUSE system as well. Seems we hit a QScintilla problem. Phil, can you please have a look at it. If you have a style with e.g. a black background the QScintilla background is black as well, if no lexer is set. As soon as a lexer is assigned, the background changes to white except for actual lines (those having a number in the line number margin). > If you have this problem solved, can you export the preferences and mail > them to me, so I can see the actual settings? > > I have found a workaround though: Invert colors. I've never instantly > fallen in love with a keyboard shortcut before .. :) ctrl-alt-cmd-8 on > mac, super-m and super-n on ubuntu > > Regards, > Ole Johan > > On 12/11/09 6:39 PM, detlev wrote: > > Hi, > > > > the solution is to set the background of all highlighter styles to the > > background of your style. You must set the fill to end of line option for > > the default font as well. That should result in the desired effect. > > Unfortunately there is no method provided by QScintilla (or even > > Scintilla) to do that. > > > > Regards, > > Detlev > > > > On Donnerstag, 10. Dezember 2009, Ole Johan Væringstad wrote: > >> Ok, I give up .. I've been spending several hours trying to figure this > >> out > >> > >> How do I set the background color of the editor to black? > >> > >> I've checked the "fill to end of line" box, that only solves part of the > >> problem > >> > >> I also found an old post. The reply was: Change Qt's default background > >> with qtconfig4, or select a style with a background to my liking. > >> I ran qtconfig, set the base color to black, but the "unused" lines in > >> the text editor was still white .. > >> > >> So how do I select a style with a background to my liking? > >> In /usr/share/eric/Styles I found a file called Pure_Technology_Dark.qss > >> Is this what I'm looking for? How do I set it up? > >> > >> Yes, I know I'm a n00b, but this was so straight forward in vim and > >> QtCreator > >> With so many options for colors, why can't there be one for the > >> background of the text editor? > >> > >> > >> - Ole Johan > >> > >> > >> > >> > >> > >> _______________________________________________ > >> Eric mailing list > >> Eric@riverbankcomputing.com > >> http://www.riverbankcomputing.com/mailman/listinfo/eric > -- Detlev Offenbach det...@die-offenbachs.de _______________________________________________ Eric mailing list Eric@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/eric