BrightScript: Add workaround for QtCreator 'endsub' highlighting

Authored by dlevin on Dec 12 2018, 7:21 PM.

Description

BrightScript: Add workaround for QtCreator 'endsub' highlighting

Summary:
QtCreator requires that keyword should be wrapped with white spaces on
both ends. Kate requires only trailing white space after keyword. This
patch replaces detection of 'endsub' and 'endfunction' with
StringDetect instead of keyword to satisfy both.

Reviewers: cullmann

Reviewed By: cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

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

Details

Committed
cullmannDec 12 2018, 7:23 PM
Reviewer
cullmann
Differential Revision
D17522: BrightScript: Add workaround for QtCreator 'endsub' highlighting
Parents
R216:ea5a88d1df28: improve highlighting of complex numbers
Branches
Unknown
Tags
Unknown