Improve the Fortran fixed format syntax highlighting

Authored by nononux on Jul 6 2019, 6:43 AM.

Description

Improve the Fortran fixed format syntax highlighting

Summary:
3 improvements:

  • Restore the comment highlighting when using the "!" character (comment all the line after the !, works whatever the position of the !)
  • The characters after the 72th column are highlighted as comments (they are ignored by the compiler)
  • The continuation character is highlighted (5 firsts characters are blank and the 6th is not blank and not a number, usually "&" or "*")

Test Plan: Check the updated autotests/input/highlight.f

Reviewers: nibags

Reviewed By: nibags

Subscribers: nibags, kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D22253

Details

Committed
nibagsJul 6 2019, 6:44 AM
Reviewer
nibags
Differential Revision
D22253: Improve the Fortran fixed format syntax highlighting
Parents
R216:43c80ad14fc6: GIT_SILENT Upgrade Qt5 version requirement to 5.11.0.
Branches
Unknown
Tags
Unknown