diff -r c3679f96020b -r 38fde37c3766 editors/TextViewer.py --- a/editors/TextViewer.py Sat Aug 19 00:30:22 2017 +0300 +++ b/editors/TextViewer.py Sat Aug 19 00:58:44 2017 +0300 @@ -51,7 +51,8 @@ STC_PLC_EMPTY] = range(11) [SPACE, WORD, NUMBER, STRING, WSTRING, COMMENT, PRAGMA, DPRAGMA] = range(8) -[ID_TEXTVIEWER, ID_TEXTVIEWERTEXTCTRL, +[ + ID_TEXTVIEWER, ID_TEXTVIEWERTEXTCTRL, ] = [wx.NewId() for _init_ctrls in range(2)] re_texts = {}