Branch: refs/heads/master Author: Jiří Techet techet@gmail.com Committer: Jiří Techet techet@gmail.com Date: Fri, 24 Feb 2023 12:50:28 UTC Commit: 9b3aa43f8c6d10ccc6f4f405bb7065da86f93daf https://github.com/geany/geany/commit/9b3aa43f8c6d10ccc6f4f405bb7065da86f93d...
Log Message: ----------- Map asciidoc level 5 section so it can be shown in the sidebar
Fixes #3411.
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).