Fix: Email highlighting for unclosed parenthesis in Subject header
ClosedPublic

Authored by dhaumann on Sep 16 2018, 6:05 PM.

Details

Summary

Unfortunately, the "Subject:" header needs to be treated independently
of the other headers, since it may contain arbitrary text such as paranthesis
that is not a comment or similar. The fix is to add another context without
the comment highlighting.

BUG: 398717

Test Plan

make test

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dhaumann created this revision.Sep 16 2018, 6:05 PM
Restricted Application added projects: Kate, Frameworks. · View Herald TranscriptSep 16 2018, 6:05 PM
Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel. · View Herald Transcript
dhaumann requested review of this revision.Sep 16 2018, 6:05 PM
vkrause accepted this revision.Sep 16 2018, 6:08 PM
This revision is now accepted and ready to land.Sep 16 2018, 6:08 PM
This revision was automatically updated to reflect the committed changes.