Nobuyoshi Nakada
29ed9d1aaa
[ruby/error_highlight] Fix leaked tempfiles
...
8b353a10a7
2021-07-16 15:25:13 +09:00
Yusuke Endoh
a5d6ea9266
[ruby/error_highlight] Set the binary mode for Tempfile creation in a test
...
8273d3b6f2
2021-07-13 20:30:20 +09:00
Yusuke Endoh
5fd5d71a4b
[ruby/error_highlight] Support a file that has no final newline
...
9d671284cb
2021-07-13 16:54:17 +09:00
Yusuke Endoh
23c8bc367c
[ruby/error_highlight] Support hard tabs
...
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
38f20fa542
2021-07-13 16:51:02 +09:00
Yusuke Endoh
84fea8ee39
[ruby/error_highlight] Update a test for multibyte characters
...
2fc70d7f8e
2021-07-12 16:48:52 +09:00
Yusuke Endoh
f428ced69c
[ruby/error_highlight] Experimentally support a custom formatter
...
f40a1de20e
2021-06-30 12:49:18 +09:00
Yusuke Endoh
9438c99590
Rename error_squiggle to error_highlight
2021-06-29 23:45:49 +09:00