editors/TextViewer.py
changeset 1758 845ca626db09
parent 1747 6046ffa2280f
child 1763 bcc07ff2362c
--- a/editors/TextViewer.py	Wed Aug 16 17:27:58 2017 +0300
+++ b/editors/TextViewer.py	Thu Aug 17 09:55:39 2017 +0300
@@ -545,7 +545,7 @@
                     else:
                         level = self.Editor.GetFoldLevel(line_number - 1) & wx.stc.STC_FOLDLEVELNUMBERMASK
                 if level != wx.stc.STC_FOLDLEVELBASE:
-                    level |=  wx.stc.STC_FOLDLEVELWHITEFLAG
+                    level |= wx.stc.STC_FOLDLEVELWHITEFLAG
             elif LineStartswith(line, self.BlockStartKeywords):
                 level |= wx.stc.STC_FOLDLEVELHEADERFLAG
             elif LineStartswith(line, self.BlockEndKeywords):