summaryrefslogtreecommitdiff
path: root/lib/reline/line_editor.rb
AgeCommit message (Collapse)Author
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
2019-10-17Calculate prompt width correctlyaycabta
2019-10-17Collect multiline prompt logic into a methodaycabta
2019-10-16Support multiline history in incremental searchaycabta
2019-10-16Support backspace in incremental searchaycabta
2019-10-07Flush console just after printingaycabta
2019-09-17Fix previous history in vi_insert modeAdam Cammack
2019-09-17Fix history navigation in vi_insert modeAdam Cammack
2019-09-14The stdlib readline should raise Interrupt when pressing C-caycabta
2019-09-08Behave ESC key correctly when vi command modeaycabta
2019-09-01Re-calculate state variables of screen when screen size changesaycabta
2019-08-29Support SIGWINCHaycabta
2019-08-22Always check multiline terminationaycabta
2019-08-18Don't crash when deleting at the end of the lineAlan Wu
To reproduce this bug, type one character into irb, then press the delete key on your keyboard.
2019-08-09Revert a6e32855d079e8f3806d8be8a5f5cf7b3a967133 partiallyKazuhiro NISHIYAMA
Fix TypeError when typing `''.[TAB]`
2019-08-06Remove obsolete TODO commentaycabta
2019-07-28[reline] Do not escape and compile regexp for each byteNobuyoshi Nakada
2019-07-25Check wether multibyte character is splitaycabta
2019-07-19Fix showing doc of "nil.to_s", nil doesn't have #nameaycabta
2019-07-14fix issue with 'SIGINT' handling in LineEditor#resetLuke Gruber
@old_trap is the string "DEFAULT" and not a callable object (Proc) if there are no other signal handlers for SIGINT signal to chain.
2019-07-06Refactored width calculationsNobuyoshi Nakada
2019-07-06SimplifiedNobuyoshi Nakada
2019-07-04Use lstrip instead of gsub which can match only onceNobuyoshi Nakada
2019-07-01New indent must be non-negative numberNobuyoshi Nakada
2019-06-27Decrease indent by closing token correctlyaycabta
2019-06-20Disable auto indent when move cursor up or downaycabta
This commit suppresses a strange behavior below: if true 1[cursor] end and press down key if true 1 end
2019-06-18Implement auto indent for multilineaycabta
2019-06-16Implement line_no correctlyaycabta
2019-06-14Set allow_escape_code for promptaycabta
2019-06-14Add Reline.prompt_procaycabta
2019-06-06Skip transpose-words if less than 2 wordaycabta
2019-06-04Add aliases for commands for changing text macroaycabta
2019-06-04Implement transpose-wordsaycabta
2019-06-03Erase VI_OPERATORSaycabta
The operators are using @waiting_operator_proc in vi mode.
2019-06-03Add aliases for commands for moving macroaycabta
2019-06-03The ed_move_to_beg is different from vi_first_printaycabta
2019-06-03Reline::LineEditor::ARGUMENTABLE is no longer usedNobuyoshi Nakada
2019-06-03Fix ArgumentError in aliased macroNobuyoshi Nakada
Closes: https://github.com/ruby/ruby/pull/2221
2019-06-02Suppress error of macro not foundaycabta
2019-06-01Remove an unnecessary argumentaycabta
2019-05-31Warn compile_error only when input is finishedTakashi Kokubun
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.