<table><tr><td style="">nibags edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-j4s43zl2dg7lwuj/">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D19999">View Revision</a></tr></table><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>In this case, the "hello" string is part of the "region1" and "region2" regions simultaneously, which generates folding problems. The ideal behavior is that "hello" isn't part of "region1", but of "region2". That is, don't publish length of endRegion folding in rules with beginRegion+endRegion.<br />
<br />
<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">For example, in `.desktop` files:<br />
{F6715422}<br />
<br />
</span>The following XML files use rules with beginRegion + endRegion:<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
* ansforth94.xml<br />
* apparmor.xml<br />
* asciidoc.xml<br />
* asp.xml c.xml<br />
* cisco.xml<br />
* desktop.xml<br />
* fortran.xml<br />
* haml.xml<br />
* ini.xml<br />
* isocpp.xml<br />
* julia.xml<br />
* lex.xml<br />
* lua.xml<br />
* makefile.xml<br />
* perl.xml</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">```</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* pony.xml</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">ansforth94.xml apparmor.xml asciidoc.xml asp.xml c.xml cisco.xml desktop.xml fortran</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* rhtml</span>.xml<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">haml.xml ini.xml isocpp.xml julia.xml lex.xml lua.xml makefile.xml perl.xml pony</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* rpmspec</span>.xml<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">rhtml.xml rpmspec.xml</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">*</span> rub<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">y.xml template-toolkit.xml txt2tags.xml yacc</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">y</span>.xml<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">```<br />
<br />
For example, in `.desktop` files:</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* template-toolkit.xml<br />
* txt2tags.xml</span><br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">{F6715422}</span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">* yacc.xml<br />
</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19999">https://phabricator.kde.org/D19999</a></div></div><br /><div><strong>To: </strong>nibags, Framework: Syntax Highlighting, cullmann, dhaumann, vkrause<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>