https://bugs.kde.org/show_bug.cgi?id=405585
--- Comment #4 from Nibaldo G. <nibg...@gmail.com> --- The problem occurs when using beginRegion+endRegion in the same rule. Ex: <StringDetect String="hello" endRegion="region1" beginRegion="region2" /> In this case, the string "hello" is part of the "region1" and "region2" regions simultaneously, which generates folding problems. The behavior you expect (and the ideal behavior) is that "hello" isn't part of "region1", but of "region2". I have checked and there are many XML files that use endRegion+beginRegion and in which there is an incorrect folding due to this bug. -- You are receiving this mail because: You are watching all bug changes.