Summary: | LaTeX highlighting error for \lstinline[]{...} | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Barade <barade.barade> |
Component: | syntax | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | mdunphy, nplatis |
Priority: | NOR | ||
Version: | 3.10.3 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kate/63e939b3dff41e4673e157f51caa0cf3e67da50b | Version Fixed In: | 4.11.1 |
Sentry Crash Report: | |||
Attachments: | Patch to fix lstinline highlighting |
Description
Barade
2013-07-09 13:07:39 UTC
Nikos, since you also sent a patch with respect to lstinline in bug #234846, can you comment on this here and maybe also send a patch? Michael, can you maybe have a look? Hi, See attached patch to fix this strange highlighting issue. Details: Broke out lstinline into it's own case because it takes optional parameters, and thus can't be lumped in with \verb All of the usage cases work for me below Text, code: \lstinline@int i=4;@ and back to normal text. \\ Text, code: \lstinline{int i=8;} and back to normal text. \\ Text, code: \lstinline[]^int i=4;^ and back to normal text. \\ Text, code: \lstinline[columns=fixed]{int i=4;} and back to normal text. \\ Text, code: \lstinline[columns=fixed]!int i=4;! and back to normal text. \\ Created attachment 81647 [details]
Patch to fix lstinline highlighting
Git commit d78263ceef0e5dc4b6d7d169f54669812e37850c by Dominik Haumann. Committed on 12/08/2013 at 07:53. Pushed by dhaumann into branch 'master'. fix LaTeX highlighting error for \lstinline[]{...} Thanks to Michael for the patch! FIXED-IN: 4.11.1 M +18 -2 part/syntax/data/latex.xml http://commits.kde.org/kate/d78263ceef0e5dc4b6d7d169f54669812e37850c Git commit 63e939b3dff41e4673e157f51caa0cf3e67da50b by Dominik Haumann. Committed on 12/08/2013 at 07:53. Pushed by dhaumann into branch 'KDE/4.11'. fix LaTeX highlighting error for \lstinline[]{...} Thanks to Michael for the patch! FIXED-IN: 4.11.1 M +18 -2 part/syntax/data/latex.xml http://commits.kde.org/kate/63e939b3dff41e4673e157f51caa0cf3e67da50b |