aboutsummaryrefslogtreecommitdiffstats
path: root/lib/reline
Commit message (Collapse)AuthorAgeFilesLines
* [reline] Do not compile regexp for each lineNobuyoshi Nakada2019-07-281-5/+4
|
* [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
|
* Version 0.0.1aycabta2019-07-151-1/+1
|
* Remove unused method.manga_osyo2019-07-151-4/+0
|
* Add `class Reline::History` and test.manga_osyo2019-07-151-0/+60
|
* 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
|
* Support Control- and Meta-aycabta2019-07-041-5/+4
|
* Move a comment to proper placeaycabta2019-07-041-1/+1
|
* Parse key sequence more strictlyNobuyoshi Nakada2019-07-041-4/+6
|
* Use lstrip instead of gsub which can match only onceNobuyoshi Nakada2019-07-042-4/+4
|
* Skip indented comment lines [Bug #15981]Nobuyoshi Nakada2019-07-041-1/+1
|
* 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
|
* Move I/O access from Reline::KeyStroke to Relineaycabta2019-06-051-75/+2
|
* Add aliases for commands for changing text macroaycabta2019-06-041-0/+9
|
* Implement transpose-wordsaycabta2019-06-043-1/+115
|
* Simplify matchingNobuyoshi Nakada2019-06-041-1/+1
|
* Erase VI_OPERATORSaycabta2019-06-031-6/+0
| | | | The operators are using @waiting_operator_proc in vi mode.
* The C-q is also quoted insert in emacs modeaycabta2019-06-031-1/+1
|
* Add aliases for commands for moving macroaycabta2019-06-031-0/+7
|
* The ed_move_to_beg is different from vi_first_printaycabta2019-06-033-3/+7
|
* 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
* Check conditional nestings in INPUTRCNobuyoshi Nakada2019-06-021-12/+31
| | | | Closes: https://github.com/ruby/ruby/pull/2222
* Prefer $INPUTRC over the default in the homeNobuyoshi Nakada2019-06-021-3/+3
| | | | Closes: https://github.com/ruby/ruby/pull/2222
* Add true condition `Reline`Nobuyoshi Nakada2019-06-021-0/+1
|
* Add Reline test for unknown macroaycabta2019-06-021-1/+0
|
* Add new test for Reline within pipeaycabta2019-06-021-0/+4
|
* Add comments to key bindings vars of Reline::Configaycabta2019-06-021-2/+2
|
* Suppress error of macro not foundaycabta2019-06-021-1/+9
|
* Remove an unnecessary argumentaycabta2019-06-011-15/+11
|
* Just use `File.readlines`Nobuyoshi Nakada2019-06-011-3/+1
|
* Use inputrc data for keystroke settingaycabta2019-06-015-55/+69
|
* Seprate raw keystroke config for each platformsNobuyoshi Nakada2019-06-013-0/+26
|
* 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
|
* Use rebuilt buffer data to rerender allaycabta2019-05-301-4/+5
|
* Use start_with? for escaped quote tooaycabta2019-05-301-1/+1
|
* Use negative lookahead and start_with?aycabta2019-05-301-1/+1
|
* Fix strange vertical cursor moving when adding a newline at bottomaycabta2019-05-301-2/+6
|