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

Nibaldo G. <nibg...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
         Resolution|---                         |NOT A BUG

--- Comment #3 from Nibaldo G. <nibg...@gmail.com> ---
I added this context switch to the documentation: 

"""
An identifier, which is a context name, followed by two hashes (##) and another
identifier, which is the name of a language definition. This naming is similar
to that used in IncludeRules rules and allows you to switch to a context
belonging to another syntax highlighting definition, e.g.
"SomeContext##JavaScript". Note that it is not possible to use this context
switch in combination with #pop, for example, "#pop!SomeContext##JavaScript" is
not valid.
"""

See the commit here:
https://invent.kde.org/utilities/kate/-/commit/858b18d7a8d49348e4d4e24531f36e4f93cc6834

The documentation is not updated automatically, so we will have to wait.

In case you still have doubts, you can check the KSyntaxHighlighting source
code: 
https://invent.kde.org/frameworks/syntax-highlighting/-/blob/master/src/lib/contextswitch.cpp#L47

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

Reply via email to