D22253: Improve the Fortran fixed format syntax highlighting

Arnaud Ruiz noreply at phabricator.kde.org
Wed Jul 3 21:11:32 BST 2019


nononux created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
nononux requested review of this revision.

REVISION 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

REPOSITORY
  R216 Syntax Highlighting

BRANCH
  fortran-fixed-format (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D22253

AFFECTED FILES
  autotests/folding/highlight.f.fold
  autotests/html/highlight.f.html
  autotests/input/highlight.f
  autotests/reference/highlight.f.ref
  data/syntax/fortran-fixed.xml

To: nononux
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190703/f8b5c790/attachment-0001.html>


More information about the KWrite-Devel mailing list