D23500: Support for native Matlab strings
Benjamin Buch
noreply at phabricator.kde.org
Tue Aug 27 17:40:08 BST 2019
bbuch created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
bbuch requested review of this revision.
REVISION SUMMARY
As of Matlab 2016b, a separate string data type and literal was introduced
in Matlab.
https://de.mathworks.com/help/matlab/matlab_prog/create-string-arrays.html
The new literals are syntactically equivalent to the old character verctors
except that they are delimited by double quote. The term 'character vector'
is now consistently used for the old single quote literales.
The patch renames single quote literals to CharVector and adds double
quote literals as String.
CharVector's are associated with the theme category dsSpecialString.
String's are associated with the theme category dsString. Incomplete
CharVector's and String's are consequently associated with the theme
category dsError.
The examples at the end of the file were extended by the new literals.
REPOSITORY
R216 Syntax Highlighting
BRANCH
matlab-2016b-strings (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D23500
AFFECTED FILES
data/syntax/matlab.xml
To: bbuch
Cc: kwrite-devel, kde-frameworks-devel, LeGast00n, GB_2, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190827/6594e770/attachment-0001.html>
More information about the KWrite-Devel
mailing list