X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/54a816a683bdbd0e2c66571c2db7af973af91557..2da6105611475cb08135997c587df72be67840bd:/wxPython/demo/wxStyledTextCtrl_2.py diff --git a/wxPython/demo/wxStyledTextCtrl_2.py b/wxPython/demo/wxStyledTextCtrl_2.py index aefd323557..6bf1f3f418 100644 --- a/wxPython/demo/wxStyledTextCtrl_2.py +++ b/wxPython/demo/wxStyledTextCtrl_2.py @@ -111,12 +111,12 @@ class PythonSTC(wxStyledTextCtrl): # Comment-blocks self.StyleSetSpec(wxSTC_P_COMMENTBLOCK, "fore:#7F7F7F,size:%(size)d" % faces) # End of line where string is not closed - self.StyleSetSpec(wxSTC_P_STRINGEOL, "fore:#000000,face:%(mono)s,back:#E0C0E0,eolfilled,size:%(size)d" % faces) + self.StyleSetSpec(wxSTC_P_STRINGEOL, "fore:#000000,face:%(mono)s,back:#E0C0E0,eol,size:%(size)d" % faces) self.SetCaretForeground("BLUE") - EVT_KEY_UP(self, self.OnKeyPressed) + EVT_KEY_DOWN(self, self.OnKeyPressed) def OnKeyPressed(self, event):