aycabta
8a705245e5
Save last breaking point to complete
2019-12-25 18:45:24 +09:00
aycabta
2462427008
[ruby/reline] Version 0.1.1
...
923f97d068
2019-12-25 10:08:39 +09:00
aycabta
ed5b4bae6a
The behavior of vi_end_of_transmission should be the same of vi_list_or_eof
2019-12-25 09:52:37 +09:00
aycabta
622e47a1db
^D on non-empty line in vi mode behaves like Enter
2019-12-25 09:34:13 +09:00
aycabta
7758849cb5
Remove unused variable
2019-12-24 18:39:48 +09:00
aycabta
42e2a322f1
The delete-char-or-list shows completed list when called at end of line
...
It doesn't behave the same as the delete-char.
2019-12-24 18:34:43 +09:00
aycabta
5e17834fc9
[ruby/reline] Version 0.1.0
...
55d4dfec1e
2019-12-24 09:56:40 +09:00
Nobuyoshi Nakada
679bc4f9cb
[ruby/reline] Use IO#raw to read one byte
...
be17740e82
2019-12-23 02:11:22 +09:00
Nobuyoshi Nakada
efd4a11ada
Support multibyte input
2019-12-22 11:46:43 +09:00
Yusuke Endoh
fa1bf8ab37
[ruby/reline] Support Ctrl+right as em_next_word, and Ctrl+left as ed_prev_word
...
e98ad3b486
2019-12-22 05:35:03 +09:00
aycabta
0835a971ef
Remove TODO comment
2019-12-22 01:57:35 +09:00
Yusuke Endoh
ec1de789a9
[ruby/reline] Preserve the input buffer across cursor_pos
...
The old version of cursor_pos discards the input buffer, which made IRB
ignore the input immediately after IRB is invoked.
This change keeps the input before cursor_pos by using ungetc.
4a8cca331f
2019-12-22 01:57:35 +09:00
Nobuyoshi Nakada
7fd6077d98
[ruby/reline] Consider Reline::ANSI.input at prep
...
b111cde3c3
2019-12-22 01:57:35 +09:00
Nobuyoshi Nakada
e68999c82c
Fixed misspellings
...
Fixed misspellings reported at [Bug #16437 ], for default gems.
2019-12-20 12:19:45 +09:00
aycabta
d616926af9
Remove an unnecessary variable
2019-12-17 14:21:07 +09:00
aycabta
4f9a4c1a8f
Remove unnecessary branches
2019-12-17 13:59:19 +09:00
Thomas Leitner
a1713bedb1
[ruby/reline] Implement completion_append_character
...
There is already the possibility to set Reline.completion_append_character.
However, it is not used by the line editor.
ab798931b9
2019-12-17 13:19:37 +09:00
Nobuyoshi Nakada
11db4d3a3b
[ruby/reline] Disable any implementation-defined special control characters
...
Including dsusp, lnext, and so on.
a44abe586b
2019-12-17 13:19:37 +09:00
aycabta
618d091151
Support change search direction
2019-12-17 13:10:39 +09:00
aycabta
a14a0244b4
Support forward-search-history by C-s
2019-12-17 13:07:19 +09:00
aycabta
c2dfc6d869
Show a menu before a document
...
IRB should show a menu first if a completed list has plural items. But just
shows document without menu if a completed list with plural items includes a
perfect matched item. The behavior is a bug. This commit fixes it.
2019-12-13 08:54:22 +09:00
aycabta
7d991a0571
Suppress to crash IRB if completed list has nil
2019-12-12 08:40:50 +09:00
aycabta
6a7af800db
Add a message for CompatibilityError
2019-12-11 11:36:40 +09:00
aycabta
ec54ac9381
Support Readline.completion_quote_character by Reline
2019-12-11 11:13:05 +09:00
aycabta
fe0df7dcfc
Change encoding of completion strings
2019-12-10 17:28:09 +09:00
aycabta
6a22b2a091
Support completion with case-insensitive fashion
...
Reline performs completion in a case-insensitive fashon if
Readline.completion_case_fold or completion-ignore-case of .inputrc are set
"on".
2019-12-10 07:07:43 +09:00
aycabta
a14c01441b
Fix encoding compatibility checking of completion correctly
2019-12-09 14:21:20 +09:00
aycabta
e72ffc55ba
[ruby/reline] Support Ruby 2.5 or later for String#grapheme_clusters
...
33e8c8f15b
2019-12-07 20:01:53 +09:00
aycabta
e3587ed849
Support disable-completion
2019-12-05 09:02:23 +09:00
aycabta
ad8fbf444a
Fix variable catch
2019-12-05 09:02:23 +09:00
aycabta
027e847cd2
Fix auto-indent behavior correctly
2019-12-03 13:02:50 +09:00
aycabta
a92560132b
Support incremental search by last determined word
...
In the incremental search by C-r, search word is saved when it's determined. In
the next incremental search by C-r, if a user presses C-r again with the empty
search word, the determined previous search word is used to search.
2019-12-03 01:39:59 +09:00
aycabta
bce38f706e
The C-r in vi command mode is also incremental search
2019-12-03 01:39:59 +09:00
aycabta
103b04128f
Support incremental search again by C-r in incremental search
2019-12-02 04:18:22 +09:00
aycabta
c7f05310a2
Process Backspace key in incremental search correctly
2019-12-02 03:30:38 +09:00
aycabta
e15b0313a7
Search history to back in the middle of histories
2019-12-02 03:09:41 +09:00
aycabta
8cb3f29abf
The ed_search_prev_history should always search to backward
2019-12-01 23:54:57 +09:00
aycabta
f1cfc7da18
Reline::HISTORY can take Range object
2019-12-01 23:54:57 +09:00
aycabta
abe8fb49f0
Delete newline when C-k on emacs mode at EOL
2019-11-28 09:32:51 +09:00
aycabta
9131e62f18
[ruby/reline] Version 0.0.7
...
09d370bdc1
2019-11-21 07:14:27 +09:00
aycabta
f30f78e2e0
Version 0.0.6
2019-11-21 07:04:53 +09:00
aycabta
95f20f463a
Consider escape sequence to calculate prompt width
2019-11-21 07:01:41 +09:00
manga_osyo
81586a4d9f
Add <Home> <End> keys.
2019-11-21 00:47:36 +09:00
aycabta
da0d7211aa
Fix indent of a line when a newline is inserted to the next
2019-11-20 10:04:41 +09:00
Nobuyoshi Nakada
cef9ebfbd3
Suppress stty
error on Apple Terminal
...
`stty` called in `Reline::ANSI.deprep` command shows the following
error message on macOS Apple Terminal, with some settings.
```
$ LANG=C irb
irb(main):001:0>
stty: 'standard input': unable to perform all requested operations
stty: 'standard input': unable to perform all requested operations
```
2019-11-19 02:39:02 +09:00
aycabta
7c6bedfe5c
Remove unnecessary check
2019-11-18 03:23:45 +09:00
aycabta
910f9b8338
[ruby/reline] Version 0.0.5
...
d57c7ea252
2019-11-17 23:32:10 +09:00
aycabta
11ae47c266
[ruby/reline] Restore left cursor key support on Unix like OSes...
...
98b72af751
2019-11-15 18:07:34 +09:00
aycabta
fa7618e4c1
Implement em_set_mark and em_exchange_mark
2019-11-15 16:50:40 +09:00
aycabta
6e72b72881
Suppress "shadowing outer local variable" warning in 2.5
2019-11-08 16:18:36 +09:00