[frameworks-syntax-highlighting] [Bug 379005] Kate highlights the word END inside Bash comments

Dominik Haumann bugzilla_noreply at kde.org
Tue May 29 21:13:28 UTC 2018


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

Dominik Haumann <dhaumann at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Dominik Haumann <dhaumann at kde.org> ---
This already improved: Only if END is a word with word boundaries, it is
highlighted.

In fact, this is a feature by design, called region markers that define code
folding regions:

# BEGIN asdf
...
# END

Here, BEGIN will start a code folding region that is ended with END. This is
similar to other conventions such as {{{ ... }}}. So this is not a classical
bug, but rather intended.

Therefore, I'll close for now as NOT-A-BUG.

The Kate developers certainly can discuss whether this feature is really
valuable - and if not, we can also remove it. But it's not possible to only
disable it for Bash, and even if we did, it would not help much, since this is
an issue with all highlighting files. The respective rules are in Alert.xml.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list