--- ZeroBraneStudio-1.80/src/editor/markup.lua.ORIG 2018-10-08 08:12:12.000000000 +0600 +++ ZeroBraneStudio-1.80/src/editor/markup.lua 2019-06-06 14:31:19.760415010 +0600 @@ -200,7 +200,7 @@ p = p + 1 smark = smark - 1 end - editor:StartStyling(p, ide.STYLEMASK) + editor:StartStyling(p, 0) -- was: editor:StartStyling(p, ide.STYLEMASK) editor:SetStyling(smark, markup[MD_MARK_MARK].st) editor:SetStyling(t-f+1-smark-emark, markup[mark].st or markup[MD_MARK_MARK].st) editor:SetStyling(emark, markup[MD_MARK_MARK].st) @@ -214,7 +214,7 @@ -- has this line changed its wrapping because of invisible styling? if wrapped > 1 and editor:WrapCount(line) < wrapped then needfix = true end end - editor:StartStyling(es, ide.STYLEMASK) + editor:StartStyling(es, 0) -- was: editor:StartStyling(es, ide.STYLEMASK) -- if any wrapped lines have changed, then reset WrapMode to fix the drawing if needfix then