[pywin32-bugs] [ pywin32-Bugs-2560493 ] No option to change default background.
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2009-02-09 02:10:43
|
Bugs item #2560493, was opened at 2009-02-03 06:39 Message generated for change (Settings changed) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2560493&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: pythonwin Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: MizardX (mizardx) Assigned to: Roger Upole (rupole) Summary: No option to change default background. Initial Comment: In my quest to get a light-on-dark theme in the editor, I found the "Default Background" registry option. But there is no control to change that in the "Pythonwin Options"-dialog. "Default Background" is referenced from pywin\scintilla\formatter.py on line 77: bg = int( self.LoadPreference( "Default Background", -1 ) ) I do not have enough knowledge of C++ and windows-programming to attempt to add a new control to the dialog. ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2009-02-08 20:42 Message: Just committed formatter.py r1.20 and configui.py r1.7, which allow you to set the overall background via the "Whitespace background" setting. ---------------------------------------------------------------------- Comment By: Roger Upole (rupole) Date: 2009-02-08 16:07 Message: >From looking at the code, it appears that the whitespace background (registered as STYLE_DEFAULT) was originally intended to be the overall default background. This should be doable without any changes to the UI. Unless anybody has any objections, I'll implement this and remove the hidden registry setting altogether. ---------------------------------------------------------------------- Comment By: MizardX (mizardx) Date: 2009-02-03 07:02 Message: For anyone who would be interested in a light-on-dark theme (rip of the desert theme from gvim), here is a reg-file with the appropriate settings. Folding does not work with this theme (and gets disabled my the reg-file), as it is currently impossible to change the color of the folding-column trough settings alone. Also, it uses the 'Consolas' font instead of the default 'Courier New'. File Added: desert_theme.reg ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=2560493&group_id=78018 |