https://bugs.kde.org/show_bug.cgi?id=405585

--- Comment #3 from prusselltechgr...@gmail.com ---
Created attachment 118968
  --> https://bugs.kde.org/attachment.cgi?id=118968&action=edit
Kate 17 (leap) vs Kate 18 (tumbleweed): Image of top level code folding

I'll take a look tomorrow in more detail, but it looks like it might be. It
seems the end is one-off.  The snippet of validated xml below focuses on
highlighting blocks/code folding (see original attachment for xml and sample
test file):

<context attribute="Normal"           lineEndContext="#stay"       
name="_SingleLineTitle">
  <RegExpr attribute="TitleSection0"  context="#stay"              
String="^(={1})\s+\S(?:.*[^=])(?:\s+\1)?$"
             beginRegion="SingleLineFolding" endRegion="SingleLineFolding" />
  <RegExpr attribute="TitleSection1"  context="#stay"              
String="^(={2})\s+\S(?:.*[^=])(?:\s+\1)?$"
             beginRegion="SingleLineFolding" endRegion="SingleLineFolding" />
  <RegExpr attribute="TitleSection2"  context="#stay"              
String="^(={3})\s+\S(?:.*[^=])(?:\s+\1)?$"
             beginRegion="SingleLineFolding" endRegion="SingleLineFolding" />
  <RegExpr attribute="TitleSection3"  context="#stay"              
String="^(={4})\s+\S(?:.*[^=])(?:\s+\1)?$"
             beginRegion="SingleLineFolding" endRegion="SingleLineFolding" />
  <RegExpr attribute="TitleSection4"  context="#stay"              
String="^(={5})\s+\S(?:.*[^=])(?:\s+\1)?$"
             beginRegion="SingleLineFolding" endRegion="SingleLineFolding" />
</context>

I am running OpenSuSE Leap 15 which has Kate 17.12.3 (folding ok) and OpenSuSE
Tumbleweed 20190315 which has Kate 18.12.3 (folding not ok). I am using Kate's
Help > About Kate to obtain Kates version, as well as KDE Framework and QT
versions as originally reported.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to