Review Request 128935: HTML region fold support custom elements

Gregor Mi codestruct at posteo.org
Sun Feb 4 14:27:59 UTC 2018


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/128935/#review103860
-----------------------------------------------------------



How is this patch coming along? If this is not merged yet, maybe consider moving it to Phabricator since Reviewboard is deprecated now.

- Gregor Mi


On Feb. 13, 2017, 9:59 nachm., Yunhe Guo wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/128935/
> -----------------------------------------------------------
> 
> (Updated Feb. 13, 2017, 9:59 nachm.)
> 
> 
> Review request for Kate.
> 
> 
> Repository: ktexteditor
> 
> 
> Description
> -------
> 
> The HTML syntax file only marked some predefined elements, like div, table, form as foldable regions. This patch detect all paired elements, including customize element, like booklist, book, author. HTML defined void tags, like br, hr, img, input, are treated differently. They can avoid a close tag or self-close tag.
> 
> ![Imgur](http://i.imgur.com/pvh46xy.png)
> 
> 
> Diffs
> -----
> 
>   src/syntax/data/html.xml 3eb4781 
> 
> 
> Diff: https://git.reviewboard.kde.org/r/128935/diff/1/
> 
> 
> Testing
> -------
> 
> 
> File Attachments
> ----------------
> 
> Test HTML file
>   https://git.reviewboard.kde.org/media/uploaded/files/2016/09/18/50eadfad-1ded-4272-8fa5-73bc10a9e749__standard.html
> html.xml
>   https://git.reviewboard.kde.org/media/uploaded/files/2017/02/13/43e543f1-fa18-471e-961f-dc74465ba83e__html.xml
> 
> 
> Thanks,
> 
> Yunhe Guo
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20180204/fd323e7e/attachment.html>


More information about the KWrite-Devel mailing list