Bug 377163 - Syntax hilight problem when single quote met
Summary: Syntax hilight problem when single quote met
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-03 13:42 UTC by Igor Volnyi
Modified: 2017-03-05 12:28 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot and problematic file (258.36 KB, application/zip)
2017-03-03 13:42 UTC, Igor Volnyi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Volnyi 2017-03-03 13:42:34 UTC
Created attachment 104337 [details]
Screenshot and problematic file

See the attached (zipped) screenshot and the file that shows the problem. File is from Drupal 8.2.6.
Comment 1 Dominik Haumann 2017-03-05 12:28:02 UTC
This is not a bug.

By default, *.config files seem to be highlighted as LogTalk syntax highlighting.
You need to switch to XML via Tools > Highlighting > Markup > XML.

You can also persistently change this if you edit the Mode in Settings > Configure > Open/Save > Modes & Filetypes, choose "Markup/XML", and then *.config to the file extensions. You probably also need to raise the priority to beat the LogTalk highlighting.