aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline/line_editor.rb
Commit message (Collapse)AuthorAgeFilesLines
* Consider escape sequence to calculate prompt widthaycabta2019-11-211-1/+1
|
* Fix indent of a line when a newline is inserted to the nextaycabta2019-11-201-0/+20
|
* Remove unnecessary checkaycabta2019-11-181-1/+1
|
* Implement em_set_mark and em_exchange_markaycabta2019-11-151-0/+17
|
* Suppress "shadowing outer local variable" warning in 2.5aycabta2019-11-081-12/+12
|
* Use prompt_list to calculate height by linesaycabta2019-11-021-12/+14
|
* Insert multiline incremental search result correctlyaycabta2019-10-181-3/+18
|
* Remove unused variableaycabta2019-10-171-1/+0
|
* Refactor prompt generation logicaycabta2019-10-171-34/+17
|
* Calculate prompt width correctlyaycabta2019-10-171-7/+9
|
* Collect multiline prompt logic into a methodaycabta2019-10-171-35/+17
|
* Support multiline history in incremental searchaycabta2019-10-161-3/+17
|
* Support backspace in incremental searchaycabta2019-10-161-1/+1
|
* Flush console just after printingaycabta2019-10-071-0/+2
|
* Fix previous history in vi_insert modeAdam Cammack2019-09-171-1/+1
|
* Fix history navigation in vi_insert modeAdam Cammack2019-09-171-1/+1
|
* The stdlib readline should raise Interrupt when pressing C-caycabta2019-09-141-2/+1
|
* Behave ESC key correctly when vi command modeaycabta2019-09-081-0/+2
|
* Re-calculate state variables of screen when screen size changesaycabta2019-09-011-0/+53
|
* Support SIGWINCHaycabta2019-08-291-0/+4
|
* Always check multiline terminationaycabta2019-08-221-5/+1
|
* Don't crash when deleting at the end of the lineAlan Wu2019-08-181-2/+2
| | | | | To reproduce this bug, type one character into irb, then press the delete key on your keyboard.
* Revert a6e32855d079e8f3806d8be8a5f5cf7b3a967133 partiallyKazuhiro NISHIYAMA2019-08-091-1/+1
| | | | Fix TypeError when typing `''.[TAB]`
* Remove obsolete TODO commentaycabta2019-08-061-1/+1
|
* [reline] Do not escape and compile regexp for each byteNobuyoshi Nakada2019-07-281-3/+7
|
* Check wether multibyte character is splitaycabta2019-07-251-0/+4
|
* Fix showing doc of "nil.to_s", nil doesn't have #nameaycabta2019-07-191-0/+7
|
* fix issue with 'SIGINT' handling in LineEditor#resetLuke Gruber2019-07-141-1/+1
| | | | | @old_trap is the string "DEFAULT" and not a callable object (Proc) if there are no other signal handlers for SIGINT signal to chain.
* Refactored width calculationsNobuyoshi Nakada2019-07-061-43/+21
|
* SimplifiedNobuyoshi Nakada2019-07-061-8/+1
|
* Use lstrip instead of gsub which can match only onceNobuyoshi Nakada2019-07-041-3/+3
|
* New indent must be non-negative numberNobuyoshi Nakada2019-07-011-1/+1
|
* Decrease indent by closing token correctlyaycabta2019-06-271-3/+3
|
* Disable auto indent when move cursor up or downaycabta2019-06-201-18/+23
| | | | | | | | | | | | | | This commit suppresses a strange behavior below: if true 1[cursor] end and press down key if true 1 end
* Implement auto indent for multilineaycabta2019-06-181-0/+25
|
* Implement line_no correctlyaycabta2019-06-161-4/+4
|
* Set allow_escape_code for promptaycabta2019-06-141-10/+10
|
* Add Reline.prompt_procaycabta2019-06-141-12/+58
|
* Skip transpose-words if less than 2 wordaycabta2019-06-061-0/+1
|
* Add aliases for commands for changing text macroaycabta2019-06-041-0/+9
|
* Implement transpose-wordsaycabta2019-06-041-0/+13
|
* Erase VI_OPERATORSaycabta2019-06-031-6/+0
| | | | The operators are using @waiting_operator_proc in vi mode.
* Add aliases for commands for moving macroaycabta2019-06-031-0/+7
|
* The ed_move_to_beg is different from vi_first_printaycabta2019-06-031-1/+5
|
* Reline::LineEditor::ARGUMENTABLE is no longer usedNobuyoshi Nakada2019-06-031-27/+0
|
* Fix ArgumentError in aliased macroNobuyoshi Nakada2019-06-031-2/+12
| | | | Closes: https://github.com/ruby/ruby/pull/2221
* Suppress error of macro not foundaycabta2019-06-021-1/+9
|
* Remove an unnecessary argumentaycabta2019-06-011-15/+11
|
* Warn compile_error only when input is finishedTakashi Kokubun2019-05-311-1/+3
| | | | | | | | | | | | | | | | | | | | 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 5b64d7ac6e7cbf759b859428f125539e58bac0bd. 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.
* Finish with ^D only when input is completely empty in vi insert modeaycabta2019-05-311-1/+1
|