<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/error_highlight/formatter.rb, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/error_highlight] Make the formatter mechanism support Ractor</title>
<updated>2021-10-27T02:29:20+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-10-27T02:25:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4c32fcb84f19a3821c25f7a01ac995af3826d83e'/>
<id>4c32fcb84f19a3821c25f7a01ac995af3826d83e</id>
<content type='text'>
Now the formatter configuration is per Ractor. DefaultFormatter is used
if not set.

DefaultFormatter#message_for is now a class method to allow sub-Ractors
to call the method.

https://github.com/ruby/error_highlight/commit/9fbaa8ab7c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now the formatter configuration is per Ractor. DefaultFormatter is used
if not set.

DefaultFormatter#message_for is now a class method to allow sub-Ractors
to call the method.

https://github.com/ruby/error_highlight/commit/9fbaa8ab7c
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Support hard tabs</title>
<updated>2021-07-13T07:51:02+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-07-13T07:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=23c8bc367c6d700789a4059b831606966efb674c'/>
<id>23c8bc367c6d700789a4059b831606966efb674c</id>
<content type='text'>
Now, the highlight line is created by replacing non-tab characters with
spaces, and keeping all hard tabs as-is. This means the highlight line
has the completely same indentation as the code snippet line.

Fixes #7

https://github.com/ruby/error_highlight/commit/38f20fa542
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now, the highlight line is created by replacing non-tab characters with
spaces, and keeping all hard tabs as-is. This means the highlight line
has the completely same indentation as the code snippet line.

Fixes #7

https://github.com/ruby/error_highlight/commit/38f20fa542
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/error_highlight] Experimentally support a custom formatter</title>
<updated>2021-06-30T03:49:18+00:00</updated>
<author>
<name>Yusuke Endoh</name>
<email>mame@ruby-lang.org</email>
</author>
<published>2021-06-30T03:28:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f428ced69c70473b8405aae9c98828aa6f69b254'/>
<id>f428ced69c70473b8405aae9c98828aa6f69b254</id>
<content type='text'>
https://github.com/ruby/error_highlight/commit/f40a1de20e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/error_highlight/commit/f40a1de20e
</pre>
</div>
</content>
</entry>
</feed>
