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

Jan Paul Batrina <jpmbatrin...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/syntax-highlighting/
                   |                            |commit/a49918bbce6edb8c03c2
                   |                            |8435787c7e4a0a732bf0
             Status|ASSIGNED                    |RESOLVED

--- Comment #4 from Jan Paul Batrina <jpmbatrin...@gmail.com> ---
Git commit a49918bbce6edb8c03c28435787c7e4a0a732bf0 by Jan Paul Batrina.
Committed on 31/08/2021 at 14:34.
Pushed by cullmann into branch 'master'.

markdown.xml: End nested sub-headers fold regions when parent header is closed

e.g.

 # H1
 ## H2
 ### H3
 # H1 <-- All headers above should end here

This is currently done using a hack, visible to users
since part of the next header is included in the
previous region (e.g. [### H3\n# H]1 is how the region
above will be marked).

In the future, a better solution would be to provide a mechanism
to close multiple folding regions with a single rule.

M  +211  -199  autotests/folding/test.markdown.fold
M  +56   -44   autotests/html/test.markdown.dark.html
M  +56   -44   autotests/html/test.markdown.html
M  +12   -0    autotests/input/test.markdown
M  +56   -44   autotests/reference/test.markdown.ref
M  +25   -6    data/syntax/markdown.xml

https://invent.kde.org/frameworks/syntax-highlighting/commit/a49918bbce6edb8c03c28435787c7e4a0a732bf0

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

Reply via email to