<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror/lexers/LexBash.cxx, branch rel-3-5-7</title>
<subtitle>Git mirror of the Scintilla editor component. Referenced by the SciTECO repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/'/>
<entry>
<title>LexBash: Empty heredoc delimiters can also be indented</title>
<updated>2014-12-12T17:49:09+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>ban@herbesfolles.org</email>
</author>
<published>2014-12-12T17:49:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=1f6081f332cb26c53f858899ccd46610d45330c9'/>
<id>1f6081f332cb26c53f858899ccd46610d45330c9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>LexBash: Only tabulations are allowed as prefix with `&lt;&lt;-` heredoc</title>
<updated>2014-12-12T17:49:02+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>ban@herbesfolles.org</email>
</author>
<published>2014-12-12T17:49:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=8457f0ff5ce63c872efba707e7c83dc15f885171'/>
<id>8457f0ff5ce63c872efba707e7c83dc15f885171</id>
<content type='text'>
Only tabulations are allowed to prefix the delimiter on indented
here-documents, not any white space.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only tabulations are allowed to prefix the delimiter on indented
here-documents, not any white space.
</pre>
</div>
</content>
</entry>
<entry>
<title>LexBash: Don't allow spaces between `&lt;&lt;` and `-` in a heredoc operator</title>
<updated>2014-12-12T17:47:31+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>ban@herbesfolles.org</email>
</author>
<published>2014-12-12T17:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=0eb57695d1691b5e878ca4c3cd3ec56a8503fc23'/>
<id>0eb57695d1691b5e878ca4c3cd3ec56a8503fc23</id>
<content type='text'>
`&lt;&lt;-` is an operator of itself, not two separate tokens `&lt;&lt;` and `-`.
This fixes handling of delimiters starting with `-`, like this:

    cat&lt;&lt; -EOF
    ...
    -EOF
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`&lt;&lt;-` is an operator of itself, not two separate tokens `&lt;&lt;` and `-`.
This fixes handling of delimiters starting with `-`, like this:

    cat&lt;&lt; -EOF
    ...
    -EOF
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug [#1605]. Fix fold matching problem caused by "&lt;&lt;&lt;".</title>
<updated>2014-06-01T23:31:48+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2014-06-01T23:31:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=696d4aae75bf605ad5d5196267f851a26d834e52'/>
<id>696d4aae75bf605ad5d5196267f851a26d834e52</id>
<content type='text'>
From Kein-Hong Man.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From Kein-Hong Man.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a problem when lexing started at the start of a comment line so the</title>
<updated>2013-12-01T23:37:40+00:00</updated>
<author>
<name>Neil</name>
<email>nyamatongwe@gmail.com</email>
</author>
<published>2013-12-01T23:37:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=f038aae3951fc3290b526a29983e1ce59431438c'/>
<id>f038aae3951fc3290b526a29983e1ce59431438c</id>
<content type='text'>
previous character had not been set and was 0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previous character had not been set and was 0.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bash: fix comment detection inside a word</title>
<updated>2013-11-18T16:44:22+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>ban@herbesfolles.org</email>
</author>
<published>2013-11-18T16:44:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=301a3ab4b84a95529db69c1b09f452b04dfb3da9'/>
<id>301a3ab4b84a95529db69c1b09f452b04dfb3da9</id>
<content type='text'>
A comment in bash is defined as "[...] a word beginning with # causes
that word and all remaining characters on that line to be ignored".

A word is defined as "a sequence of characters considered as a single
unit by the shell";  and there is a set of metacharacters defined as
"a character that, when unquoted, separates words.  One of the
following:  | &amp; ; ( ) &lt; &gt; space tab".

In practice, "foo#bar" is one single word, not "foo" followed by a
comment.  Trickier, "foo\;#bar" is also a single word, but "foo;bar"
are 2 words and a control character.

So, fix the Bash lexer to check whether the character preceding the
hash sign to be either a metacharacter or part of a word.
A maybe better fix would be to understand the Bash conception of a
word, and analyze those, but it would require a large rewrite.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A comment in bash is defined as "[...] a word beginning with # causes
that word and all remaining characters on that line to be ignored".

A word is defined as "a sequence of characters considered as a single
unit by the shell";  and there is a set of metacharacters defined as
"a character that, when unquoted, separates words.  One of the
following:  | &amp; ; ( ) &lt; &gt; space tab".

In practice, "foo#bar" is one single word, not "foo" followed by a
comment.  Trickier, "foo\;#bar" is also a single word, but "foo;bar"
are 2 words and a control character.

So, fix the Bash lexer to check whether the character preceding the
hash sign to be either a metacharacter or part of a word.
A maybe better fix would be to understand the Bash conception of a
word, and analyze those, but it would require a large rewrite.
</pre>
</div>
</content>
</entry>
<entry>
<title>Bash: Fix handling of quoted HereDoc delimiters</title>
<updated>2013-07-22T09:15:02+00:00</updated>
<author>
<name>Colomban Wendling</name>
<email>ban@herbesfolles.org</email>
</author>
<published>2013-07-22T09:15:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=945e829c5feb9122f15ffe43d8ff5b8f6512b79e'/>
<id>945e829c5feb9122f15ffe43d8ff5b8f6512b79e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle nested delimiter pairs. Feature #3569352.</title>
<updated>2012-09-19T12:17:13+00:00</updated>
<author>
<name>nyamatongwe</name>
<email>unknown</email>
</author>
<published>2012-09-19T12:17:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=1de003690c05688d6857ab57b3d02e7e262c092a'/>
<id>1de003690c05688d6857ab57b3d02e7e262c092a</id>
<content type='text'>
Bugs #1515556, #3008483, #3512208, #3515392.
From Kein-Hong Man.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bugs #1515556, #3008483, #3512208, #3515392.
From Kein-Hong Man.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix multiple issues with Bash lexing and folding. Bug #3526563.</title>
<updated>2012-09-16T13:27:36+00:00</updated>
<author>
<name>nyamatongwe</name>
<email>unknown</email>
</author>
<published>2012-09-16T13:27:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=bc31c7fe6a1345ebb5180f0e9ab9bfcf91e2ac53'/>
<id>bc31c7fe6a1345ebb5180f0e9ab9bfcf91e2ac53</id>
<content type='text'>
From Kein-Hong Man.
- fixed SCE_PL_DEFAULT constant reported by Matthew Brush
- backtracks to previous line if necessary to resolve refresh issues for
multiline segments (this SF bug 3526563)
- properly refreshes HERE document body and code following it when HERE
delimiter is changed
- HERE delimiter with no ending quote is properly highlighted as an error,
this did not previously work
- leading spaces highlighted properly in quoted HERE delimiters
- recognizes '' and "" HERE delimiters to match blank lines
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
From Kein-Hong Man.
- fixed SCE_PL_DEFAULT constant reported by Matthew Brush
- backtracks to previous line if necessary to resolve refresh issues for
multiline segments (this SF bug 3526563)
- properly refreshes HERE document body and code following it when HERE
delimiter is changed
- HERE delimiter with no ending quote is properly highlighted as an error,
this did not previously work
- leading spaces highlighted properly in quoted HERE delimiters
- recognizes '' and "" HERE delimiters to match blank lines
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed a bug with the bash lexer's handling of singly-quoted strings. SF Bug Tracker ID: 3512208</title>
<updated>2012-03-29T18:18:06+00:00</updated>
<author>
<name>James Ribe</name>
<email>manbeardo@gmail.com</email>
</author>
<published>2012-03-29T18:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=beb6b1b0ba5ee457523b07df184a50144d09d745'/>
<id>beb6b1b0ba5ee457523b07df184a50144d09d745</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
