<feed xmlns='http://www.w3.org/2005/Atom'>
<title>scintilla-mirror/lexers/LexBash.cxx, branch rel-3-4-0</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>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=c229f6fce7a81581cb352822a9b1e924fa5df54f'/>
<id>c229f6fce7a81581cb352822a9b1e924fa5df54f</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=498727a1cee6430572cd403eb4732386fdc8e7ef'/>
<id>498727a1cee6430572cd403eb4732386fdc8e7ef</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=9cb194285e1da374ce06ca1c8cd2ef86f664fa78'/>
<id>9cb194285e1da374ce06ca1c8cd2ef86f664fa78</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>devnull@localhost</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=dea2c5b9bbbce473bc8baa886eddf4f7019d39f3'/>
<id>dea2c5b9bbbce473bc8baa886eddf4f7019d39f3</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>devnull@localhost</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=3cc4d170eb5201c72318fa3e4b319c2e37c3c170'/>
<id>3cc4d170eb5201c72318fa3e4b319c2e37c3c170</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=010474ebc716e6483d598568861660ce79716def'/>
<id>010474ebc716e6483d598568861660ce79716def</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Dropped inclusion of PropSetSimple.h in lexers which do not use PropSetSimple directly.</title>
<updated>2011-01-27T05:45:15+00:00</updated>
<author>
<name>nyamatongwe</name>
<email>devnull@localhost</email>
</author>
<published>2011-01-27T05:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=002e6effdd15e49ab5a09a59d18fd8bbb292f754'/>
<id>002e6effdd15e49ab5a09a59d18fd8bbb292f754</id>
<content type='text'>
Dropped declaration not needed in LexCPP.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Dropped declaration not needed in LexCPP.
</pre>
</div>
</content>
</entry>
<entry>
<title>Folding for Bash here documents. Feature #3118223.</title>
<updated>2010-12-09T12:20:04+00:00</updated>
<author>
<name>nyamatongwe</name>
<email>devnull@localhost</email>
</author>
<published>2010-12-09T12:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=5b8202f4fe196285164a4d6b606493b02be177d8'/>
<id>5b8202f4fe196285164a4d6b606493b02be177d8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for bug #3063822 for bash here docs starting with &lt;&lt;-</title>
<updated>2010-10-26T23:44:38+00:00</updated>
<author>
<name>nyamatongwe</name>
<email>devnull@localhost</email>
</author>
<published>2010-10-26T23:44:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=bdd66570ca882bb027ef91bd6cd6a9e15728d974'/>
<id>bdd66570ca882bb027ef91bd6cd6a9e15728d974</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Casts to avoid compiler warnings.</title>
<updated>2010-07-23T01:45:09+00:00</updated>
<author>
<name>nyamatongwe</name>
<email>devnull@localhost</email>
</author>
<published>2010-07-23T01:45:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fmsbw.de/scintilla-mirror/commit/?id=19b9b96f30b6c2d3910ba8abed6befceb49e4fff'/>
<id>19b9b96f30b6c2d3910ba8abed6befceb49e4fff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
