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

            Bug ID: 415384
           Summary: LaTeX braces matching in \input is off
           Product: kate
           Version: 19.12.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: ma...@protonmail.ch
  Target Milestone: ---

SUMMARY
In LaTeX highlighting, using commands with braces inside an \input{} argument
wrongly matches the opening brace of the \input with the closing brace of the
inner command, i.e. the opening brace of the inner command is ignored.


STEPS TO REPRODUCE
1. Open a new Kate document
2. Switch the highlighting to LaTeX
3. Type in: \input{\a{}}
4. (\a can be replaced by another command, or even left out)

OBSERVED RESULT
The first opening brace is matched with the first closing one.

EXPECTED RESULT
The braces of the \input (outer braces) should match together, and the inner
ones (of the \a) together.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

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

Reply via email to