summaryrefslogtreecommitdiff
path: root/lib/reline/line_editor.rb
AgeCommit message (Collapse)Author
2020-04-18[ruby/reline] Add ed_search_next_historyaycabta
https://github.com/ruby/reline/commit/ca750b676b
2020-04-18[ruby/reline] Add ed_search_prev_historyaycabta
https://github.com/ruby/reline/commit/e9ae288825
2020-04-18[ruby/reline] Use vi_search_{prev,next} to incremental searchaycabta
https://github.com/ruby/reline/commit/cab312f584
2020-04-18[ruby/reline] Rename search_history with incremental_search_historyaycabta
https://github.com/ruby/reline/commit/d563063ea0
2020-03-26[ruby/reline] Work with wrong $/ value correctlyaycabta
https://github.com/ruby/reline/commit/962ebf5a1b
2020-02-14[ruby/reline] Use IO#write instead of IO#printaycabta
IO#print always adds a string of $\ automatically. https://github.com/ruby/reline/commit/a93119c847
2020-02-02[ruby/reline] Bypass cursor down when a char is rendered at eol on Windowsaycabta
A newline is automatically inserted if a character is rendered at eol on Windows command prompt. https://github.com/ruby/reline/commit/4bfea07e4a
2020-01-21[ruby/reline] Implement vi_change_metaaycabta
https://github.com/ruby/reline/commit/8538e0e10f
2020-01-20[ruby/reline] Implement vi_prev_char and vi_to_prev_charaycabta
https://github.com/ruby/reline/commit/0ad3ee63fa
2020-01-20[ruby/reline] Implement vi_to_next_charaycabta
https://github.com/ruby/reline/commit/066ecb0a21
2020-01-17Implement vi_insert_at_bol and vi_add_at_eolaycabta
2020-01-14Introduce an abstracted structure about the encoding of Relineaycabta
The command prompt on Windows always uses Unicode to take input and print output but most Reline implementation depends on Encoding.default_external. This commit introduces an abstracted structure about the encoding of Reline.
2020-01-06Complete indented and quoted string correctlyaycabta
def foo ''.upca[TAB] This will be completed to be: def foo ''.upcase The indent was gone. This commit fixes the bug.
2020-01-05[ruby/reline] Sort completion listKOBAYASHI Shuji
#### Legacy mode: ```console $ irb --legacy irb(main):001:0> l[TAB][TAB] lambda load local_variables loop ``` #### Before this patch: ```console $ irb irb(main):001:0> l[TAB][TAB] local_variables loop lambda load ``` #### After this patch: ```console $ irb irb(main):001:0> l[TAB][TAB] lambda load local_variables loop ``` https://github.com/ruby/reline/commit/6074069c7d
2019-12-27Drop an invalid char as UTF-8aycabta
2019-12-25Save last breaking point to completeaycabta
2019-12-25The behavior of vi_end_of_transmission should be the same of vi_list_or_eofaycabta
2019-12-25^D on non-empty line in vi mode behaves like Enteraycabta
2019-12-24Remove unused variableaycabta
2019-12-24The delete-char-or-list shows completed list when called at end of lineaycabta
It doesn't behave the same as the delete-char.
2019-12-20Fixed misspellingsNobuyoshi Nakada
Fixed misspellings reported at [Bug #16437], for default gems.
2019-12-17Remove an unnecessary variableaycabta
2019-12-17Remove unnecessary branchesaycabta
2019-12-17[ruby/reline] Implement completion_append_characterThomas Leitner
There is already the possibility to set Reline.completion_append_character. However, it is not used by the line editor. https://github.com/ruby/reline/commit/ab798931b9
2019-12-17Support change search directionaycabta
2019-12-17Support forward-search-history by C-saycabta
2019-12-13Show a menu before a documentaycabta
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-12Suppress to crash IRB if completed list has nilaycabta
2019-12-11Add a message for CompatibilityErroraycabta
2019-12-11Support Readline.completion_quote_character by Relineaycabta
2019-12-10Change encoding of completion stringsaycabta
2019-12-10Support completion with case-insensitive fashionaycabta
Reline performs completion in a case-insensitive fashon if Readline.completion_case_fold or completion-ignore-case of .inputrc are set "on".
2019-12-09Fix encoding compatibility checking of completion correctlyaycabta
2019-12-05Support disable-completionaycabta
2019-12-03Fix auto-indent behavior correctlyaycabta
2019-12-03Support incremental search by last determined wordaycabta
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-02Support incremental search again by C-r in incremental searchaycabta
2019-12-02Process Backspace key in incremental search correctlyaycabta
2019-12-02Search history to back in the middle of historiesaycabta
2019-12-01The ed_search_prev_history should always search to backwardaycabta
2019-11-28Delete newline when C-k on emacs mode at EOLaycabta
2019-11-21Consider escape sequence to calculate prompt widthaycabta
2019-11-20Fix indent of a line when a newline is inserted to the nextaycabta
2019-11-18Remove unnecessary checkaycabta
2019-11-15Implement em_set_mark and em_exchange_markaycabta
2019-11-08Suppress "shadowing outer local variable" warning in 2.5aycabta
2019-11-02Use prompt_list to calculate height by linesaycabta
2019-10-18Insert multiline incremental search result correctlyaycabta
2019-10-17Remove unused variableaycabta
2019-10-17Refactor prompt generation logicaycabta