<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments/lexers/matlab.py, branch bug/angular-html</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>all: use yield from (#1537)</title>
<updated>2020-09-06T12:35:14+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2020-09-06T12:35:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=40baa94a6bf0c62be8c8b03a942116869ce80128'/>
<id>40baa94a6bf0c62be8c8b03a942116869ce80128</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: fixup remaining regexlint warnings</title>
<updated>2020-09-06T09:55:52+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2020-09-06T09:55:52+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=603e8eddbf413deeb452ff110431da001e795438'/>
<id>603e8eddbf413deeb452ff110431da001e795438</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year (fixes #1514.)</title>
<updated>2020-08-22T14:08:07+00:00</updated>
<author>
<name>Matthäus G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2020-08-22T14:08:07+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=5bd2a84bc1db0120828606c900a14276414fecdc'/>
<id>5bd2a84bc1db0120828606c900a14276414fecdc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Matlabsession line continuation (#1399)</title>
<updated>2020-05-06T18:04:30+00:00</updated>
<author>
<name>Bryan W. Weber</name>
<email>bryan.w.weber@gmail.com</email>
</author>
<published>2020-05-06T18:04:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=78886ba1b8eda31d3a4092e7bdad2764d0ce00b8'/>
<id>78886ba1b8eda31d3a4092e7bdad2764d0ce00b8</id>
<content type='text'>
* Add explicit line continuation for Matlab session

Matlab lines can be explicitly continued with the ... syntax at the end
of a line. In the Session lexer, this requires continuing to the next
line to add more text. Otherwise, the next line is marked as output.

* The ellipses in Matlab should be a Keyword

The built-in Matlab syntax highlighter highlights ... with the same
formatting as a keyword. Everything after that on the line should be a
comment.

* Update Matlab functions and keywords from R2018a

* Fix many spaces in assignment formatted as string

In command mode, MATLAB allows mutiple space separated arguments to a
function which are interpreted as char arrays, and are formatted as
Strings. This check was also catching cases where there were multiple
spaces following an assignment or comparison operation and formatting
the rest of the line as a string. Now, if an = or operator is found, the
commandargs state is popped and control returns to the root state.

* Add tests for MATLAB formatting</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add explicit line continuation for Matlab session

Matlab lines can be explicitly continued with the ... syntax at the end
of a line. In the Session lexer, this requires continuing to the next
line to add more text. Otherwise, the next line is marked as output.

* The ellipses in Matlab should be a Keyword

The built-in Matlab syntax highlighter highlights ... with the same
formatting as a keyword. Everything after that on the line should be a
comment.

* Update Matlab functions and keywords from R2018a

* Fix many spaces in assignment formatted as string

In command mode, MATLAB allows mutiple space separated arguments to a
function which are interpreted as char arrays, and are formatted as
Strings. This check was also catching cases where there were multiple
spaces following an assignment or comparison operation and formatting
the rest of the line as a string. Now, if an = or operator is found, the
commandargs state is popped and control returns to the root state.

* Add tests for MATLAB formatting</pre>
</div>
</content>
</entry>
<entry>
<title>Multiline flag does not work with re.match</title>
<updated>2020-02-08T16:09:37+00:00</updated>
<author>
<name>Alan Hamlett</name>
<email>alan.hamlett@gmail.com</email>
</author>
<published>2020-02-08T16:09:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=7a22f546821ec22a7cc53624fc961e604c089116'/>
<id>7a22f546821ec22a7cc53624fc961e604c089116</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>More fixes to MATLAB lexer. (#1328)</title>
<updated>2019-12-06T17:00:47+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2019-12-06T17:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=ce17db4bde5602157bf261385dfc9206ad5fc709'/>
<id>ce17db4bde5602157bf261385dfc9206ad5fc709</id>
<content type='text'>
More fixes to MATLAB lexer.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
More fixes to MATLAB lexer.</pre>
</div>
</content>
</entry>
<entry>
<title>More fixes to MATLAB lexer.</title>
<updated>2019-12-06T16:50:43+00:00</updated>
<author>
<name>Antony Lee</name>
<email>anntzer.lee@gmail.com</email>
</author>
<published>2019-12-05T14:11:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=ed0f3566b4497e76d238f266a8746cd69312abb3'/>
<id>ed0f3566b4497e76d238f266a8746cd69312abb3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>recognize escapes in Matlab double quoted strings</title>
<updated>2019-11-27T05:38:55+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2019-11-27T05:38:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=b45777fd2713bc3c6b80680168563afa5c96b46d'/>
<id>b45777fd2713bc3c6b80680168563afa5c96b46d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes #1124</title>
<updated>2019-11-27T05:30:39+00:00</updated>
<author>
<name>Jan Siqueira</name>
<email>janksiqueira@gmail.com</email>
</author>
<published>2019-11-25T17:30:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=f39476cfefc83c9c6842b7abe20989ea08514c4b'/>
<id>f39476cfefc83c9c6842b7abe20989ea08514c4b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>MATLAB allows keywords to be used as field names.</title>
<updated>2019-11-27T05:29:53+00:00</updated>
<author>
<name>Antony Lee</name>
<email>anntzer.lee@gmail.com</email>
</author>
<published>2019-11-26T16:29:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-packages/pygments-git.git/commit/?id=afc4856087923db94674351a7c8988f222d20392'/>
<id>afc4856087923db94674351a7c8988f222d20392</id>
<content type='text'>
... so don't highlight them as keywords in that position.

Example MATLAB session showcasing this "feature":

    &gt;&gt; x.for = 42

    x =

    struct with fields:

        for: 42

    &gt;&gt; x

    x =

    struct with fields:

        for: 42

    &gt;&gt; x.for

    ans =

        42
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... so don't highlight them as keywords in that position.

Example MATLAB session showcasing this "feature":

    &gt;&gt; x.for = 42

    x =

    struct with fields:

        for: 42

    &gt;&gt; x

    x =

    struct with fields:

        for: 42

    &gt;&gt; x.for

    ans =

        42
</pre>
</div>
</content>
</entry>
</feed>
