<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/pygments-git.git/pygments/lexers/typoscript.py, branch 2.4.2</title>
<subtitle>github.com: pygments/pygments.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/'/>
<entry>
<title>Fixup all headers and some more minor problems.</title>
<updated>2019-05-28T05:00:40+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2019-05-28T05:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=597020d4ce90505dad8b850eadafd20f06bf1dc9'/>
<id>597020d4ce90505dad8b850eadafd20f06bf1dc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #1498.</title>
<updated>2019-03-06T18:47:03+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-03-06T18:47:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=9a5bd4fc4ffea841469a992f79419d837a649699'/>
<id>9a5bd4fc4ffea841469a992f79419d837a649699</id>
<content type='text'>
.typoscript is used for TypoScript files, removing the ambiguity with
TypeScript.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
.typoscript is used for TypoScript files, removing the ambiguity with
TypeScript.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make TypeScript the default for .ts files.</title>
<updated>2019-02-12T15:00:40+00:00</updated>
<author>
<name>Matth?us G. Chajdas</name>
<email>dev@anteru.net</email>
</author>
<published>2019-02-12T15:00:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=e9baad765b22ab24846bab58906c9c1d0349cec0'/>
<id>e9baad765b22ab24846bab58906c9c1d0349cec0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix invalid escapes due to missing raw string prefix.</title>
<updated>2018-11-28T14:49:16+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2018-11-28T14:49:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=8ec816d3c681b15247d5dac12bc5d291703c8ad0'/>
<id>8ec816d3c681b15247d5dac12bc5d291703c8ad0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merged in chipx86/pygments-main/typescript-vs-typoscript (pull request #693)</title>
<updated>2017-01-22T21:01:13+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2017-01-22T21:01:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=b9aeb678a288cd7f394d4f91ea212e2ad629e4b7'/>
<id>b9aeb678a288cd7f394d4f91ea212e2ad629e4b7</id>
<content type='text'>
Implement guessing and resolution between TypeScript and TypoScript.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Implement guessing and resolution between TypeScript and TypoScript.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove the fallback values from the new analyse_text changes.</title>
<updated>2017-01-22T20:30:00+00:00</updated>
<author>
<name>Christian Hammond</name>
<email>christian@beanbaginc.com</email>
</author>
<published>2017-01-22T20:30:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=7b0550d47360d0b7b814cbb2a82c83584ca83c3c'/>
<id>7b0550d47360d0b7b814cbb2a82c83584ca83c3c</id>
<content type='text'>
These values would trigger problems when guessing content without a filename,
and really aren't needed. They've been removed, allowing the standard behavior
to take place.

On top of this, the regex for TypeScript has been slightly altered to include
a whitespace match after "export" to be within the group for the "export"
text.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These values would trigger problems when guessing content without a filename,
and really aren't needed. They've been removed, allowing the standard behavior
to take place.

On top of this, the regex for TypeScript has been slightly altered to include
a whitespace match after "export" to be within the group for the "export"
text.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement guessing and resolution between TypeScript and TypoScript.</title>
<updated>2017-01-22T19:35:31+00:00</updated>
<author>
<name>Christian Hammond</name>
<email>christian@beanbaginc.com</email>
</author>
<published>2017-01-22T19:35:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=4a6c8b3897134e768c66f96f8351fef28198d235'/>
<id>4a6c8b3897134e768c66f96f8351fef28198d235</id>
<content type='text'>
The new TypoScript lexer was taking precedence over TypeScript, which share
the same file extension. This meant that any previously-working TypeScript
source files would be misidentified and highlighted incorrectly. This was due
to the lack of a guesser for TypeScript, and TypoScript having a naturally
higher priority.

This change balances things a bit between the lexers. TypoScript now has an
explicitly-higher priority than TypeScript, both for the file extension and
defaults when guessing content, as it has less we can rely on in terms of
content. TypeScript has a lower priority, but has an analyse_text() method
that checks for common symbols in code, giving it a better chance of matching
for actual TypeScript source files.

TypeScript also gains an additional file extension, *.tsx. Ideally, this would
have its own lexer that understood inline JSX syntax, but giving general
TypeScript syntax highlighting for these files is a step in the right
direction.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The new TypoScript lexer was taking precedence over TypeScript, which share
the same file extension. This meant that any previously-working TypeScript
source files would be misidentified and highlighted incorrectly. This was due
to the lack of a guesser for TypeScript, and TypoScript having a naturally
higher priority.

This change balances things a bit between the lexers. TypoScript now has an
explicitly-higher priority than TypeScript, both for the file extension and
defaults when guessing content, as it has less we can rely on in terms of
content. TypeScript has a lower priority, but has an analyse_text() method
that checks for common symbols in code, giving it a better chance of matching
for actual TypeScript source files.

TypeScript also gains an additional file extension, *.tsx. Ideally, this would
have its own lexer that understood inline JSX syntax, but giving general
TypeScript syntax highlighting for these files is a step in the right
direction.
</pre>
</div>
</content>
</entry>
<entry>
<title>More housekeeping and missed additions to CHANGES.</title>
<updated>2017-01-22T18:10:32+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2017-01-22T18:10:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=31be35b64dceb681c0d1477c6522e18faa3a34a7'/>
<id>31be35b64dceb681c0d1477c6522e18faa3a34a7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Copyright update.</title>
<updated>2017-01-22T17:38:11+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2017-01-22T17:38:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=00126a1401eefcf0280384d9bf59783e81db41ed'/>
<id>00126a1401eefcf0280384d9bf59783e81db41ed</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for partials and path segments for Handlebars.</title>
<updated>2016-11-04T23:57:38+00:00</updated>
<author>
<name>Christian Hammond</name>
<email>christian@beanbaginc.com</email>
</author>
<published>2016-11-04T23:57:38+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/pygments-git.git/commit/?id=6ded9db39463372e5205a36bea72d6de516ece69'/>
<id>6ded9db39463372e5205a36bea72d6de516ece69</id>
<content type='text'>
This introduces support for some missing features to the Handlebars lexer:
Partials and path segments. Partials mostly appeared to work before, but the
`&gt;` in `{{&gt; ... }}` would appear as a syntax error, as could other
components of the partial. This change introduces support for:

* Standard partials: `{{&gt; partialName}}`
* Partials with parameters: `{{&gt; partialName varname="value"}}`
* Ddynamic partials: `{{&gt; (partialFunc)}}`
* Ddynamic partials with lookups: `{{&gt; (lookup ../path "partialName")}}`
* Partial blocks: `{{&gt; @partial-block}}`
* Inline partials: `{{#*inline}}..{{/inline}}`

It also introduces support for path segments, which can reference content in
the current context or in a parent context. For instance, `this.name`,
`this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked
as variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This introduces support for some missing features to the Handlebars lexer:
Partials and path segments. Partials mostly appeared to work before, but the
`&gt;` in `{{&gt; ... }}` would appear as a syntax error, as could other
components of the partial. This change introduces support for:

* Standard partials: `{{&gt; partialName}}`
* Partials with parameters: `{{&gt; partialName varname="value"}}`
* Ddynamic partials: `{{&gt; (partialFunc)}}`
* Ddynamic partials with lookups: `{{&gt; (lookup ../path "partialName")}}`
* Partial blocks: `{{&gt; @partial-block}}`
* Inline partials: `{{#*inline}}..{{/inline}}`

It also introduces support for path segments, which can reference content in
the current context or in a parent context. For instance, `this.name`,
`this/name`, `./name`, `../name`, `this/name`, etc. These are all now tracked
as variables.
</pre>
</div>
</content>
</entry>
</feed>
