Author: bugman Date: Thu Sep 16 16:43:16 2010 New Revision: 11584 URL: http://svn.gna.org/viewcvs/relax?rev=11584&view=rev Log: Changed the colour scheme of the relax prompt GUI element to mimic gvim colours. Modified: branches/bieri_gui/gui_bieri/relax_prompt.py Modified: branches/bieri_gui/gui_bieri/relax_prompt.py URL: http://svn.gna.org/viewcvs/relax/branches/bieri_gui/gui_bieri/relax_prompt.py?rev=11584&r1=11583&r2=11584&view=diff ============================================================================== --- branches/bieri_gui/gui_bieri/relax_prompt.py (original) +++ branches/bieri_gui/gui_bieri/relax_prompt.py Thu Sep 16 16:43:16 2010 @@ -68,13 +68,17 @@ self.prompt = wx.py.shell.Shell(self, InterpClass=InterpClass) # Colours. - self.prompt.StyleSetBackground(style=stc.STC_STYLE_DEFAULT, back='black') - self.prompt.StyleSetSpec(stc.STC_STYLE_DEFAULT, "fore:light grey") + self.prompt.StyleSetBackground(style=stc.STC_STYLE_DEFAULT, back='white') + self.prompt.SetCaretForeground(fore="black") self.prompt.StyleClearAll() - self.prompt.StyleSetSpec(stc.STC_P_NUMBER, "fore:cyan") - self.prompt.StyleSetSpec(stc.STC_P_OPERATOR, "fore:white") - self.prompt.StyleSetSpec(stc.STC_P_DEFNAME, "fore:green") - self.prompt.StyleSetSpec(stc.STC_P_CLASSNAME, "fore:green") + self.prompt.StyleSetSpec(stc.STC_STYLE_DEFAULT, "fore:black") + self.prompt.StyleSetSpec(stc.STC_P_COMMENTLINE, "fore:#0000ff") + self.prompt.StyleSetSpec(stc.STC_P_NUMBER, "fore:#125a0a") + self.prompt.StyleSetSpec(stc.STC_P_STRING, "fore:#ff00ff") + self.prompt.StyleSetSpec(stc.STC_P_CHARACTER, "fore:#ff00ff") + self.prompt.StyleSetSpec(stc.STC_P_WORD, "fore:#a52a2a") + self.prompt.StyleSetSpec(stc.STC_P_DEFNAME, "fore:#008b8b") + self.prompt.StyleSetSpec(stc.STC_P_CLASSNAME, "fore:#008b8b") # Add the shell to the sizer. sizer.Add(self.prompt, 1, wx.EXPAND|wx.ALL, self.border)