Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: GitHub noreply@github.com Date: Tue, 07 Mar 2023 08:58:22 UTC Commit: afec6557e0f453a38b2976069de3763b8e1d09d1 https://github.com/geany/geany/commit/afec6557e0f453a38b2976069de3763b8e1d09...
Log Message: ----------- Merge pull request #3412 from techee/asciidoc_lvl5
Map asciidoc level 5 section so it can be shown in the sidebar
Modified Paths: -------------- src/tagmanager/tm_parser.c tests/ctags/simple.asciidoc.tags
Modified: src/tagmanager/tm_parser.c 3 lines changed, 2 insertions(+), 1 deletions(-) =================================================================== @@ -834,7 +834,7 @@ static TMParserMapEntry map_ASCIIDOC[] = { {'S', tm_tag_macro_t}, //subsection {'t', tm_tag_variable_t}, //subsubsection {'T', tm_tag_struct_t}, //l4subsection - {'u', tm_tag_undef_t}, //l5subsection + {'u', tm_tag_enumerator_t}, //l5subsection {'a', tm_tag_undef_t}, //anchor }; static TMParserMapGroup group_ASCIIDOC[] = { @@ -843,6 +843,7 @@ static TMParserMapGroup group_ASCIIDOC[] = { {N_("Section Level 2"), TM_ICON_NONE, tm_tag_macro_t}, {N_("Section Level 3"), TM_ICON_NONE, tm_tag_variable_t}, {N_("Section Level 4"), TM_ICON_NONE, tm_tag_struct_t}, + {N_("Section Level 5"), TM_ICON_NONE, tm_tag_enumerator_t}, };
// no scope information
Modified: tests/ctags/simple.asciidoc.tags 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -10,6 +10,8 @@ Level 4 Section 1.1.1.1.1 Title struct: Level 3 Section 1.1.1.1 Title :: Level 4 Section 1.1.1.1.1 Title Level 4 Section 2.1.1.1.1 Title�2048�Level 3 Section 2.1.1.1 Title�0 struct: Level 3 Section 2.1.1.1 Title :: Level 4 Section 2.1.1.1.1 Title +Level 5 Section 1.1.1.1.1.1 Title�4�Level 4 Section 1.1.1.1.1 Title�0 +enumerator: Level 4 Section 1.1.1.1.1 Title :: Level 5 Section 1.1.1.1.1.1 Title Section 1.1�64�Chapter 1 (Level 0)�0 member: Chapter 1 (Level 0) :: Section 1.1 Section 1.2�64�Chapter 1 (Level 0)�0
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).