1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/reline
Takashi Kokubun cb40a21da0
Warn compile_error only when input is finished
Let's say we are in progress to write `"foo"`:

```
irb> "fo
```

at this moment, nothing is wrong.
It would be just a normal way to write `"foo"`.

Prior to this commit, the `fo` part was warned because of
5b64d7ac6e. But I think warning such a
normal input is not valuable for users.

However, we'd like to warn `:@1` or `@@1` which is also a syntax error.
Then this commit switches the syntax highlight based on whether the
input text is finished or not. When it's not finished yet, it does not
warn compile_error.
2019-05-31 06:54:00 +09:00
..
key_actor Implement J to join lines in vi command mode 2019-05-27 05:45:08 +09:00
unicode Add Reline as a fallback library for Readline 2019-04-30 11:44:20 +09:00
ansi.rb Support Meta key in Reline 2019-05-24 23:38:40 +09:00
config.rb Support Meta key in Reline 2019-05-24 23:38:40 +09:00
general_io.rb Support Meta key in Reline 2019-05-24 23:38:40 +09:00
key_actor.rb Add Reline as a fallback library for Readline 2019-04-30 11:44:20 +09:00
key_stroke.rb Fix wrong variable name 2019-05-25 08:24:41 +09:00
kill_ring.rb Add Reline as a fallback library for Readline 2019-04-30 11:44:20 +09:00
line_editor.rb Warn compile_error only when input is finished 2019-05-31 06:54:00 +09:00
reline.gemspec Add Reline as a fallback library for Readline 2019-04-30 11:44:20 +09:00
unicode.rb Deal with more syntax highlight edge cases 2019-05-25 22:29:16 -07:00
version.rb Revert "Change Reline's version with "Reline 0.0.0"" 2019-05-25 00:44:09 +09:00
windows.rb Use reversed get_screen_size correctly on Windows 2019-05-29 18:52:34 +09:00