active_cached_resource 0.0.1.pre → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/Rakefile +22 -14
- data/lib/active_cached_resource/version.rb +3 -3
- data/lib/activeresource/examples/performance.rb +1 -1
- data/lib/activeresource/lib/active_resource/collection.rb +14 -1
- data/lib/activeresource/lib/active_resource/railtie.rb +2 -2
- data/lib/activeresource/lib/active_resource.rb +1 -1
- data/lib/activeresource/test/abstract_unit.rb +2 -1
- data/lib/activeresource/test/cases/active_job_serializer_test.rb +1 -1
- data/lib/activeresource/test/cases/collection_test.rb +24 -0
- data/lib/activeresource/test/cases/log_subscriber_test.rb +2 -1
- data/lib/activeresource/test/fixtures/fixtures.rbi +46 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/{actioncable@8.0.0.rbi → actioncable@8.0.1.rbi} +51 -51
- data/sorbet/rbi/gems/{actionpack@8.0.0.rbi → actionpack@8.0.1.rbi} +548 -346
- data/sorbet/rbi/gems/{actionview@8.0.0.rbi → actionview@8.0.1.rbi} +465 -263
- data/sorbet/rbi/gems/activejob@8.0.1.rbi +90 -0
- data/sorbet/rbi/gems/activemodel-serializers-xml@1.0.3.rbi +4 -4
- data/sorbet/rbi/gems/{activemodel@8.0.0.rbi → activemodel@8.0.1.rbi} +11 -3
- data/sorbet/rbi/gems/{activerecord@8.0.0.rbi → activerecord@8.0.1.rbi} +957 -576
- data/sorbet/rbi/gems/{activesupport@8.0.0.rbi → activesupport@8.0.1.rbi} +287 -112
- data/sorbet/rbi/gems/{json@2.8.2.rbi → json@2.9.0.rbi} +107 -64
- data/sorbet/rbi/gems/{logger@1.6.1.rbi → logger@1.6.3.rbi} +31 -11
- data/sorbet/rbi/gems/mocha@2.7.1.rbi +12 -0
- data/sorbet/rbi/gems/msgpack@1.7.5.rbi +320 -0
- data/sorbet/rbi/gems/{nokogiri@1.16.7.rbi → nokogiri@1.17.2.rbi} +1692 -802
- data/sorbet/rbi/gems/{psych@5.2.0.rbi → psych@5.2.1.rbi} +47 -47
- data/sorbet/rbi/gems/rack@3.1.8.rbi +1 -1
- data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +22 -22
- data/sorbet/rbi/gems/{rails-html-sanitizer@1.6.0.rbi → rails-html-sanitizer@1.6.2.rbi} +100 -100
- data/sorbet/rbi/gems/{railties@8.0.0.rbi → railties@8.0.1.rbi} +186 -126
- data/sorbet/rbi/gems/rake@13.2.1.rbi +0 -63
- data/sorbet/rbi/gems/{rdoc@6.8.1.rbi → rdoc@6.9.1.rbi} +160 -139
- data/sorbet/rbi/gems/{regexp_parser@2.9.2.rbi → regexp_parser@2.9.3.rbi} +35 -35
- data/sorbet/rbi/gems/{reline@0.5.12.rbi → reline@0.6.0.rbi} +473 -435
- data/sorbet/rbi/gems/{rexml@3.3.9.rbi → rexml@3.4.0.rbi} +87 -74
- data/sorbet/rbi/gems/rspec-core@3.13.2.rbi +3 -6
- data/sorbet/rbi/gems/{rubocop-ast@1.36.1.rbi → rubocop-ast@1.37.0.rbi} +514 -104
- data/sorbet/rbi/gems/rubocop-md@1.2.4.rbi +123 -0
- data/sorbet/rbi/gems/rubocop-minitest@0.36.0.rbi +2613 -0
- data/sorbet/rbi/gems/rubocop-packaging@0.5.2.rbi +388 -0
- data/sorbet/rbi/gems/rubocop-rails@2.27.0.rbi +9535 -0
- data/sorbet/rbi/gems/{rubocop@1.65.1.rbi → rubocop@1.69.2.rbi} +4058 -2628
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/securerandom@0.4.1.rbi +78 -0
- data/sorbet/rbi/gems/sqlite3@2.3.1.rbi +1824 -0
- data/sorbet/rbi/gems/{standard@1.40.0.rbi → standard@1.43.0.rbi} +61 -64
- data/sorbet/rbi/gems/unicode-display_width@3.1.2.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/tapioca/require.rb +2 -1
- metadata +49 -139
- data/sorbet/rbi/gems/activejob@8.0.0.rbi +0 -9
- data/sorbet/rbi/gems/activeresource@6.1.4.rbi +0 -3944
- data/sorbet/rbi/gems/securerandom@0.3.2.rbi +0 -395
- data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +0 -66
- /data/sorbet/rbi/gems/{actionmailbox@8.0.0.rbi → actionmailbox@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actionmailer@8.0.0.rbi → actionmailer@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{actiontext@8.0.0.rbi → actiontext@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{activestorage@8.0.0.rbi → activestorage@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{date@3.4.0.rbi → date@3.4.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{io-console@0.7.2.rbi → io-console@0.8.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{minitest@5.25.2.rbi → minitest@5.25.4.rbi} +0 -0
- /data/sorbet/rbi/gems/{net-imap@0.5.1.rbi → net-imap@0.5.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rails@8.0.0.rbi → rails@8.0.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rspec-support@3.13.1.rbi → rspec-support@3.13.2.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-performance@1.21.1.rbi → rubocop-performance@1.23.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{standard-performance@1.4.0.rbi → standard-performance@1.6.0.rbi} +0 -0
- /data/sorbet/rbi/gems/{useragent@0.16.10.rbi → useragent@0.16.11.rbi} +0 -0
@@ -32,113 +32,127 @@ end
|
|
32
32
|
class Reline::ANSI < ::Reline::IO
|
33
33
|
# @return [ANSI] a new instance of ANSI
|
34
34
|
#
|
35
|
-
# source://reline//lib/reline/io/ansi.rb#
|
35
|
+
# source://reline//lib/reline/io/ansi.rb#34
|
36
36
|
def initialize; end
|
37
37
|
|
38
38
|
# @return [Boolean]
|
39
39
|
#
|
40
|
-
# source://reline//lib/reline/io/ansi.rb#
|
40
|
+
# source://reline//lib/reline/io/ansi.rb#232
|
41
41
|
def both_tty?; end
|
42
42
|
|
43
|
-
# source://reline//lib/reline/io/ansi.rb#
|
43
|
+
# source://reline//lib/reline/io/ansi.rb#244
|
44
|
+
def buffered_output; end
|
45
|
+
|
46
|
+
# source://reline//lib/reline/io/ansi.rb#292
|
44
47
|
def clear_screen; end
|
45
48
|
|
46
|
-
# source://reline//lib/reline/io/ansi.rb#
|
49
|
+
# source://reline//lib/reline/io/ansi.rb#227
|
47
50
|
def cursor_pos; end
|
48
51
|
|
49
|
-
# source://reline//lib/reline/io/ansi.rb#
|
52
|
+
# source://reline//lib/reline/io/ansi.rb#319
|
50
53
|
def deprep(otio); end
|
51
54
|
|
52
55
|
# @return [Boolean]
|
53
56
|
#
|
54
|
-
# source://reline//lib/reline/io/ansi.rb#
|
57
|
+
# source://reline//lib/reline/io/ansi.rb#167
|
55
58
|
def empty_buffer?; end
|
56
59
|
|
57
|
-
# source://reline//lib/reline/io/ansi.rb#
|
60
|
+
# source://reline//lib/reline/io/ansi.rb#42
|
58
61
|
def encoding; end
|
59
62
|
|
60
|
-
# source://reline//lib/reline/io/ansi.rb#
|
63
|
+
# source://reline//lib/reline/io/ansi.rb#280
|
61
64
|
def erase_after_cursor; end
|
62
65
|
|
63
|
-
# source://reline//lib/reline/io/ansi.rb#
|
66
|
+
# source://reline//lib/reline/io/ansi.rb#189
|
64
67
|
def get_screen_size; end
|
65
68
|
|
66
69
|
# if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second
|
67
70
|
#
|
68
|
-
# source://reline//lib/reline/io/ansi.rb#
|
71
|
+
# source://reline//lib/reline/io/ansi.rb#159
|
69
72
|
def getc(timeout_second); end
|
70
73
|
|
71
|
-
# source://reline//lib/reline/io/ansi.rb#
|
74
|
+
# source://reline//lib/reline/io/ansi.rb#272
|
72
75
|
def hide_cursor; end
|
73
76
|
|
74
77
|
# @return [Boolean]
|
75
78
|
#
|
76
|
-
# source://reline//lib/reline/io/ansi.rb#
|
79
|
+
# source://reline//lib/reline/io/ansi.rb#163
|
77
80
|
def in_pasting?; end
|
78
81
|
|
79
|
-
# source://reline//lib/reline/io/ansi.rb#
|
82
|
+
# source://reline//lib/reline/io/ansi.rb#128
|
80
83
|
def inner_getc(timeout_second); end
|
81
84
|
|
82
|
-
#
|
83
|
-
|
85
|
+
# Sets the attribute input
|
86
|
+
#
|
87
|
+
# @param value the value to set the attribute input to.
|
88
|
+
#
|
89
|
+
# source://reline//lib/reline/io/ansi.rb#32
|
90
|
+
def input=(_arg0); end
|
84
91
|
|
85
|
-
# source://reline//lib/reline/io/ansi.rb#
|
92
|
+
# source://reline//lib/reline/io/ansi.rb#252
|
86
93
|
def move_cursor_column(x); end
|
87
94
|
|
88
|
-
# source://reline//lib/reline/io/ansi.rb#
|
95
|
+
# source://reline//lib/reline/io/ansi.rb#264
|
89
96
|
def move_cursor_down(x); end
|
90
97
|
|
91
|
-
# source://reline//lib/reline/io/ansi.rb#
|
98
|
+
# source://reline//lib/reline/io/ansi.rb#256
|
92
99
|
def move_cursor_up(x); end
|
93
100
|
|
94
|
-
#
|
95
|
-
|
101
|
+
# Sets the attribute output
|
102
|
+
#
|
103
|
+
# @param value the value to set the attribute output to.
|
104
|
+
#
|
105
|
+
# source://reline//lib/reline/io/ansi.rb#32
|
106
|
+
def output=(_arg0); end
|
96
107
|
|
97
|
-
# source://reline//lib/reline/io/ansi.rb#
|
108
|
+
# source://reline//lib/reline/io/ansi.rb#312
|
98
109
|
def prep; end
|
99
110
|
|
100
|
-
# source://reline//lib/reline/io/ansi.rb#
|
111
|
+
# source://reline//lib/reline/io/ansi.rb#147
|
101
112
|
def read_bracketed_paste; end
|
102
113
|
|
103
|
-
# source://reline//lib/reline/io/ansi.rb#
|
114
|
+
# source://reline//lib/reline/io/ansi.rb#178
|
104
115
|
def retrieve_keybuffer; end
|
105
116
|
|
106
117
|
# This only works when the cursor is at the bottom of the scroll range
|
107
118
|
# For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623
|
108
119
|
#
|
109
|
-
# source://reline//lib/reline/io/ansi.rb#
|
120
|
+
# source://reline//lib/reline/io/ansi.rb#286
|
110
121
|
def scroll_down(x); end
|
111
122
|
|
112
|
-
# source://reline//lib/reline/io/ansi.rb#
|
123
|
+
# source://reline//lib/reline/io/ansi.rb#68
|
113
124
|
def set_bracketed_paste_key_bindings(config); end
|
114
125
|
|
115
|
-
# source://reline//lib/reline/io/ansi.rb#
|
126
|
+
# source://reline//lib/reline/io/ansi.rb#49
|
116
127
|
def set_default_key_bindings(config); end
|
117
128
|
|
118
|
-
# source://reline//lib/reline/io/ansi.rb#
|
129
|
+
# source://reline//lib/reline/io/ansi.rb#74
|
119
130
|
def set_default_key_bindings_ansi_cursor(config); end
|
120
131
|
|
121
|
-
# source://reline//lib/reline/io/ansi.rb#
|
132
|
+
# source://reline//lib/reline/io/ansi.rb#99
|
122
133
|
def set_default_key_bindings_comprehensive_list(config); end
|
123
134
|
|
124
|
-
# source://reline//lib/reline/io/ansi.rb#
|
135
|
+
# source://reline//lib/reline/io/ansi.rb#199
|
125
136
|
def set_screen_size(rows, columns); end
|
126
137
|
|
127
|
-
# source://reline//lib/reline/io/ansi.rb#
|
138
|
+
# source://reline//lib/reline/io/ansi.rb#297
|
128
139
|
def set_winch_handler(&handler); end
|
129
140
|
|
130
|
-
# source://reline//lib/reline/io/ansi.rb#
|
141
|
+
# source://reline//lib/reline/io/ansi.rb#276
|
131
142
|
def show_cursor; end
|
132
143
|
|
133
|
-
# source://reline//lib/reline/io/ansi.rb#
|
144
|
+
# source://reline//lib/reline/io/ansi.rb#174
|
134
145
|
def ungetc(c); end
|
135
146
|
|
136
|
-
# source://reline//lib/reline/io/ansi.rb#
|
147
|
+
# source://reline//lib/reline/io/ansi.rb#120
|
137
148
|
def with_raw_input; end
|
138
149
|
|
150
|
+
# source://reline//lib/reline/io/ansi.rb#236
|
151
|
+
def write(string); end
|
152
|
+
|
139
153
|
private
|
140
154
|
|
141
|
-
# source://reline//lib/reline/io/ansi.rb#
|
155
|
+
# source://reline//lib/reline/io/ansi.rb#206
|
142
156
|
def cursor_pos_internal(timeout:); end
|
143
157
|
end
|
144
158
|
|
@@ -148,10 +162,10 @@ Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
|
|
148
162
|
# source://reline//lib/reline/io/ansi.rb#5
|
149
163
|
Reline::ANSI::CAPNAME_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
|
150
164
|
|
151
|
-
# source://reline//lib/reline/io/ansi.rb#
|
165
|
+
# source://reline//lib/reline/io/ansi.rb#146
|
152
166
|
Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
|
153
167
|
|
154
|
-
# source://reline//lib/reline/io/ansi.rb#
|
168
|
+
# source://reline//lib/reline/io/ansi.rb#145
|
155
169
|
Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
|
156
170
|
|
157
171
|
# source://reline//lib/reline/config.rb#1
|
@@ -370,7 +384,7 @@ Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array)
|
|
370
384
|
# source://reline//lib/reline/config.rb#24
|
371
385
|
Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array)
|
372
386
|
|
373
|
-
# source://reline//lib/reline.rb#
|
387
|
+
# source://reline//lib/reline.rb#40
|
374
388
|
class Reline::Core
|
375
389
|
extend ::Forwardable
|
376
390
|
|
@@ -378,93 +392,93 @@ class Reline::Core
|
|
378
392
|
# @yield [_self]
|
379
393
|
# @yieldparam _self [Reline::Core] the object that the method was called on
|
380
394
|
#
|
381
|
-
# source://reline//lib/reline.rb#
|
395
|
+
# source://reline//lib/reline.rb#68
|
382
396
|
def initialize; end
|
383
397
|
|
384
398
|
# @raise [ArgumentError]
|
385
399
|
#
|
386
|
-
# source://reline//lib/reline.rb#
|
400
|
+
# source://reline//lib/reline.rb#162
|
387
401
|
def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end
|
388
402
|
|
389
403
|
# source://reline//lib/reline.rb#409
|
390
404
|
def ambiguous_width; end
|
391
405
|
|
392
|
-
# source://reline//lib/reline.rb#
|
406
|
+
# source://reline//lib/reline.rb#55
|
393
407
|
def auto_indent_proc; end
|
394
408
|
|
395
409
|
# @raise [ArgumentError]
|
396
410
|
#
|
397
|
-
# source://reline//lib/reline.rb#
|
411
|
+
# source://reline//lib/reline.rb#147
|
398
412
|
def auto_indent_proc=(p); end
|
399
413
|
|
400
|
-
# source://reline//lib/reline.rb#
|
414
|
+
# source://reline//lib/reline.rb#55
|
401
415
|
def basic_quote_characters; end
|
402
416
|
|
403
|
-
# source://reline//lib/reline.rb#
|
417
|
+
# source://reline//lib/reline.rb#104
|
404
418
|
def basic_quote_characters=(v); end
|
405
419
|
|
406
|
-
# source://reline//lib/reline.rb#
|
420
|
+
# source://reline//lib/reline.rb#55
|
407
421
|
def basic_word_break_characters; end
|
408
422
|
|
409
|
-
# source://reline//lib/reline.rb#
|
423
|
+
# source://reline//lib/reline.rb#96
|
410
424
|
def basic_word_break_characters=(v); end
|
411
425
|
|
412
|
-
# source://reline//lib/reline.rb#
|
426
|
+
# source://reline//lib/reline.rb#55
|
413
427
|
def completer_quote_characters; end
|
414
428
|
|
415
|
-
# source://reline//lib/reline.rb#
|
429
|
+
# source://reline//lib/reline.rb#108
|
416
430
|
def completer_quote_characters=(v); end
|
417
431
|
|
418
|
-
# source://reline//lib/reline.rb#
|
432
|
+
# source://reline//lib/reline.rb#55
|
419
433
|
def completer_word_break_characters; end
|
420
434
|
|
421
|
-
# source://reline//lib/reline.rb#
|
435
|
+
# source://reline//lib/reline.rb#100
|
422
436
|
def completer_word_break_characters=(v); end
|
423
437
|
|
424
|
-
# source://reline//lib/reline.rb#
|
438
|
+
# source://reline//lib/reline.rb#55
|
425
439
|
def completion_append_character; end
|
426
440
|
|
427
|
-
# source://reline//lib/reline.rb#
|
441
|
+
# source://reline//lib/reline.rb#84
|
428
442
|
def completion_append_character=(val); end
|
429
443
|
|
430
|
-
# source://reline//lib/reline.rb#
|
444
|
+
# source://reline//lib/reline.rb#124
|
431
445
|
def completion_case_fold; end
|
432
446
|
|
433
|
-
# source://reline//lib/reline.rb#
|
447
|
+
# source://reline//lib/reline.rb#120
|
434
448
|
def completion_case_fold=(v); end
|
435
449
|
|
436
|
-
# source://reline//lib/reline.rb#
|
450
|
+
# source://reline//lib/reline.rb#55
|
437
451
|
def completion_proc; end
|
438
452
|
|
439
453
|
# @raise [ArgumentError]
|
440
454
|
#
|
441
|
-
# source://reline//lib/reline.rb#
|
455
|
+
# source://reline//lib/reline.rb#132
|
442
456
|
def completion_proc=(p); end
|
443
457
|
|
444
|
-
# source://reline//lib/reline.rb#
|
458
|
+
# source://reline//lib/reline.rb#128
|
445
459
|
def completion_quote_character; end
|
446
460
|
|
447
461
|
# Returns the value of attribute config.
|
448
462
|
#
|
449
|
-
# source://reline//lib/reline.rb#
|
463
|
+
# source://reline//lib/reline.rb#57
|
450
464
|
def config; end
|
451
465
|
|
452
466
|
# Sets the attribute config
|
453
467
|
#
|
454
468
|
# @param value the value to set the attribute config to.
|
455
469
|
#
|
456
|
-
# source://reline//lib/reline.rb#
|
470
|
+
# source://reline//lib/reline.rb#57
|
457
471
|
def config=(_arg0); end
|
458
472
|
|
459
|
-
# source://reline//lib/reline.rb#
|
473
|
+
# source://reline//lib/reline.rb#172
|
460
474
|
def dialog_proc(name_sym); end
|
461
475
|
|
462
|
-
# source://reline//lib/reline.rb#
|
476
|
+
# source://reline//lib/reline.rb#55
|
463
477
|
def dig_perfect_match_proc; end
|
464
478
|
|
465
479
|
# @raise [ArgumentError]
|
466
480
|
#
|
467
|
-
# source://reline//lib/reline.rb#
|
481
|
+
# source://reline//lib/reline.rb#156
|
468
482
|
def dig_perfect_match_proc=(p); end
|
469
483
|
|
470
484
|
# source://reline//lib/reline.rb#194
|
@@ -475,13 +489,13 @@ class Reline::Core
|
|
475
489
|
# source://reline//lib/reline.rb#203
|
476
490
|
def emacs_editing_mode?; end
|
477
491
|
|
478
|
-
# source://reline//lib/reline.rb#
|
492
|
+
# source://reline//lib/reline.rb#80
|
479
493
|
def encoding; end
|
480
494
|
|
481
|
-
# source://reline//lib/reline.rb#
|
495
|
+
# source://reline//lib/reline.rb#55
|
482
496
|
def filename_quote_characters; end
|
483
497
|
|
484
|
-
# source://reline//lib/reline.rb#
|
498
|
+
# source://reline//lib/reline.rb#112
|
485
499
|
def filename_quote_characters=(v); end
|
486
500
|
|
487
501
|
# source://reline//lib/reline.rb#207
|
@@ -489,78 +503,78 @@ class Reline::Core
|
|
489
503
|
|
490
504
|
# @raise [TypeError]
|
491
505
|
#
|
492
|
-
# source://reline//lib/reline.rb#
|
506
|
+
# source://reline//lib/reline.rb#176
|
493
507
|
def input=(val); end
|
494
508
|
|
495
|
-
# source://reline//lib/reline.rb#
|
509
|
+
# source://reline//lib/reline.rb#76
|
496
510
|
def io_gate; end
|
497
511
|
|
498
512
|
# Returns the value of attribute key_stroke.
|
499
513
|
#
|
500
|
-
# source://reline//lib/reline.rb#
|
514
|
+
# source://reline//lib/reline.rb#58
|
501
515
|
def key_stroke; end
|
502
516
|
|
503
517
|
# Sets the attribute key_stroke
|
504
518
|
#
|
505
519
|
# @param value the value to set the attribute key_stroke to.
|
506
520
|
#
|
507
|
-
# source://reline//lib/reline.rb#
|
521
|
+
# source://reline//lib/reline.rb#58
|
508
522
|
def key_stroke=(_arg0); end
|
509
523
|
|
510
524
|
# Returns the value of attribute last_incremental_search.
|
511
525
|
#
|
512
|
-
# source://reline//lib/reline.rb#
|
526
|
+
# source://reline//lib/reline.rb#60
|
513
527
|
def last_incremental_search; end
|
514
528
|
|
515
529
|
# Sets the attribute last_incremental_search
|
516
530
|
#
|
517
531
|
# @param value the value to set the attribute last_incremental_search to.
|
518
532
|
#
|
519
|
-
# source://reline//lib/reline.rb#
|
533
|
+
# source://reline//lib/reline.rb#60
|
520
534
|
def last_incremental_search=(_arg0); end
|
521
535
|
|
522
536
|
# Returns the value of attribute line_editor.
|
523
537
|
#
|
524
|
-
# source://reline//lib/reline.rb#
|
538
|
+
# source://reline//lib/reline.rb#59
|
525
539
|
def line_editor; end
|
526
540
|
|
527
541
|
# Sets the attribute line_editor
|
528
542
|
#
|
529
543
|
# @param value the value to set the attribute line_editor to.
|
530
544
|
#
|
531
|
-
# source://reline//lib/reline.rb#
|
545
|
+
# source://reline//lib/reline.rb#59
|
532
546
|
def line_editor=(_arg0); end
|
533
547
|
|
534
548
|
# Returns the value of attribute output.
|
535
549
|
#
|
536
|
-
# source://reline//lib/reline.rb#
|
550
|
+
# source://reline//lib/reline.rb#61
|
537
551
|
def output; end
|
538
552
|
|
539
553
|
# @raise [TypeError]
|
540
554
|
#
|
541
|
-
# source://reline//lib/reline.rb#
|
555
|
+
# source://reline//lib/reline.rb#183
|
542
556
|
def output=(val); end
|
543
557
|
|
544
|
-
# source://reline//lib/reline.rb#
|
558
|
+
# source://reline//lib/reline.rb#55
|
545
559
|
def output_modifier_proc; end
|
546
560
|
|
547
561
|
# @raise [ArgumentError]
|
548
562
|
#
|
549
|
-
# source://reline//lib/reline.rb#
|
563
|
+
# source://reline//lib/reline.rb#137
|
550
564
|
def output_modifier_proc=(p); end
|
551
565
|
|
552
|
-
# source://reline//lib/reline.rb#
|
566
|
+
# source://reline//lib/reline.rb#55
|
553
567
|
def pre_input_hook; end
|
554
568
|
|
555
|
-
# source://reline//lib/reline.rb#
|
569
|
+
# source://reline//lib/reline.rb#152
|
556
570
|
def pre_input_hook=(p); end
|
557
571
|
|
558
|
-
# source://reline//lib/reline.rb#
|
572
|
+
# source://reline//lib/reline.rb#55
|
559
573
|
def prompt_proc; end
|
560
574
|
|
561
575
|
# @raise [ArgumentError]
|
562
576
|
#
|
563
|
-
# source://reline//lib/reline.rb#
|
577
|
+
# source://reline//lib/reline.rb#142
|
564
578
|
def prompt_proc=(p); end
|
565
579
|
|
566
580
|
# source://reline//lib/reline.rb#276
|
@@ -569,10 +583,10 @@ class Reline::Core
|
|
569
583
|
# source://reline//lib/reline.rb#250
|
570
584
|
def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end
|
571
585
|
|
572
|
-
# source://reline//lib/reline.rb#
|
586
|
+
# source://reline//lib/reline.rb#55
|
573
587
|
def special_prefixes; end
|
574
588
|
|
575
|
-
# source://reline//lib/reline.rb#
|
589
|
+
# source://reline//lib/reline.rb#116
|
576
590
|
def special_prefixes=(v); end
|
577
591
|
|
578
592
|
# source://reline//lib/reline.rb#189
|
@@ -602,7 +616,7 @@ class Reline::Core
|
|
602
616
|
def read_io(keyseq_timeout, &block); end
|
603
617
|
end
|
604
618
|
|
605
|
-
# source://reline//lib/reline.rb#
|
619
|
+
# source://reline//lib/reline.rb#41
|
606
620
|
Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array)
|
607
621
|
|
608
622
|
# source://reline//lib/reline.rb#248
|
@@ -615,78 +629,91 @@ Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc)
|
|
615
629
|
class Reline::Dumb < ::Reline::IO
|
616
630
|
# @return [Dumb] a new instance of Dumb
|
617
631
|
#
|
618
|
-
# source://reline//lib/reline/io/dumb.rb#
|
632
|
+
# source://reline//lib/reline/io/dumb.rb#8
|
619
633
|
def initialize(encoding: T.unsafe(nil)); end
|
620
634
|
|
621
|
-
# source://reline//lib/reline/io/dumb.rb#
|
635
|
+
# source://reline//lib/reline/io/dumb.rb#49
|
636
|
+
def buffered_output; end
|
637
|
+
|
638
|
+
# source://reline//lib/reline/io/dumb.rb#101
|
622
639
|
def clear_screen; end
|
623
640
|
|
624
|
-
# source://reline//lib/reline/io/dumb.rb#
|
641
|
+
# source://reline//lib/reline/io/dumb.rb#76
|
625
642
|
def cursor_pos; end
|
626
643
|
|
627
|
-
# source://reline//lib/reline/io/dumb.rb#
|
644
|
+
# source://reline//lib/reline/io/dumb.rb#118
|
628
645
|
def deprep(otio); end
|
629
646
|
|
630
647
|
# @return [Boolean]
|
631
648
|
#
|
632
|
-
# source://reline//lib/reline/io/dumb.rb#
|
649
|
+
# source://reline//lib/reline/io/dumb.rb#17
|
633
650
|
def dumb?; end
|
634
651
|
|
635
|
-
# source://reline//lib/reline/io/dumb.rb#
|
652
|
+
# source://reline//lib/reline/io/dumb.rb#21
|
636
653
|
def encoding; end
|
637
654
|
|
638
|
-
# source://reline//lib/reline/io/dumb.rb#
|
655
|
+
# source://reline//lib/reline/io/dumb.rb#95
|
639
656
|
def erase_after_cursor; end
|
640
657
|
|
641
|
-
# source://reline//lib/reline/io/dumb.rb#
|
658
|
+
# source://reline//lib/reline/io/dumb.rb#72
|
642
659
|
def get_screen_size; end
|
643
660
|
|
644
|
-
# source://reline//lib/reline/io/dumb.rb#
|
661
|
+
# source://reline//lib/reline/io/dumb.rb#53
|
645
662
|
def getc(_timeout_second); end
|
646
663
|
|
647
|
-
# source://reline//lib/reline/io/dumb.rb#
|
664
|
+
# source://reline//lib/reline/io/dumb.rb#80
|
648
665
|
def hide_cursor; end
|
649
666
|
|
650
667
|
# @return [Boolean]
|
651
668
|
#
|
652
|
-
# source://reline//lib/reline/io/dumb.rb#
|
669
|
+
# source://reline//lib/reline/io/dumb.rb#111
|
653
670
|
def in_pasting?; end
|
654
671
|
|
655
|
-
# source://reline//lib/reline/io/dumb.rb#
|
672
|
+
# source://reline//lib/reline/io/dumb.rb#37
|
656
673
|
def input=(val); end
|
657
674
|
|
658
|
-
# source://reline//lib/reline/io/dumb.rb#
|
675
|
+
# source://reline//lib/reline/io/dumb.rb#86
|
659
676
|
def move_cursor_column(val); end
|
660
677
|
|
661
|
-
# source://reline//lib/reline/io/dumb.rb#
|
678
|
+
# source://reline//lib/reline/io/dumb.rb#92
|
662
679
|
def move_cursor_down(val); end
|
663
680
|
|
664
|
-
# source://reline//lib/reline/io/dumb.rb#
|
681
|
+
# source://reline//lib/reline/io/dumb.rb#89
|
665
682
|
def move_cursor_up(val); end
|
666
683
|
|
667
|
-
#
|
684
|
+
# Sets the attribute output
|
685
|
+
#
|
686
|
+
# @param value the value to set the attribute output to.
|
687
|
+
#
|
688
|
+
# source://reline//lib/reline/io/dumb.rb#6
|
689
|
+
def output=(_arg0); end
|
690
|
+
|
691
|
+
# source://reline//lib/reline/io/dumb.rb#115
|
668
692
|
def prep; end
|
669
693
|
|
670
|
-
# source://reline//lib/reline/io/dumb.rb#
|
694
|
+
# source://reline//lib/reline/io/dumb.rb#98
|
671
695
|
def scroll_down(val); end
|
672
696
|
|
673
|
-
# source://reline//lib/reline/io/dumb.rb#
|
697
|
+
# source://reline//lib/reline/io/dumb.rb#34
|
674
698
|
def set_default_key_bindings(_); end
|
675
699
|
|
676
|
-
# source://reline//lib/reline/io/dumb.rb#
|
700
|
+
# source://reline//lib/reline/io/dumb.rb#104
|
677
701
|
def set_screen_size(rows, columns); end
|
678
702
|
|
679
|
-
# source://reline//lib/reline/io/dumb.rb#
|
703
|
+
# source://reline//lib/reline/io/dumb.rb#108
|
680
704
|
def set_winch_handler(&handler); end
|
681
705
|
|
682
|
-
# source://reline//lib/reline/io/dumb.rb#
|
706
|
+
# source://reline//lib/reline/io/dumb.rb#83
|
683
707
|
def show_cursor; end
|
684
708
|
|
685
|
-
# source://reline//lib/reline/io/dumb.rb#
|
709
|
+
# source://reline//lib/reline/io/dumb.rb#68
|
686
710
|
def ungetc(c); end
|
687
711
|
|
688
|
-
# source://reline//lib/reline/io/dumb.rb#
|
712
|
+
# source://reline//lib/reline/io/dumb.rb#41
|
689
713
|
def with_raw_input; end
|
714
|
+
|
715
|
+
# source://reline//lib/reline/io/dumb.rb#45
|
716
|
+
def write(string); end
|
690
717
|
end
|
691
718
|
|
692
719
|
# Do not send color reset sequence
|
@@ -823,6 +850,11 @@ class Reline::IO
|
|
823
850
|
# source://reline//lib/reline/io.rb#27
|
824
851
|
def dumb?; end
|
825
852
|
|
853
|
+
# Read a single encoding valid character from the input.
|
854
|
+
#
|
855
|
+
# source://reline//lib/reline/io.rb#40
|
856
|
+
def read_single_char(keyseq_timeout); end
|
857
|
+
|
826
858
|
# source://reline//lib/reline/io.rb#35
|
827
859
|
def reset_color_sequence; end
|
828
860
|
|
@@ -843,7 +875,10 @@ Reline::IO::RESET_COLOR = T.let(T.unsafe(nil), String)
|
|
843
875
|
# source://reline//lib/reline.rb#512
|
844
876
|
Reline::IOGate = T.let(T.unsafe(nil), Reline::ANSI)
|
845
877
|
|
846
|
-
#
|
878
|
+
# EOF key: { char: nil, method_symbol: nil }
|
879
|
+
# Other key: { char: String, method_symbol: Symbol }
|
880
|
+
#
|
881
|
+
# source://reline//lib/reline.rb#22
|
847
882
|
class Reline::Key < ::Struct
|
848
883
|
# Returns the value of attribute char
|
849
884
|
#
|
@@ -856,34 +891,34 @@ class Reline::Key < ::Struct
|
|
856
891
|
# @return [Object] the newly set value
|
857
892
|
def char=(_); end
|
858
893
|
|
859
|
-
# Returns the value of attribute combined_char
|
860
|
-
#
|
861
|
-
# @return [Object] the current value of combined_char
|
862
|
-
def combined_char; end
|
863
|
-
|
864
|
-
# Sets the attribute combined_char
|
865
|
-
#
|
866
|
-
# @param value [Object] the value to set the attribute combined_char to.
|
867
|
-
# @return [Object] the newly set value
|
868
|
-
def combined_char=(_); end
|
869
|
-
|
870
894
|
# For dialog_proc `key.match?(dialog.name)`
|
871
895
|
#
|
872
896
|
# @return [Boolean]
|
873
897
|
#
|
874
|
-
# source://reline//lib/reline.rb#
|
898
|
+
# source://reline//lib/reline.rb#24
|
875
899
|
def match?(sym); end
|
876
900
|
|
877
|
-
# Returns the value of attribute
|
901
|
+
# Returns the value of attribute method_symbol
|
878
902
|
#
|
879
|
-
# @return [Object] the current value of
|
880
|
-
def
|
903
|
+
# @return [Object] the current value of method_symbol
|
904
|
+
def method_symbol; end
|
881
905
|
|
882
|
-
# Sets the attribute
|
906
|
+
# Sets the attribute method_symbol
|
883
907
|
#
|
884
|
-
# @param value [Object] the value to set the attribute
|
908
|
+
# @param value [Object] the value to set the attribute method_symbol to.
|
885
909
|
# @return [Object] the newly set value
|
886
|
-
def
|
910
|
+
def method_symbol=(_); end
|
911
|
+
|
912
|
+
# Returns the value of attribute unused_boolean
|
913
|
+
#
|
914
|
+
# @return [Object] the current value of unused_boolean
|
915
|
+
def unused_boolean; end
|
916
|
+
|
917
|
+
# Sets the attribute unused_boolean
|
918
|
+
#
|
919
|
+
# @param value [Object] the value to set the attribute unused_boolean to.
|
920
|
+
# @return [Object] the newly set value
|
921
|
+
def unused_boolean=(_); end
|
887
922
|
|
888
923
|
class << self
|
889
924
|
def [](*_arg0); end
|
@@ -899,23 +934,23 @@ class Reline::KeyActor::Base
|
|
899
934
|
# @return [Base] a new instance of Base
|
900
935
|
#
|
901
936
|
# source://reline//lib/reline/key_actor/base.rb#2
|
902
|
-
def initialize(
|
937
|
+
def initialize(mappings = T.unsafe(nil)); end
|
903
938
|
|
904
|
-
# source://reline//lib/reline/key_actor/base.rb#
|
939
|
+
# source://reline//lib/reline/key_actor/base.rb#18
|
905
940
|
def add(key, func); end
|
906
941
|
|
907
|
-
# source://reline//lib/reline/key_actor/base.rb#
|
942
|
+
# source://reline//lib/reline/key_actor/base.rb#8
|
943
|
+
def add_mappings(mappings); end
|
944
|
+
|
945
|
+
# source://reline//lib/reline/key_actor/base.rb#33
|
908
946
|
def clear; end
|
909
947
|
|
910
|
-
# source://reline//lib/reline/key_actor/base.rb#
|
948
|
+
# source://reline//lib/reline/key_actor/base.rb#29
|
911
949
|
def get(key); end
|
912
950
|
|
913
|
-
# source://reline//lib/reline/key_actor/base.rb#8
|
914
|
-
def get_method(key); end
|
915
|
-
|
916
951
|
# @return [Boolean]
|
917
952
|
#
|
918
|
-
# source://reline//lib/reline/key_actor/base.rb#
|
953
|
+
# source://reline//lib/reline/key_actor/base.rb#25
|
919
954
|
def matching?(key); end
|
920
955
|
end
|
921
956
|
|
@@ -963,7 +998,7 @@ class Reline::KeyStroke
|
|
963
998
|
# source://reline//lib/reline/key_stroke.rb#6
|
964
999
|
def encoding=(_arg0); end
|
965
1000
|
|
966
|
-
# source://reline//lib/reline/key_stroke.rb#
|
1001
|
+
# source://reline//lib/reline/key_stroke.rb#44
|
967
1002
|
def expand(input); end
|
968
1003
|
|
969
1004
|
# source://reline//lib/reline/key_stroke.rb#22
|
@@ -971,12 +1006,12 @@ class Reline::KeyStroke
|
|
971
1006
|
|
972
1007
|
private
|
973
1008
|
|
974
|
-
# source://reline//lib/reline/key_stroke.rb#
|
1009
|
+
# source://reline//lib/reline/key_stroke.rb#116
|
975
1010
|
def key_mapping; end
|
976
1011
|
|
977
1012
|
# returns match status of CSI/SS3 sequence and matched length
|
978
1013
|
#
|
979
|
-
# source://reline//lib/reline/key_stroke.rb#
|
1014
|
+
# source://reline//lib/reline/key_stroke.rb#80
|
980
1015
|
def match_unknown_escape_sequence(input, vi_mode: T.unsafe(nil)); end
|
981
1016
|
end
|
982
1017
|
|
@@ -1087,10 +1122,10 @@ Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol)
|
|
1087
1122
|
class Reline::LineEditor
|
1088
1123
|
# @return [LineEditor] a new instance of LineEditor
|
1089
1124
|
#
|
1090
|
-
# source://reline//lib/reline/line_editor.rb#
|
1125
|
+
# source://reline//lib/reline/line_editor.rb#73
|
1091
1126
|
def initialize(config); end
|
1092
1127
|
|
1093
|
-
# source://reline//lib/reline/line_editor.rb#
|
1128
|
+
# source://reline//lib/reline/line_editor.rb#692
|
1094
1129
|
def add_dialog_proc(name, p, context = T.unsafe(nil)); end
|
1095
1130
|
|
1096
1131
|
# Returns the value of attribute auto_indent_proc.
|
@@ -1110,19 +1145,19 @@ class Reline::LineEditor
|
|
1110
1145
|
# source://reline//lib/reline/line_editor.rb#8
|
1111
1146
|
def byte_pointer; end
|
1112
1147
|
|
1113
|
-
# source://reline//lib/reline/line_editor.rb#
|
1148
|
+
# source://reline//lib/reline/line_editor.rb#1282
|
1114
1149
|
def byte_pointer=(val); end
|
1115
1150
|
|
1116
|
-
# source://reline//lib/reline/line_editor.rb#
|
1151
|
+
# source://reline//lib/reline/line_editor.rb#398
|
1117
1152
|
def calculate_overlay_levels(overlay_levels); end
|
1118
1153
|
|
1119
|
-
# source://reline//lib/reline/line_editor.rb#
|
1154
|
+
# source://reline//lib/reline/line_editor.rb#1122
|
1120
1155
|
def call_completion_proc(pre, target, post, quote); end
|
1121
1156
|
|
1122
|
-
# source://reline//lib/reline/line_editor.rb#
|
1157
|
+
# source://reline//lib/reline/line_editor.rb#1129
|
1123
1158
|
def call_completion_proc_with_checking_args(pre, target, post); end
|
1124
1159
|
|
1125
|
-
# source://reline//lib/reline/line_editor.rb#
|
1160
|
+
# source://reline//lib/reline/line_editor.rb#446
|
1126
1161
|
def clear_dialogs; end
|
1127
1162
|
|
1128
1163
|
# Returns the value of attribute completion_append_character.
|
@@ -1149,7 +1184,7 @@ class Reline::LineEditor
|
|
1149
1184
|
# source://reline//lib/reline/line_editor.rb#10
|
1150
1185
|
def completion_proc=(_arg0); end
|
1151
1186
|
|
1152
|
-
# source://reline//lib/reline/line_editor.rb#
|
1187
|
+
# source://reline//lib/reline/line_editor.rb#1223
|
1153
1188
|
def confirm_multiline_termination; end
|
1154
1189
|
|
1155
1190
|
# Returns the value of attribute confirm_multiline_termination_proc.
|
@@ -1164,16 +1199,16 @@ class Reline::LineEditor
|
|
1164
1199
|
# source://reline//lib/reline/line_editor.rb#9
|
1165
1200
|
def confirm_multiline_termination_proc=(_arg0); end
|
1166
1201
|
|
1167
|
-
# source://reline//lib/reline/line_editor.rb#
|
1202
|
+
# source://reline//lib/reline/line_editor.rb#304
|
1168
1203
|
def current_byte_pointer_cursor; end
|
1169
1204
|
|
1170
|
-
# source://reline//lib/reline/line_editor.rb#
|
1205
|
+
# source://reline//lib/reline/line_editor.rb#1172
|
1171
1206
|
def current_line; end
|
1172
1207
|
|
1173
|
-
# source://reline//lib/reline/line_editor.rb#
|
1208
|
+
# source://reline//lib/reline/line_editor.rb#1248
|
1174
1209
|
def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end
|
1175
1210
|
|
1176
|
-
# source://reline//lib/reline/line_editor.rb#
|
1211
|
+
# source://reline//lib/reline/line_editor.rb#874
|
1177
1212
|
def dialog_proc_scope_completion_journey_data; end
|
1178
1213
|
|
1179
1214
|
# Returns the value of attribute dig_perfect_match_proc.
|
@@ -1188,62 +1223,55 @@ class Reline::LineEditor
|
|
1188
1223
|
# source://reline//lib/reline/line_editor.rb#15
|
1189
1224
|
def dig_perfect_match_proc=(_arg0); end
|
1190
1225
|
|
1191
|
-
# source://reline//lib/reline/line_editor.rb#
|
1226
|
+
# source://reline//lib/reline/line_editor.rb#801
|
1192
1227
|
def editing_mode; end
|
1193
1228
|
|
1194
|
-
# source://reline//lib/reline/line_editor.rb#
|
1229
|
+
# source://reline//lib/reline/line_editor.rb#84
|
1195
1230
|
def encoding; end
|
1196
1231
|
|
1197
1232
|
# @return [Boolean]
|
1198
1233
|
#
|
1199
|
-
# source://reline//lib/reline/line_editor.rb#
|
1234
|
+
# source://reline//lib/reline/line_editor.rb#220
|
1200
1235
|
def eof?; end
|
1201
1236
|
|
1202
|
-
# source://reline//lib/reline/line_editor.rb#
|
1237
|
+
# source://reline//lib/reline/line_editor.rb#216
|
1203
1238
|
def finalize; end
|
1204
1239
|
|
1205
|
-
# source://reline//lib/reline/line_editor.rb#
|
1240
|
+
# source://reline//lib/reline/line_editor.rb#1302
|
1206
1241
|
def finish; end
|
1207
1242
|
|
1208
1243
|
# @return [Boolean]
|
1209
1244
|
#
|
1210
|
-
# source://reline//lib/reline/line_editor.rb#
|
1245
|
+
# source://reline//lib/reline/line_editor.rb#1298
|
1211
1246
|
def finished?; end
|
1212
1247
|
|
1213
|
-
# source://reline//lib/reline/line_editor.rb#
|
1248
|
+
# source://reline//lib/reline/line_editor.rb#168
|
1214
1249
|
def handle_signal; end
|
1215
1250
|
|
1216
|
-
# source://reline//lib/reline/line_editor.rb#
|
1251
|
+
# source://reline//lib/reline/line_editor.rb#1043
|
1217
1252
|
def input_key(key); end
|
1218
1253
|
|
1219
|
-
# source://reline//lib/reline/line_editor.rb#
|
1254
|
+
# source://reline//lib/reline/line_editor.rb#1228
|
1220
1255
|
def insert_multiline_text(text); end
|
1221
1256
|
|
1222
|
-
# source://reline//lib/reline/line_editor.rb#
|
1257
|
+
# source://reline//lib/reline/line_editor.rb#1238
|
1223
1258
|
def insert_text(text); end
|
1224
1259
|
|
1225
|
-
# source://reline//lib/reline/line_editor.rb#
|
1260
|
+
# source://reline//lib/reline/line_editor.rb#80
|
1226
1261
|
def io_gate; end
|
1227
1262
|
|
1228
|
-
# source://reline//lib/reline/line_editor.rb#
|
1263
|
+
# source://reline//lib/reline/line_editor.rb#1168
|
1229
1264
|
def line; end
|
1230
1265
|
|
1231
|
-
# source://reline//lib/reline/line_editor.rb#
|
1266
|
+
# source://reline//lib/reline/line_editor.rb#351
|
1232
1267
|
def modified_lines; end
|
1233
1268
|
|
1234
|
-
# source://reline//lib/reline/line_editor.rb#
|
1269
|
+
# source://reline//lib/reline/line_editor.rb#273
|
1235
1270
|
def multiline_off; end
|
1236
1271
|
|
1237
|
-
# source://reline//lib/reline/line_editor.rb#
|
1272
|
+
# source://reline//lib/reline/line_editor.rb#269
|
1238
1273
|
def multiline_on; end
|
1239
1274
|
|
1240
|
-
# Sets the attribute output
|
1241
|
-
#
|
1242
|
-
# @param value the value to set the attribute output to.
|
1243
|
-
#
|
1244
|
-
# source://reline//lib/reline/line_editor.rb#16
|
1245
|
-
def output=(_arg0); end
|
1246
|
-
|
1247
1275
|
# Returns the value of attribute output_modifier_proc.
|
1248
1276
|
#
|
1249
1277
|
# source://reline//lib/reline/line_editor.rb#12
|
@@ -1256,10 +1284,10 @@ class Reline::LineEditor
|
|
1256
1284
|
# source://reline//lib/reline/line_editor.rb#12
|
1257
1285
|
def output_modifier_proc=(_arg0); end
|
1258
1286
|
|
1259
|
-
# source://reline//lib/reline/line_editor.rb#
|
1287
|
+
# source://reline//lib/reline/line_editor.rb#473
|
1260
1288
|
def print_nomultiline_prompt; end
|
1261
1289
|
|
1262
|
-
# source://reline//lib/reline/line_editor.rb#
|
1290
|
+
# source://reline//lib/reline/line_editor.rb#357
|
1263
1291
|
def prompt_list; end
|
1264
1292
|
|
1265
1293
|
# Returns the value of attribute prompt_proc.
|
@@ -1274,189 +1302,186 @@ class Reline::LineEditor
|
|
1274
1302
|
# source://reline//lib/reline/line_editor.rb#13
|
1275
1303
|
def prompt_proc=(_arg0); end
|
1276
1304
|
|
1277
|
-
# source://reline//lib/reline/line_editor.rb#
|
1305
|
+
# source://reline//lib/reline/line_editor.rb#1093
|
1278
1306
|
def push_input_lines; end
|
1279
1307
|
|
1280
|
-
# source://reline//lib/reline/line_editor.rb#
|
1308
|
+
# source://reline//lib/reline/line_editor.rb#481
|
1281
1309
|
def render; end
|
1282
1310
|
|
1283
|
-
# source://reline//lib/reline/line_editor.rb#
|
1311
|
+
# source://reline//lib/reline/line_editor.rb#461
|
1284
1312
|
def render_finished; end
|
1285
1313
|
|
1286
|
-
# source://reline//lib/reline/line_editor.rb#
|
1314
|
+
# source://reline//lib/reline/line_editor.rb#406
|
1287
1315
|
def render_line_differential(old_items, new_items); end
|
1288
1316
|
|
1289
|
-
# source://reline//lib/reline/line_editor.rb#
|
1317
|
+
# source://reline//lib/reline/line_editor.rb#564
|
1290
1318
|
def rerender; end
|
1291
1319
|
|
1292
|
-
# source://reline//lib/reline/line_editor.rb#
|
1320
|
+
# source://reline//lib/reline/line_editor.rb#141
|
1293
1321
|
def reset(prompt = T.unsafe(nil)); end
|
1294
1322
|
|
1295
|
-
# source://reline//lib/reline/line_editor.rb#
|
1323
|
+
# source://reline//lib/reline/line_editor.rb#261
|
1296
1324
|
def reset_line; end
|
1297
1325
|
|
1298
|
-
# source://reline//lib/reline/line_editor.rb#
|
1326
|
+
# source://reline//lib/reline/line_editor.rb#224
|
1299
1327
|
def reset_variables(prompt = T.unsafe(nil)); end
|
1300
1328
|
|
1301
|
-
# source://reline//lib/reline/line_editor.rb#
|
1329
|
+
# source://reline//lib/reline/line_editor.rb#560
|
1302
1330
|
def rest_height(wrapped_cursor_y); end
|
1303
1331
|
|
1304
|
-
# source://reline//lib/reline/line_editor.rb#
|
1332
|
+
# source://reline//lib/reline/line_editor.rb#1187
|
1305
1333
|
def retrieve_completion_block; end
|
1306
1334
|
|
1307
|
-
# source://reline//lib/reline/line_editor.rb#
|
1335
|
+
# source://reline//lib/reline/line_editor.rb#1089
|
1308
1336
|
def save_old_buffer; end
|
1309
1337
|
|
1310
|
-
# source://reline//lib/reline/line_editor.rb#
|
1338
|
+
# source://reline//lib/reline/line_editor.rb#363
|
1311
1339
|
def screen_height; end
|
1312
1340
|
|
1313
|
-
# source://reline//lib/reline/line_editor.rb#
|
1341
|
+
# source://reline//lib/reline/line_editor.rb#371
|
1314
1342
|
def screen_scroll_top; end
|
1315
1343
|
|
1316
|
-
# source://reline//lib/reline/line_editor.rb#
|
1344
|
+
# source://reline//lib/reline/line_editor.rb#367
|
1317
1345
|
def screen_width; end
|
1318
1346
|
|
1319
|
-
# source://reline//lib/reline/line_editor.rb#
|
1347
|
+
# source://reline//lib/reline/line_editor.rb#1112
|
1320
1348
|
def scroll_into_view; end
|
1321
1349
|
|
1322
|
-
# source://reline//lib/reline/line_editor.rb#
|
1350
|
+
# source://reline//lib/reline/line_editor.rb#1176
|
1323
1351
|
def set_current_line(line, byte_pointer = T.unsafe(nil)); end
|
1324
1352
|
|
1325
|
-
# source://reline//lib/reline/line_editor.rb#
|
1326
|
-
def set_current_lines(lines, byte_pointer = T.unsafe(nil), line_index = T.unsafe(nil)); end
|
1327
|
-
|
1328
|
-
# source://reline//lib/reline/line_editor.rb#89
|
1353
|
+
# source://reline//lib/reline/line_editor.rb#88
|
1329
1354
|
def set_pasting_state(in_pasting); end
|
1330
1355
|
|
1331
|
-
# source://reline//lib/reline/line_editor.rb#
|
1356
|
+
# source://reline//lib/reline/line_editor.rb#207
|
1332
1357
|
def set_signal_handlers; end
|
1333
1358
|
|
1334
|
-
# source://reline//lib/reline/line_editor.rb#
|
1359
|
+
# source://reline//lib/reline/line_editor.rb#1105
|
1335
1360
|
def trim_input_lines; end
|
1336
1361
|
|
1337
|
-
# source://reline//lib/reline/line_editor.rb#
|
1362
|
+
# source://reline//lib/reline/line_editor.rb#1033
|
1338
1363
|
def update(key); end
|
1339
1364
|
|
1340
|
-
# source://reline//lib/reline/line_editor.rb#
|
1365
|
+
# source://reline//lib/reline/line_editor.rb#453
|
1341
1366
|
def update_dialogs(key = T.unsafe(nil)); end
|
1342
1367
|
|
1343
|
-
# source://reline//lib/reline/line_editor.rb#
|
1368
|
+
# source://reline//lib/reline/line_editor.rb#556
|
1344
1369
|
def upper_space_height(wrapped_cursor_y); end
|
1345
1370
|
|
1346
|
-
# source://reline//lib/reline/line_editor.rb#
|
1371
|
+
# source://reline//lib/reline/line_editor.rb#1290
|
1347
1372
|
def whole_buffer; end
|
1348
1373
|
|
1349
|
-
# source://reline//lib/reline/line_editor.rb#
|
1374
|
+
# source://reline//lib/reline/line_editor.rb#1286
|
1350
1375
|
def whole_lines; end
|
1351
1376
|
|
1352
|
-
# source://reline//lib/reline/line_editor.rb#
|
1377
|
+
# source://reline//lib/reline/line_editor.rb#343
|
1353
1378
|
def with_cache(key, *deps); end
|
1354
1379
|
|
1355
|
-
# source://reline//lib/reline/line_editor.rb#
|
1380
|
+
# source://reline//lib/reline/line_editor.rb#948
|
1356
1381
|
def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end
|
1357
1382
|
|
1358
1383
|
# Calculate cursor position in word wrapped content.
|
1359
1384
|
#
|
1360
|
-
# source://reline//lib/reline/line_editor.rb#
|
1385
|
+
# source://reline//lib/reline/line_editor.rb#437
|
1361
1386
|
def wrapped_cursor_position; end
|
1362
1387
|
|
1363
|
-
# source://reline//lib/reline/line_editor.rb#
|
1388
|
+
# source://reline//lib/reline/line_editor.rb#375
|
1364
1389
|
def wrapped_prompt_and_input_lines; end
|
1365
1390
|
|
1366
1391
|
private
|
1367
1392
|
|
1368
1393
|
# @return [Boolean]
|
1369
1394
|
#
|
1370
|
-
# source://reline//lib/reline/line_editor.rb#
|
1395
|
+
# source://reline//lib/reline/line_editor.rb#938
|
1371
1396
|
def argumentable?(method_obj); end
|
1372
1397
|
|
1373
|
-
# source://reline//lib/reline/line_editor.rb#
|
1398
|
+
# source://reline//lib/reline/line_editor.rb#1443
|
1374
1399
|
def backward_char(key, arg: T.unsafe(nil)); end
|
1375
1400
|
|
1376
|
-
# source://reline//lib/reline/line_editor.rb#
|
1401
|
+
# source://reline//lib/reline/line_editor.rb#1712
|
1377
1402
|
def backward_delete_char(key, arg: T.unsafe(nil)); end
|
1378
1403
|
|
1379
|
-
# source://reline//lib/reline/line_editor.rb#
|
1404
|
+
# source://reline//lib/reline/line_editor.rb#1856
|
1380
1405
|
def backward_kill_word(key); end
|
1381
1406
|
|
1382
|
-
# source://reline//lib/reline/line_editor.rb#
|
1407
|
+
# source://reline//lib/reline/line_editor.rb#1838
|
1383
1408
|
def backward_word(key); end
|
1384
1409
|
|
1385
|
-
# source://reline//lib/reline/line_editor.rb#
|
1410
|
+
# source://reline//lib/reline/line_editor.rb#1460
|
1386
1411
|
def beginning_of_line(key); end
|
1387
1412
|
|
1388
1413
|
# @return [Boolean]
|
1389
1414
|
#
|
1390
|
-
# source://reline//lib/reline/line_editor.rb#
|
1415
|
+
# source://reline//lib/reline/line_editor.rb#1294
|
1391
1416
|
def buffer_empty?; end
|
1392
1417
|
|
1393
|
-
# source://reline//lib/reline/line_editor.rb#
|
1418
|
+
# source://reline//lib/reline/line_editor.rb#1313
|
1394
1419
|
def byteinsert(str, byte_pointer, other); end
|
1395
1420
|
|
1396
|
-
# source://reline//lib/reline/line_editor.rb#
|
1421
|
+
# source://reline//lib/reline/line_editor.rb#1307
|
1397
1422
|
def byteslice!(str, byte_pointer, size); end
|
1398
1423
|
|
1399
|
-
# source://reline//lib/reline/line_editor.rb#
|
1424
|
+
# source://reline//lib/reline/line_editor.rb#308
|
1400
1425
|
def calculate_nearest_cursor(cursor); end
|
1401
1426
|
|
1402
|
-
# source://reline//lib/reline/line_editor.rb#
|
1427
|
+
# source://reline//lib/reline/line_editor.rb#1320
|
1403
1428
|
def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
|
1404
1429
|
|
1405
|
-
# source://reline//lib/reline/line_editor.rb#
|
1430
|
+
# source://reline//lib/reline/line_editor.rb#1896
|
1406
1431
|
def capitalize_word(key); end
|
1407
1432
|
|
1408
|
-
# source://reline//lib/reline/line_editor.rb#
|
1433
|
+
# source://reline//lib/reline/line_editor.rb#95
|
1409
1434
|
def check_mode_string; end
|
1410
1435
|
|
1411
|
-
# source://reline//lib/reline/line_editor.rb#
|
1436
|
+
# source://reline//lib/reline/line_editor.rb#109
|
1412
1437
|
def check_multiline_prompt(buffer, mode_string); end
|
1413
1438
|
|
1414
|
-
# source://reline//lib/reline/line_editor.rb#
|
1439
|
+
# source://reline//lib/reline/line_editor.rb#968
|
1415
1440
|
def cleanup_waiting; end
|
1416
1441
|
|
1417
|
-
# source://reline//lib/reline/line_editor.rb#
|
1442
|
+
# source://reline//lib/reline/line_editor.rb#551
|
1418
1443
|
def clear_rendered_screen_cache; end
|
1419
1444
|
|
1420
|
-
# source://reline//lib/reline/line_editor.rb#
|
1445
|
+
# source://reline//lib/reline/line_editor.rb#1822
|
1421
1446
|
def clear_screen(key); end
|
1422
1447
|
|
1423
|
-
# source://reline//lib/reline/line_editor.rb#
|
1448
|
+
# source://reline//lib/reline/line_editor.rb#1340
|
1424
1449
|
def complete(_key); end
|
1425
1450
|
|
1426
|
-
# source://reline//lib/reline/line_editor.rb#
|
1451
|
+
# source://reline//lib/reline/line_editor.rb#1358
|
1427
1452
|
def completion_journey_move(direction); end
|
1428
1453
|
|
1429
|
-
# source://reline//lib/reline/line_editor.rb#
|
1454
|
+
# source://reline//lib/reline/line_editor.rb#1374
|
1430
1455
|
def completion_journey_up(_key); end
|
1431
1456
|
|
1432
|
-
# source://reline//lib/reline/line_editor.rb#
|
1457
|
+
# source://reline//lib/reline/line_editor.rb#1942
|
1433
1458
|
def copy_for_vi(text); end
|
1434
1459
|
|
1435
|
-
# source://reline//lib/reline/line_editor.rb#
|
1460
|
+
# source://reline//lib/reline/line_editor.rb#1777
|
1436
1461
|
def delete_char(key); end
|
1437
1462
|
|
1438
|
-
# source://reline//lib/reline/line_editor.rb#
|
1463
|
+
# source://reline//lib/reline/line_editor.rb#1792
|
1439
1464
|
def delete_char_or_list(key); end
|
1440
1465
|
|
1441
|
-
# source://reline//lib/reline/line_editor.rb#
|
1466
|
+
# source://reline//lib/reline/line_editor.rb#703
|
1442
1467
|
def dialog_range(dialog, dialog_y); end
|
1443
1468
|
|
1444
|
-
# source://reline//lib/reline/line_editor.rb#
|
1469
|
+
# source://reline//lib/reline/line_editor.rb#1906
|
1445
1470
|
def downcase_word(key); end
|
1446
1471
|
|
1447
|
-
# source://reline//lib/reline/line_editor.rb#
|
1472
|
+
# source://reline//lib/reline/line_editor.rb#2195
|
1448
1473
|
def ed_argument_digit(key); end
|
1449
1474
|
|
1450
|
-
# source://reline//lib/reline/line_editor.rb#
|
1475
|
+
# source://reline//lib/reline/line_editor.rb#1822
|
1451
1476
|
def ed_clear_screen(key); end
|
1452
1477
|
|
1453
|
-
# source://reline//lib/reline/line_editor.rb#
|
1478
|
+
# source://reline//lib/reline/line_editor.rb#2141
|
1454
1479
|
def ed_delete_next_char(key, arg: T.unsafe(nil)); end
|
1455
1480
|
|
1456
|
-
# source://reline//lib/reline/line_editor.rb#
|
1481
|
+
# source://reline//lib/reline/line_editor.rb#2053
|
1457
1482
|
def ed_delete_prev_char(key, arg: T.unsafe(nil)); end
|
1458
1483
|
|
1459
|
-
# source://reline//lib/reline/line_editor.rb#
|
1484
|
+
# source://reline//lib/reline/line_editor.rb#1856
|
1460
1485
|
def ed_delete_prev_word(key); end
|
1461
1486
|
|
1462
1487
|
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
@@ -1473,8 +1498,8 @@ class Reline::LineEditor
|
|
1473
1498
|
# million.
|
1474
1499
|
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
1475
1500
|
#
|
1476
|
-
# source://reline//lib/reline/line_editor.rb#
|
1477
|
-
def ed_digit(
|
1501
|
+
# source://reline//lib/reline/line_editor.rb#1401
|
1502
|
+
def ed_digit(str); end
|
1478
1503
|
|
1479
1504
|
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
1480
1505
|
# In insert mode, insert the input character left of the cursor
|
@@ -1490,8 +1515,8 @@ class Reline::LineEditor
|
|
1490
1515
|
# million.
|
1491
1516
|
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
1492
1517
|
#
|
1493
|
-
# source://reline//lib/reline/line_editor.rb#
|
1494
|
-
def ed_insert(
|
1518
|
+
# source://reline//lib/reline/line_editor.rb#1401
|
1519
|
+
def ed_insert(str); end
|
1495
1520
|
|
1496
1521
|
# Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
|
1497
1522
|
# +Ctrl-U+) + Kill from the cursor to the end of the line.
|
@@ -1499,69 +1524,66 @@ class Reline::LineEditor
|
|
1499
1524
|
# the line. With a negative numeric argument, kill backward
|
1500
1525
|
# from the cursor to the beginning of the current line.
|
1501
1526
|
#
|
1502
|
-
# source://reline//lib/reline/line_editor.rb#
|
1527
|
+
# source://reline//lib/reline/line_editor.rb#1733
|
1503
1528
|
def ed_kill_line(key); end
|
1504
1529
|
|
1505
|
-
# source://reline//lib/reline/line_editor.rb#
|
1530
|
+
# source://reline//lib/reline/line_editor.rb#1460
|
1506
1531
|
def ed_move_to_beg(key); end
|
1507
1532
|
|
1508
|
-
# source://reline//lib/reline/line_editor.rb#
|
1533
|
+
# source://reline//lib/reline/line_editor.rb#1466
|
1509
1534
|
def ed_move_to_end(key); end
|
1510
1535
|
|
1511
|
-
# source://reline//lib/reline/line_editor.rb#
|
1536
|
+
# source://reline//lib/reline/line_editor.rb#1683
|
1512
1537
|
def ed_newline(key); end
|
1513
1538
|
|
1514
|
-
# source://reline//lib/reline/line_editor.rb#
|
1539
|
+
# source://reline//lib/reline/line_editor.rb#1430
|
1515
1540
|
def ed_next_char(key, arg: T.unsafe(nil)); end
|
1516
1541
|
|
1517
|
-
# source://reline//lib/reline/line_editor.rb#
|
1542
|
+
# source://reline//lib/reline/line_editor.rb#1666
|
1518
1543
|
def ed_next_history(key, arg: T.unsafe(nil)); end
|
1519
1544
|
|
1520
|
-
# source://reline//lib/reline/line_editor.rb#
|
1545
|
+
# source://reline//lib/reline/line_editor.rb#1443
|
1521
1546
|
def ed_prev_char(key, arg: T.unsafe(nil)); end
|
1522
1547
|
|
1523
|
-
# source://reline//lib/reline/line_editor.rb#
|
1548
|
+
# source://reline//lib/reline/line_editor.rb#1649
|
1524
1549
|
def ed_prev_history(key, arg: T.unsafe(nil)); end
|
1525
1550
|
|
1526
|
-
# source://reline//lib/reline/line_editor.rb#
|
1551
|
+
# source://reline//lib/reline/line_editor.rb#1838
|
1527
1552
|
def ed_prev_word(key); end
|
1528
1553
|
|
1529
|
-
# source://reline//lib/reline/line_editor.rb#
|
1530
|
-
def ed_quoted_insert(str, arg: T.unsafe(nil)); end
|
1531
|
-
|
1532
|
-
# source://reline//lib/reline/line_editor.rb#1659
|
1554
|
+
# source://reline//lib/reline/line_editor.rb#1612
|
1533
1555
|
def ed_search_next_history(key, arg: T.unsafe(nil)); end
|
1534
1556
|
|
1535
|
-
# source://reline//lib/reline/line_editor.rb#
|
1557
|
+
# source://reline//lib/reline/line_editor.rb#1597
|
1536
1558
|
def ed_search_prev_history(key, arg: T.unsafe(nil)); end
|
1537
1559
|
|
1538
|
-
# source://reline//lib/reline/line_editor.rb#
|
1560
|
+
# source://reline//lib/reline/line_editor.rb#1866
|
1539
1561
|
def ed_transpose_chars(key); end
|
1540
1562
|
|
1541
|
-
# source://reline//lib/reline/line_editor.rb#
|
1563
|
+
# source://reline//lib/reline/line_editor.rb#1883
|
1542
1564
|
def ed_transpose_words(key); end
|
1543
1565
|
|
1544
1566
|
# do nothing
|
1545
1567
|
#
|
1546
|
-
# source://reline//lib/reline/line_editor.rb#
|
1568
|
+
# source://reline//lib/reline/line_editor.rb#1380
|
1547
1569
|
def ed_unassigned(key); end
|
1548
1570
|
|
1549
|
-
# source://reline//lib/reline/line_editor.rb#
|
1571
|
+
# source://reline//lib/reline/line_editor.rb#1896
|
1550
1572
|
def em_capitol_case(key); end
|
1551
1573
|
|
1552
|
-
# source://reline//lib/reline/line_editor.rb#
|
1574
|
+
# source://reline//lib/reline/line_editor.rb#1777
|
1553
1575
|
def em_delete(key); end
|
1554
1576
|
|
1555
|
-
# source://reline//lib/reline/line_editor.rb#
|
1577
|
+
# source://reline//lib/reline/line_editor.rb#1846
|
1556
1578
|
def em_delete_next_word(key); end
|
1557
1579
|
|
1558
|
-
# source://reline//lib/reline/line_editor.rb#
|
1580
|
+
# source://reline//lib/reline/line_editor.rb#1792
|
1559
1581
|
def em_delete_or_list(key); end
|
1560
1582
|
|
1561
|
-
# source://reline//lib/reline/line_editor.rb#
|
1583
|
+
# source://reline//lib/reline/line_editor.rb#1712
|
1562
1584
|
def em_delete_prev_char(key, arg: T.unsafe(nil)); end
|
1563
1585
|
|
1564
|
-
# source://reline//lib/reline/line_editor.rb#
|
1586
|
+
# source://reline//lib/reline/line_editor.rb#2336
|
1565
1587
|
def em_exchange_mark(key); end
|
1566
1588
|
|
1567
1589
|
# Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
|
@@ -1569,81 +1591,84 @@ class Reline::LineEditor
|
|
1569
1591
|
# GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
|
1570
1592
|
# current line, no matter where point is.
|
1571
1593
|
#
|
1572
|
-
# source://reline//lib/reline/line_editor.rb#
|
1594
|
+
# source://reline//lib/reline/line_editor.rb#1769
|
1573
1595
|
def em_kill_line(key); end
|
1574
1596
|
|
1575
|
-
# source://reline//lib/reline/line_editor.rb#
|
1597
|
+
# source://reline//lib/reline/line_editor.rb#1932
|
1576
1598
|
def em_kill_region(key); end
|
1577
1599
|
|
1578
|
-
# source://reline//lib/reline/line_editor.rb#
|
1600
|
+
# source://reline//lib/reline/line_editor.rb#1906
|
1579
1601
|
def em_lower_case(key); end
|
1580
1602
|
|
1581
|
-
# source://reline//lib/reline/line_editor.rb#
|
1603
|
+
# source://reline//lib/reline/line_editor.rb#1830
|
1582
1604
|
def em_next_word(key); end
|
1583
1605
|
|
1584
|
-
# source://reline//lib/reline/line_editor.rb#
|
1606
|
+
# source://reline//lib/reline/line_editor.rb#2331
|
1585
1607
|
def em_set_mark(key); end
|
1586
1608
|
|
1587
|
-
# source://reline//lib/reline/line_editor.rb#
|
1609
|
+
# source://reline//lib/reline/line_editor.rb#1919
|
1588
1610
|
def em_upper_case(key); end
|
1589
1611
|
|
1590
|
-
# source://reline//lib/reline/line_editor.rb#
|
1612
|
+
# source://reline//lib/reline/line_editor.rb#1806
|
1591
1613
|
def em_yank(key); end
|
1592
1614
|
|
1593
|
-
# source://reline//lib/reline/line_editor.rb#
|
1615
|
+
# source://reline//lib/reline/line_editor.rb#1812
|
1594
1616
|
def em_yank_pop(key); end
|
1595
1617
|
|
1596
|
-
# source://reline//lib/reline/line_editor.rb#
|
1618
|
+
# source://reline//lib/reline/line_editor.rb#2344
|
1597
1619
|
def emacs_editing_mode(key); end
|
1598
1620
|
|
1599
|
-
# source://reline//lib/reline/line_editor.rb#
|
1621
|
+
# source://reline//lib/reline/line_editor.rb#1466
|
1600
1622
|
def end_of_line(key); end
|
1601
1623
|
|
1602
|
-
# source://reline//lib/reline/line_editor.rb#
|
1624
|
+
# source://reline//lib/reline/line_editor.rb#2336
|
1603
1625
|
def exchange_point_and_mark(key); end
|
1604
1626
|
|
1605
|
-
# source://reline//lib/reline/line_editor.rb#
|
1627
|
+
# source://reline//lib/reline/line_editor.rb#809
|
1606
1628
|
def filter_normalize_candidates(target, list); end
|
1607
1629
|
|
1608
|
-
# source://reline//lib/reline/line_editor.rb#
|
1630
|
+
# source://reline//lib/reline/line_editor.rb#1430
|
1609
1631
|
def forward_char(key, arg: T.unsafe(nil)); end
|
1610
1632
|
|
1611
|
-
# source://reline//lib/reline/line_editor.rb#
|
1633
|
+
# source://reline//lib/reline/line_editor.rb#1582
|
1612
1634
|
def forward_search_history(key); end
|
1613
1635
|
|
1614
|
-
# source://reline//lib/reline/line_editor.rb#
|
1636
|
+
# source://reline//lib/reline/line_editor.rb#1830
|
1615
1637
|
def forward_word(key); end
|
1616
1638
|
|
1617
|
-
# source://reline//lib/reline/line_editor.rb#
|
1639
|
+
# source://reline//lib/reline/line_editor.rb#1471
|
1618
1640
|
def generate_searcher(search_key); end
|
1619
1641
|
|
1620
|
-
# source://reline//lib/reline/line_editor.rb#
|
1642
|
+
# source://reline//lib/reline/line_editor.rb#185
|
1621
1643
|
def handle_interrupted; end
|
1622
1644
|
|
1623
|
-
# source://reline//lib/reline/line_editor.rb#
|
1645
|
+
# source://reline//lib/reline/line_editor.rb#173
|
1624
1646
|
def handle_resized; end
|
1625
1647
|
|
1626
|
-
# source://reline//lib/reline/line_editor.rb#
|
1648
|
+
# source://reline//lib/reline/line_editor.rb#1597
|
1627
1649
|
def history_search_backward(key, arg: T.unsafe(nil)); end
|
1628
1650
|
|
1629
|
-
# source://reline//lib/reline/line_editor.rb#
|
1651
|
+
# source://reline//lib/reline/line_editor.rb#1612
|
1630
1652
|
def history_search_forward(key, arg: T.unsafe(nil)); end
|
1631
1653
|
|
1632
1654
|
# @return [Boolean]
|
1633
1655
|
#
|
1634
|
-
# source://reline//lib/reline/line_editor.rb#
|
1656
|
+
# source://reline//lib/reline/line_editor.rb#942
|
1635
1657
|
def inclusive?(method_obj); end
|
1636
1658
|
|
1637
|
-
# source://reline//lib/reline/line_editor.rb#
|
1659
|
+
# source://reline//lib/reline/line_editor.rb#1550
|
1638
1660
|
def incremental_search_history(key); end
|
1639
1661
|
|
1640
|
-
# source://reline//lib/reline/line_editor.rb#
|
1662
|
+
# source://reline//lib/reline/line_editor.rb#277
|
1641
1663
|
def insert_new_line(cursor_line, next_line); end
|
1642
1664
|
|
1643
|
-
# source://reline//lib/reline/line_editor.rb#
|
1665
|
+
# source://reline//lib/reline/line_editor.rb#1419
|
1666
|
+
def insert_raw_char(str, arg: T.unsafe(nil)); end
|
1667
|
+
|
1668
|
+
# source://reline//lib/reline/line_editor.rb#1324
|
1644
1669
|
def key_delete(key); end
|
1645
1670
|
|
1646
|
-
# source://reline//lib/reline/line_editor.rb#
|
1671
|
+
# source://reline//lib/reline/line_editor.rb#1332
|
1647
1672
|
def key_newline(key); end
|
1648
1673
|
|
1649
1674
|
# Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
|
@@ -1652,7 +1677,7 @@ class Reline::LineEditor
|
|
1652
1677
|
# the line. With a negative numeric argument, kill backward
|
1653
1678
|
# from the cursor to the beginning of the current line.
|
1654
1679
|
#
|
1655
|
-
# source://reline//lib/reline/line_editor.rb#
|
1680
|
+
# source://reline//lib/reline/line_editor.rb#1733
|
1656
1681
|
def kill_line(key); end
|
1657
1682
|
|
1658
1683
|
# Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
|
@@ -1660,85 +1685,82 @@ class Reline::LineEditor
|
|
1660
1685
|
# GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
|
1661
1686
|
# current line, no matter where point is.
|
1662
1687
|
#
|
1663
|
-
# source://reline//lib/reline/line_editor.rb#
|
1688
|
+
# source://reline//lib/reline/line_editor.rb#1769
|
1664
1689
|
def kill_whole_line(key); end
|
1665
1690
|
|
1666
|
-
# source://reline//lib/reline/line_editor.rb#
|
1691
|
+
# source://reline//lib/reline/line_editor.rb#1846
|
1667
1692
|
def kill_word(key); end
|
1668
1693
|
|
1669
|
-
# source://reline//lib/reline/line_editor.rb#
|
1694
|
+
# source://reline//lib/reline/line_editor.rb#805
|
1670
1695
|
def menu(list); end
|
1671
1696
|
|
1672
|
-
# source://reline//lib/reline/line_editor.rb#
|
1697
|
+
# source://reline//lib/reline/line_editor.rb#1366
|
1673
1698
|
def menu_complete(_key); end
|
1674
1699
|
|
1675
|
-
# source://reline//lib/reline/line_editor.rb#
|
1700
|
+
# source://reline//lib/reline/line_editor.rb#1370
|
1676
1701
|
def menu_complete_backward(_key); end
|
1677
1702
|
|
1678
|
-
# source://reline//lib/reline/line_editor.rb#
|
1703
|
+
# source://reline//lib/reline/line_editor.rb#793
|
1679
1704
|
def modify_lines(before, complete); end
|
1680
1705
|
|
1681
|
-
# source://reline//lib/reline/line_editor.rb#
|
1706
|
+
# source://reline//lib/reline/line_editor.rb#887
|
1682
1707
|
def move_completed_list(direction); end
|
1683
1708
|
|
1684
|
-
# source://reline//lib/reline/line_editor.rb#
|
1709
|
+
# source://reline//lib/reline/line_editor.rb#1627
|
1685
1710
|
def move_history(history_pointer, line:, cursor:); end
|
1686
1711
|
|
1687
|
-
# source://reline//lib/reline/line_editor.rb#
|
1688
|
-
def
|
1712
|
+
# source://reline//lib/reline/line_editor.rb#2352
|
1713
|
+
def move_undo_redo(direction); end
|
1689
1714
|
|
1690
|
-
# source://reline//lib/reline/line_editor.rb#
|
1691
|
-
def
|
1715
|
+
# source://reline//lib/reline/line_editor.rb#1666
|
1716
|
+
def next_history(key, arg: T.unsafe(nil)); end
|
1692
1717
|
|
1693
|
-
# source://reline//lib/reline/line_editor.rb#
|
1718
|
+
# source://reline//lib/reline/line_editor.rb#832
|
1694
1719
|
def perform_completion(preposing, target, postposing, quote, list); end
|
1695
1720
|
|
1696
|
-
# source://reline//lib/reline/line_editor.rb#
|
1721
|
+
# source://reline//lib/reline/line_editor.rb#2371
|
1697
1722
|
def prev_action_state_value(type); end
|
1698
1723
|
|
1699
|
-
# source://reline//lib/reline/line_editor.rb#
|
1724
|
+
# source://reline//lib/reline/line_editor.rb#1649
|
1700
1725
|
def previous_history(key, arg: T.unsafe(nil)); end
|
1701
1726
|
|
1702
|
-
# source://reline//lib/reline/line_editor.rb#
|
1727
|
+
# source://reline//lib/reline/line_editor.rb#1151
|
1703
1728
|
def process_auto_indent(line_index = T.unsafe(nil), cursor_dependent: T.unsafe(nil), add_newline: T.unsafe(nil)); end
|
1704
1729
|
|
1705
|
-
# source://reline//lib/reline/line_editor.rb#
|
1730
|
+
# source://reline//lib/reline/line_editor.rb#1382
|
1706
1731
|
def process_insert(force: T.unsafe(nil)); end
|
1707
1732
|
|
1708
|
-
# source://reline//lib/reline/line_editor.rb#
|
1733
|
+
# source://reline//lib/reline/line_editor.rb#979
|
1709
1734
|
def process_key(key, method_symbol); end
|
1710
1735
|
|
1711
|
-
# source://reline//lib/reline/line_editor.rb#
|
1712
|
-
def quoted_insert(str, arg: T.unsafe(nil)); end
|
1713
|
-
|
1714
|
-
# source://reline//lib/reline/line_editor.rb#2448
|
1736
|
+
# source://reline//lib/reline/line_editor.rb#2379
|
1715
1737
|
def re_read_init_file(_key); end
|
1716
1738
|
|
1717
|
-
# source://reline//lib/reline/line_editor.rb#
|
1739
|
+
# source://reline//lib/reline/line_editor.rb#2367
|
1718
1740
|
def redo(_key); end
|
1719
1741
|
|
1720
1742
|
# Reflects lines to be rendered and new cursor position to the screen
|
1721
1743
|
# by calculating the difference from the previous render.
|
1722
1744
|
#
|
1723
|
-
# source://reline//lib/reline/line_editor.rb#
|
1745
|
+
# source://reline//lib/reline/line_editor.rb#515
|
1724
1746
|
def render_differential(new_lines, new_cursor_x, new_cursor_y); end
|
1725
1747
|
|
1726
|
-
# source://reline//lib/reline/line_editor.rb#
|
1748
|
+
# source://reline//lib/reline/line_editor.rb#899
|
1727
1749
|
def retrieve_completion_journey_state; end
|
1728
1750
|
|
1729
|
-
# source://reline//lib/reline/line_editor.rb#
|
1751
|
+
# source://reline//lib/reline/line_editor.rb#1577
|
1730
1752
|
def reverse_search_history(key); end
|
1731
1753
|
|
1732
|
-
# source://reline//lib/reline/line_editor.rb#
|
1754
|
+
# source://reline//lib/reline/line_editor.rb#914
|
1733
1755
|
def run_for_operators(key, method_symbol, &block); end
|
1734
1756
|
|
1735
|
-
# source://reline//lib/reline/line_editor.rb#
|
1757
|
+
# source://reline//lib/reline/line_editor.rb#1587
|
1736
1758
|
def search_history(prefix, pointer_range); end
|
1737
1759
|
|
1738
|
-
# source://reline//lib/reline/line_editor.rb#
|
1760
|
+
# source://reline//lib/reline/line_editor.rb#2242
|
1739
1761
|
def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1740
1762
|
|
1741
|
-
# source://reline//lib/reline/line_editor.rb#
|
1763
|
+
# source://reline//lib/reline/line_editor.rb#2289
|
1742
1764
|
def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end
|
1743
1765
|
|
1744
1766
|
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
@@ -1755,25 +1777,25 @@ class Reline::LineEditor
|
|
1755
1777
|
# million.
|
1756
1778
|
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
1757
1779
|
#
|
1758
|
-
# source://reline//lib/reline/line_editor.rb#
|
1759
|
-
def self_insert(
|
1780
|
+
# source://reline//lib/reline/line_editor.rb#1401
|
1781
|
+
def self_insert(str); end
|
1760
1782
|
|
1761
|
-
# source://reline//lib/reline/line_editor.rb#
|
1783
|
+
# source://reline//lib/reline/line_editor.rb#2331
|
1762
1784
|
def set_mark(key); end
|
1763
1785
|
|
1764
|
-
# source://reline//lib/reline/line_editor.rb#
|
1786
|
+
# source://reline//lib/reline/line_editor.rb#2375
|
1765
1787
|
def set_next_action_state(type, value); end
|
1766
1788
|
|
1767
|
-
# source://reline//lib/reline/line_editor.rb#
|
1789
|
+
# source://reline//lib/reline/line_editor.rb#300
|
1768
1790
|
def split_line_by_width(str, max_width, offset: T.unsafe(nil)); end
|
1769
1791
|
|
1770
|
-
# source://reline//lib/reline/line_editor.rb#
|
1792
|
+
# source://reline//lib/reline/line_editor.rb#1866
|
1771
1793
|
def transpose_chars(key); end
|
1772
1794
|
|
1773
|
-
# source://reline//lib/reline/line_editor.rb#
|
1795
|
+
# source://reline//lib/reline/line_editor.rb#1883
|
1774
1796
|
def transpose_words(key); end
|
1775
1797
|
|
1776
|
-
# source://reline//lib/reline/line_editor.rb#
|
1798
|
+
# source://reline//lib/reline/line_editor.rb#2363
|
1777
1799
|
def undo(_key); end
|
1778
1800
|
|
1779
1801
|
# Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
|
@@ -1782,75 +1804,75 @@ class Reline::LineEditor
|
|
1782
1804
|
# GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
|
1783
1805
|
# to the beginning of the current line.
|
1784
1806
|
#
|
1785
|
-
# source://reline//lib/reline/line_editor.rb#
|
1807
|
+
# source://reline//lib/reline/line_editor.rb#1756
|
1786
1808
|
def unix_line_discard(key); end
|
1787
1809
|
|
1788
|
-
# source://reline//lib/reline/line_editor.rb#
|
1810
|
+
# source://reline//lib/reline/line_editor.rb#1932
|
1789
1811
|
def unix_word_rubout(key); end
|
1790
1812
|
|
1791
|
-
# source://reline//lib/reline/line_editor.rb#
|
1813
|
+
# source://reline//lib/reline/line_editor.rb#1919
|
1792
1814
|
def upcase_word(key); end
|
1793
1815
|
|
1794
|
-
# source://reline//lib/reline/line_editor.rb#
|
1816
|
+
# source://reline//lib/reline/line_editor.rb#709
|
1795
1817
|
def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end
|
1796
1818
|
|
1797
|
-
# source://reline//lib/reline/line_editor.rb#
|
1819
|
+
# source://reline//lib/reline/line_editor.rb#1952
|
1798
1820
|
def vi_add(key); end
|
1799
1821
|
|
1800
|
-
# source://reline//lib/reline/line_editor.rb#
|
1822
|
+
# source://reline//lib/reline/line_editor.rb#2048
|
1801
1823
|
def vi_add_at_eol(key); end
|
1802
1824
|
|
1803
|
-
# source://reline//lib/reline/line_editor.rb#
|
1825
|
+
# source://reline//lib/reline/line_editor.rb#2067
|
1804
1826
|
def vi_change_meta(key, arg: T.unsafe(nil)); end
|
1805
1827
|
|
1806
|
-
# source://reline//lib/reline/line_editor.rb#
|
1828
|
+
# source://reline//lib/reline/line_editor.rb#2079
|
1807
1829
|
def vi_change_meta_confirm(byte_pointer_diff); end
|
1808
1830
|
|
1809
1831
|
# Editline:: +vi_change_to_eol+ (vi command: +C+) + Kill and change from the cursor to the end of the line.
|
1810
1832
|
#
|
1811
|
-
# source://reline//lib/reline/line_editor.rb#
|
1833
|
+
# source://reline//lib/reline/line_editor.rb#1745
|
1812
1834
|
def vi_change_to_eol(key); end
|
1813
1835
|
|
1814
|
-
# source://reline//lib/reline/line_editor.rb#
|
1836
|
+
# source://reline//lib/reline/line_editor.rb#1957
|
1815
1837
|
def vi_command_mode(key); end
|
1816
1838
|
|
1817
|
-
# source://reline//lib/reline/line_editor.rb#
|
1839
|
+
# source://reline//lib/reline/line_editor.rb#2085
|
1818
1840
|
def vi_delete_meta(key, arg: T.unsafe(nil)); end
|
1819
1841
|
|
1820
|
-
# source://reline//lib/reline/line_editor.rb#
|
1842
|
+
# source://reline//lib/reline/line_editor.rb#2096
|
1821
1843
|
def vi_delete_meta_confirm(byte_pointer_diff); end
|
1822
1844
|
|
1823
|
-
# source://reline//lib/reline/line_editor.rb#
|
1845
|
+
# source://reline//lib/reline/line_editor.rb#2029
|
1824
1846
|
def vi_delete_prev_char(key); end
|
1825
1847
|
|
1826
|
-
# source://reline//lib/reline/line_editor.rb#
|
1848
|
+
# source://reline//lib/reline/line_editor.rb#2348
|
1827
1849
|
def vi_editing_mode(key); end
|
1828
1850
|
|
1829
|
-
# source://reline//lib/reline/line_editor.rb#
|
1851
|
+
# source://reline//lib/reline/line_editor.rb#2014
|
1830
1852
|
def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1831
1853
|
|
1832
|
-
# source://reline//lib/reline/line_editor.rb#
|
1854
|
+
# source://reline//lib/reline/line_editor.rb#2130
|
1833
1855
|
def vi_end_of_transmission(key); end
|
1834
1856
|
|
1835
|
-
# source://reline//lib/reline/line_editor.rb#
|
1857
|
+
# source://reline//lib/reline/line_editor.rb#1981
|
1836
1858
|
def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1837
1859
|
|
1838
|
-
# source://reline//lib/reline/line_editor.rb#
|
1860
|
+
# source://reline//lib/reline/line_editor.rb#2130
|
1839
1861
|
def vi_eof_maybe(key); end
|
1840
1862
|
|
1841
|
-
# source://reline//lib/reline/line_editor.rb#
|
1863
|
+
# source://reline//lib/reline/line_editor.rb#1456
|
1842
1864
|
def vi_first_print(key); end
|
1843
1865
|
|
1844
|
-
# source://reline//lib/reline/line_editor.rb#
|
1866
|
+
# source://reline//lib/reline/line_editor.rb#2164
|
1845
1867
|
def vi_histedit(key); end
|
1846
1868
|
|
1847
|
-
# source://reline//lib/reline/line_editor.rb#
|
1869
|
+
# source://reline//lib/reline/line_editor.rb#1948
|
1848
1870
|
def vi_insert(key); end
|
1849
1871
|
|
1850
|
-
# source://reline//lib/reline/line_editor.rb#
|
1872
|
+
# source://reline//lib/reline/line_editor.rb#2043
|
1851
1873
|
def vi_insert_at_bol(key); end
|
1852
1874
|
|
1853
|
-
# source://reline//lib/reline/line_editor.rb#
|
1875
|
+
# source://reline//lib/reline/line_editor.rb#2322
|
1854
1876
|
def vi_join_lines(key, arg: T.unsafe(nil)); end
|
1855
1877
|
|
1856
1878
|
# Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
|
@@ -1859,77 +1881,80 @@ class Reline::LineEditor
|
|
1859
1881
|
# GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
|
1860
1882
|
# to the beginning of the current line.
|
1861
1883
|
#
|
1862
|
-
# source://reline//lib/reline/line_editor.rb#
|
1884
|
+
# source://reline//lib/reline/line_editor.rb#1756
|
1863
1885
|
def vi_kill_line_prev(key); end
|
1864
1886
|
|
1865
|
-
# source://reline//lib/reline/line_editor.rb#
|
1887
|
+
# source://reline//lib/reline/line_editor.rb#2130
|
1866
1888
|
def vi_list_or_eof(key); end
|
1867
1889
|
|
1868
|
-
# source://reline//lib/reline/line_editor.rb#
|
1890
|
+
# source://reline//lib/reline/line_editor.rb#1957
|
1869
1891
|
def vi_movement_mode(key); end
|
1870
1892
|
|
1871
|
-
# source://reline//lib/reline/line_editor.rb#
|
1893
|
+
# source://reline//lib/reline/line_editor.rb#1996
|
1872
1894
|
def vi_next_big_word(key, arg: T.unsafe(nil)); end
|
1873
1895
|
|
1874
|
-
# source://reline//lib/reline/line_editor.rb#
|
1896
|
+
# source://reline//lib/reline/line_editor.rb#2234
|
1875
1897
|
def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1876
1898
|
|
1877
|
-
# source://reline//lib/reline/line_editor.rb#
|
1899
|
+
# source://reline//lib/reline/line_editor.rb#1963
|
1878
1900
|
def vi_next_word(key, arg: T.unsafe(nil)); end
|
1879
1901
|
|
1880
|
-
# source://reline//lib/reline/line_editor.rb#
|
1902
|
+
# source://reline//lib/reline/line_editor.rb#2185
|
1881
1903
|
def vi_paste_next(key, arg: T.unsafe(nil)); end
|
1882
1904
|
|
1883
|
-
# source://reline//lib/reline/line_editor.rb#
|
1905
|
+
# source://reline//lib/reline/line_editor.rb#2176
|
1884
1906
|
def vi_paste_prev(key, arg: T.unsafe(nil)); end
|
1885
1907
|
|
1886
|
-
# source://reline//lib/reline/line_editor.rb#
|
1908
|
+
# source://reline//lib/reline/line_editor.rb#2005
|
1887
1909
|
def vi_prev_big_word(key, arg: T.unsafe(nil)); end
|
1888
1910
|
|
1889
|
-
# source://reline//lib/reline/line_editor.rb#
|
1911
|
+
# source://reline//lib/reline/line_editor.rb#2281
|
1890
1912
|
def vi_prev_char(key, arg: T.unsafe(nil)); end
|
1891
1913
|
|
1892
|
-
# source://reline//lib/reline/line_editor.rb#
|
1914
|
+
# source://reline//lib/reline/line_editor.rb#1972
|
1893
1915
|
def vi_prev_word(key, arg: T.unsafe(nil)); end
|
1894
1916
|
|
1895
|
-
# source://reline//lib/reline/line_editor.rb#
|
1917
|
+
# source://reline//lib/reline/line_editor.rb#2210
|
1896
1918
|
def vi_replace_char(key, arg: T.unsafe(nil)); end
|
1897
1919
|
|
1898
|
-
# source://reline//lib/reline/line_editor.rb#
|
1920
|
+
# source://reline//lib/reline/line_editor.rb#1582
|
1899
1921
|
def vi_search_next(key); end
|
1900
1922
|
|
1901
|
-
# source://reline//lib/reline/line_editor.rb#
|
1923
|
+
# source://reline//lib/reline/line_editor.rb#1577
|
1902
1924
|
def vi_search_prev(key); end
|
1903
1925
|
|
1904
|
-
# source://reline//lib/reline/line_editor.rb#
|
1926
|
+
# source://reline//lib/reline/line_editor.rb#2201
|
1905
1927
|
def vi_to_column(key, arg: T.unsafe(nil)); end
|
1906
1928
|
|
1907
|
-
# source://reline//lib/reline/line_editor.rb#
|
1929
|
+
# source://reline//lib/reline/line_editor.rb#2157
|
1908
1930
|
def vi_to_history_line(key); end
|
1909
1931
|
|
1910
|
-
# source://reline//lib/reline/line_editor.rb#
|
1932
|
+
# source://reline//lib/reline/line_editor.rb#2238
|
1911
1933
|
def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1912
1934
|
|
1913
|
-
# source://reline//lib/reline/line_editor.rb#
|
1935
|
+
# source://reline//lib/reline/line_editor.rb#2285
|
1914
1936
|
def vi_to_prev_char(key, arg: T.unsafe(nil)); end
|
1915
1937
|
|
1916
|
-
# source://reline//lib/reline/line_editor.rb#
|
1938
|
+
# source://reline//lib/reline/line_editor.rb#2108
|
1917
1939
|
def vi_yank(key, arg: T.unsafe(nil)); end
|
1918
1940
|
|
1919
|
-
# source://reline//lib/reline/line_editor.rb#
|
1941
|
+
# source://reline//lib/reline/line_editor.rb#2119
|
1920
1942
|
def vi_yank_confirm(byte_pointer_diff); end
|
1921
1943
|
|
1922
|
-
# source://reline//lib/reline/line_editor.rb#
|
1944
|
+
# source://reline//lib/reline/line_editor.rb#1460
|
1923
1945
|
def vi_zero(key); end
|
1924
1946
|
|
1925
|
-
# source://reline//lib/reline/line_editor.rb#
|
1947
|
+
# source://reline//lib/reline/line_editor.rb#1806
|
1926
1948
|
def yank(key); end
|
1927
1949
|
|
1928
|
-
# source://reline//lib/reline/line_editor.rb#
|
1950
|
+
# source://reline//lib/reline/line_editor.rb#1812
|
1929
1951
|
def yank_pop(key); end
|
1930
1952
|
end
|
1931
1953
|
|
1932
|
-
# source://reline//lib/reline/line_editor.rb#
|
1954
|
+
# source://reline//lib/reline/line_editor.rb#976
|
1955
|
+
Reline::LineEditor::ARGUMENT_DIGIT_METHODS = T.let(T.unsafe(nil), Array)
|
1956
|
+
|
1957
|
+
# source://reline//lib/reline/line_editor.rb#45
|
1933
1958
|
class Reline::LineEditor::CompletionJourneyState < ::Struct
|
1934
1959
|
# Returns the value of attribute line_index
|
1935
1960
|
#
|
@@ -2006,173 +2031,173 @@ class Reline::LineEditor::CompletionJourneyState < ::Struct
|
|
2006
2031
|
end
|
2007
2032
|
end
|
2008
2033
|
|
2009
|
-
# source://reline//lib/reline/line_editor.rb#
|
2034
|
+
# source://reline//lib/reline/line_editor.rb#38
|
2010
2035
|
Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol)
|
2011
2036
|
|
2012
|
-
# source://reline//lib/reline/line_editor.rb#
|
2037
|
+
# source://reline//lib/reline/line_editor.rb#39
|
2013
2038
|
Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
|
2014
2039
|
|
2015
|
-
# source://reline//lib/reline/line_editor.rb#
|
2040
|
+
# source://reline//lib/reline/line_editor.rb#37
|
2016
2041
|
Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol)
|
2017
2042
|
|
2018
|
-
# source://reline//lib/reline/line_editor.rb#
|
2043
|
+
# source://reline//lib/reline/line_editor.rb#40
|
2019
2044
|
Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
|
2020
2045
|
|
2021
|
-
# source://reline//lib/reline/line_editor.rb#
|
2046
|
+
# source://reline//lib/reline/line_editor.rb#701
|
2022
2047
|
Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer)
|
2023
2048
|
|
2024
|
-
# source://reline//lib/reline/line_editor.rb#
|
2049
|
+
# source://reline//lib/reline/line_editor.rb#647
|
2025
2050
|
class Reline::LineEditor::Dialog
|
2026
2051
|
# @return [Dialog] a new instance of Dialog
|
2027
2052
|
#
|
2028
|
-
# source://reline//lib/reline/line_editor.rb#
|
2053
|
+
# source://reline//lib/reline/line_editor.rb#651
|
2029
2054
|
def initialize(name, config, proc_scope); end
|
2030
2055
|
|
2031
|
-
# source://reline//lib/reline/line_editor.rb#
|
2056
|
+
# source://reline//lib/reline/line_editor.rb#675
|
2032
2057
|
def call(key); end
|
2033
2058
|
|
2034
2059
|
# Returns the value of attribute column.
|
2035
2060
|
#
|
2036
|
-
# source://reline//lib/reline/line_editor.rb#
|
2061
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2037
2062
|
def column; end
|
2038
2063
|
|
2039
2064
|
# Sets the attribute column
|
2040
2065
|
#
|
2041
2066
|
# @param value the value to set the attribute column to.
|
2042
2067
|
#
|
2043
|
-
# source://reline//lib/reline/line_editor.rb#
|
2068
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2044
2069
|
def column=(_arg0); end
|
2045
2070
|
|
2046
2071
|
# Returns the value of attribute contents.
|
2047
2072
|
#
|
2048
|
-
# source://reline//lib/reline/line_editor.rb#
|
2073
|
+
# source://reline//lib/reline/line_editor.rb#648
|
2049
2074
|
def contents; end
|
2050
2075
|
|
2051
|
-
# source://reline//lib/reline/line_editor.rb#
|
2076
|
+
# source://reline//lib/reline/line_editor.rb#668
|
2052
2077
|
def contents=(contents); end
|
2053
2078
|
|
2054
2079
|
# Returns the value of attribute name.
|
2055
2080
|
#
|
2056
|
-
# source://reline//lib/reline/line_editor.rb#
|
2081
|
+
# source://reline//lib/reline/line_editor.rb#648
|
2057
2082
|
def name; end
|
2058
2083
|
|
2059
2084
|
# Returns the value of attribute pointer.
|
2060
2085
|
#
|
2061
|
-
# source://reline//lib/reline/line_editor.rb#
|
2086
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2062
2087
|
def pointer; end
|
2063
2088
|
|
2064
2089
|
# Sets the attribute pointer
|
2065
2090
|
#
|
2066
2091
|
# @param value the value to set the attribute pointer to.
|
2067
2092
|
#
|
2068
|
-
# source://reline//lib/reline/line_editor.rb#
|
2093
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2069
2094
|
def pointer=(_arg0); end
|
2070
2095
|
|
2071
2096
|
# Returns the value of attribute scroll_top.
|
2072
2097
|
#
|
2073
|
-
# source://reline//lib/reline/line_editor.rb#
|
2098
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2074
2099
|
def scroll_top; end
|
2075
2100
|
|
2076
2101
|
# Sets the attribute scroll_top
|
2077
2102
|
#
|
2078
2103
|
# @param value the value to set the attribute scroll_top to.
|
2079
2104
|
#
|
2080
|
-
# source://reline//lib/reline/line_editor.rb#
|
2105
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2081
2106
|
def scroll_top=(_arg0); end
|
2082
2107
|
|
2083
|
-
# source://reline//lib/reline/line_editor.rb#
|
2108
|
+
# source://reline//lib/reline/line_editor.rb#660
|
2084
2109
|
def set_cursor_pos(col, row); end
|
2085
2110
|
|
2086
2111
|
# Returns the value of attribute trap_key.
|
2087
2112
|
#
|
2088
|
-
# source://reline//lib/reline/line_editor.rb#
|
2113
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2089
2114
|
def trap_key; end
|
2090
2115
|
|
2091
2116
|
# Sets the attribute trap_key
|
2092
2117
|
#
|
2093
2118
|
# @param value the value to set the attribute trap_key to.
|
2094
2119
|
#
|
2095
|
-
# source://reline//lib/reline/line_editor.rb#
|
2120
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2096
2121
|
def trap_key=(_arg0); end
|
2097
2122
|
|
2098
2123
|
# Returns the value of attribute vertical_offset.
|
2099
2124
|
#
|
2100
|
-
# source://reline//lib/reline/line_editor.rb#
|
2125
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2101
2126
|
def vertical_offset; end
|
2102
2127
|
|
2103
2128
|
# Sets the attribute vertical_offset
|
2104
2129
|
#
|
2105
2130
|
# @param value the value to set the attribute vertical_offset to.
|
2106
2131
|
#
|
2107
|
-
# source://reline//lib/reline/line_editor.rb#
|
2132
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2108
2133
|
def vertical_offset=(_arg0); end
|
2109
2134
|
|
2110
2135
|
# Returns the value of attribute width.
|
2111
2136
|
#
|
2112
|
-
# source://reline//lib/reline/line_editor.rb#
|
2137
|
+
# source://reline//lib/reline/line_editor.rb#648
|
2113
2138
|
def width; end
|
2114
2139
|
|
2115
|
-
# source://reline//lib/reline/line_editor.rb#
|
2140
|
+
# source://reline//lib/reline/line_editor.rb#664
|
2116
2141
|
def width=(v); end
|
2117
2142
|
end
|
2118
2143
|
|
2119
|
-
# source://reline//lib/reline/line_editor.rb#
|
2144
|
+
# source://reline//lib/reline/line_editor.rb#568
|
2120
2145
|
class Reline::LineEditor::DialogProcScope
|
2121
2146
|
# @return [DialogProcScope] a new instance of DialogProcScope
|
2122
2147
|
#
|
2123
|
-
# source://reline//lib/reline/line_editor.rb#
|
2148
|
+
# source://reline//lib/reline/line_editor.rb#571
|
2124
2149
|
def initialize(line_editor, config, proc_to_exec, context); end
|
2125
2150
|
|
2126
|
-
# source://reline//lib/reline/line_editor.rb#
|
2151
|
+
# source://reline//lib/reline/line_editor.rb#642
|
2127
2152
|
def call; end
|
2128
2153
|
|
2129
|
-
# source://reline//lib/reline/line_editor.rb#
|
2154
|
+
# source://reline//lib/reline/line_editor.rb#588
|
2130
2155
|
def call_completion_proc_with_checking_args(pre, target, post); end
|
2131
2156
|
|
2132
|
-
# source://reline//lib/reline/line_editor.rb#
|
2157
|
+
# source://reline//lib/reline/line_editor.rb#634
|
2133
2158
|
def completion_journey_data; end
|
2134
2159
|
|
2135
|
-
# source://reline//lib/reline/line_editor.rb#
|
2160
|
+
# source://reline//lib/reline/line_editor.rb#638
|
2136
2161
|
def config; end
|
2137
2162
|
|
2138
|
-
# source://reline//lib/reline/line_editor.rb#
|
2163
|
+
# source://reline//lib/reline/line_editor.rb#579
|
2139
2164
|
def context; end
|
2140
2165
|
|
2141
|
-
# source://reline//lib/reline/line_editor.rb#
|
2166
|
+
# source://reline//lib/reline/line_editor.rb#613
|
2142
2167
|
def cursor_pos; end
|
2143
2168
|
|
2144
|
-
# source://reline//lib/reline/line_editor.rb#
|
2169
|
+
# source://reline//lib/reline/line_editor.rb#596
|
2145
2170
|
def dialog; end
|
2146
2171
|
|
2147
|
-
# source://reline//lib/reline/line_editor.rb#
|
2172
|
+
# source://reline//lib/reline/line_editor.rb#617
|
2148
2173
|
def just_cursor_moving; end
|
2149
2174
|
|
2150
|
-
# source://reline//lib/reline/line_editor.rb#
|
2175
|
+
# source://reline//lib/reline/line_editor.rb#609
|
2151
2176
|
def key; end
|
2152
2177
|
|
2153
|
-
# source://reline//lib/reline/line_editor.rb#
|
2178
|
+
# source://reline//lib/reline/line_editor.rb#629
|
2154
2179
|
def preferred_dialog_height; end
|
2155
2180
|
|
2156
|
-
# source://reline//lib/reline/line_editor.rb#
|
2181
|
+
# source://reline//lib/reline/line_editor.rb#583
|
2157
2182
|
def retrieve_completion_block(_unused = T.unsafe(nil)); end
|
2158
2183
|
|
2159
|
-
# source://reline//lib/reline/line_editor.rb#
|
2184
|
+
# source://reline//lib/reline/line_editor.rb#625
|
2160
2185
|
def screen_height; end
|
2161
2186
|
|
2162
|
-
# source://reline//lib/reline/line_editor.rb#
|
2187
|
+
# source://reline//lib/reline/line_editor.rb#621
|
2163
2188
|
def screen_width; end
|
2164
2189
|
|
2165
|
-
# source://reline//lib/reline/line_editor.rb#
|
2190
|
+
# source://reline//lib/reline/line_editor.rb#600
|
2166
2191
|
def set_cursor_pos(col, row); end
|
2167
2192
|
|
2168
|
-
# source://reline//lib/reline/line_editor.rb#
|
2193
|
+
# source://reline//lib/reline/line_editor.rb#592
|
2169
2194
|
def set_dialog(dialog); end
|
2170
2195
|
|
2171
|
-
# source://reline//lib/reline/line_editor.rb#
|
2196
|
+
# source://reline//lib/reline/line_editor.rb#605
|
2172
2197
|
def set_key(key); end
|
2173
2198
|
end
|
2174
2199
|
|
2175
|
-
# source://reline//lib/reline/line_editor.rb#
|
2200
|
+
# source://reline//lib/reline/line_editor.rb#569
|
2176
2201
|
class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct
|
2177
2202
|
# Returns the value of attribute list
|
2178
2203
|
#
|
@@ -2227,32 +2252,32 @@ class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct
|
|
2227
2252
|
end
|
2228
2253
|
end
|
2229
2254
|
|
2230
|
-
# source://reline//lib/reline/line_editor.rb#
|
2255
|
+
# source://reline//lib/reline/line_editor.rb#1104
|
2231
2256
|
Reline::LineEditor::MAX_INPUT_LINES = T.let(T.unsafe(nil), Integer)
|
2232
2257
|
|
2233
|
-
# source://reline//lib/reline/line_editor.rb#
|
2258
|
+
# source://reline//lib/reline/line_editor.rb#71
|
2234
2259
|
Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer)
|
2235
2260
|
|
2236
|
-
# source://reline//lib/reline/line_editor.rb#
|
2261
|
+
# source://reline//lib/reline/line_editor.rb#48
|
2237
2262
|
class Reline::LineEditor::MenuInfo
|
2238
2263
|
# @return [MenuInfo] a new instance of MenuInfo
|
2239
2264
|
#
|
2240
|
-
# source://reline//lib/reline/line_editor.rb#
|
2265
|
+
# source://reline//lib/reline/line_editor.rb#51
|
2241
2266
|
def initialize(list); end
|
2242
2267
|
|
2243
|
-
# source://reline//lib/reline/line_editor.rb#
|
2268
|
+
# source://reline//lib/reline/line_editor.rb#55
|
2244
2269
|
def lines(screen_width); end
|
2245
2270
|
|
2246
2271
|
# Returns the value of attribute list.
|
2247
2272
|
#
|
2248
|
-
# source://reline//lib/reline/line_editor.rb#
|
2273
|
+
# source://reline//lib/reline/line_editor.rb#49
|
2249
2274
|
def list; end
|
2250
2275
|
end
|
2251
2276
|
|
2252
|
-
# source://reline//lib/reline/line_editor.rb#
|
2277
|
+
# source://reline//lib/reline/line_editor.rb#46
|
2253
2278
|
Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array)
|
2254
2279
|
|
2255
|
-
# source://reline//lib/reline/line_editor.rb#
|
2280
|
+
# source://reline//lib/reline/line_editor.rb#43
|
2256
2281
|
class Reline::LineEditor::RenderedScreen < ::Struct
|
2257
2282
|
# Returns the value of attribute base_y
|
2258
2283
|
#
|
@@ -2296,9 +2321,12 @@ class Reline::LineEditor::RenderedScreen < ::Struct
|
|
2296
2321
|
end
|
2297
2322
|
end
|
2298
2323
|
|
2299
|
-
# source://reline//lib/reline/line_editor.rb#
|
2324
|
+
# source://reline//lib/reline/line_editor.rb#17
|
2300
2325
|
Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array)
|
2301
2326
|
|
2327
|
+
# source://reline//lib/reline/line_editor.rb#977
|
2328
|
+
Reline::LineEditor::VI_WAITING_ACCEPT_METHODS = T.let(T.unsafe(nil), Array)
|
2329
|
+
|
2302
2330
|
# source://reline//lib/reline.rb#16
|
2303
2331
|
Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
|
2304
2332
|
|
@@ -2308,22 +2336,22 @@ class Reline::Unicode
|
|
2308
2336
|
# source://reline//lib/reline/unicode.rb#98
|
2309
2337
|
def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
|
2310
2338
|
|
2311
|
-
# source://reline//lib/reline/unicode.rb#
|
2339
|
+
# source://reline//lib/reline/unicode.rb#387
|
2312
2340
|
def common_prefix(list, ignore_case: T.unsafe(nil)); end
|
2313
2341
|
|
2314
|
-
# source://reline//lib/reline/unicode.rb#
|
2342
|
+
# source://reline//lib/reline/unicode.rb#292
|
2315
2343
|
def ed_transpose_words(line, byte_pointer); end
|
2316
2344
|
|
2317
|
-
# source://reline//lib/reline/unicode.rb#
|
2345
|
+
# source://reline//lib/reline/unicode.rb#278
|
2318
2346
|
def em_backward_word(line, byte_pointer); end
|
2319
2347
|
|
2320
|
-
# source://reline//lib/reline/unicode.rb#
|
2348
|
+
# source://reline//lib/reline/unicode.rb#285
|
2321
2349
|
def em_big_backward_word(line, byte_pointer); end
|
2322
2350
|
|
2323
2351
|
# source://reline//lib/reline/unicode.rb#264
|
2324
2352
|
def em_forward_word(line, byte_pointer); end
|
2325
2353
|
|
2326
|
-
# source://reline//lib/reline/unicode.rb#
|
2354
|
+
# source://reline//lib/reline/unicode.rb#271
|
2327
2355
|
def em_forward_word_with_capitalization(line, byte_pointer); end
|
2328
2356
|
|
2329
2357
|
# source://reline//lib/reline/unicode.rb#44
|
@@ -2341,6 +2369,11 @@ class Reline::Unicode
|
|
2341
2369
|
# source://reline//lib/reline/unicode.rb#57
|
2342
2370
|
def safe_encode(str, encoding); end
|
2343
2371
|
|
2372
|
+
# @return [Boolean]
|
2373
|
+
#
|
2374
|
+
# source://reline//lib/reline/unicode.rb#412
|
2375
|
+
def space_character?(s); end
|
2376
|
+
|
2344
2377
|
# This method is used by IRB
|
2345
2378
|
#
|
2346
2379
|
# source://reline//lib/reline/unicode.rb#125
|
@@ -2360,26 +2393,31 @@ class Reline::Unicode
|
|
2360
2393
|
# source://reline//lib/reline/unicode.rb#177
|
2361
2394
|
def take_range(str, start_col, max_width); end
|
2362
2395
|
|
2363
|
-
# source://reline//lib/reline/unicode.rb#
|
2396
|
+
# source://reline//lib/reline/unicode.rb#378
|
2364
2397
|
def vi_backward_word(line, byte_pointer); end
|
2365
2398
|
|
2366
|
-
# source://reline//lib/reline/unicode.rb#
|
2399
|
+
# source://reline//lib/reline/unicode.rb#333
|
2367
2400
|
def vi_big_backward_word(line, byte_pointer); end
|
2368
2401
|
|
2369
|
-
# source://reline//lib/reline/unicode.rb#
|
2402
|
+
# source://reline//lib/reline/unicode.rb#323
|
2370
2403
|
def vi_big_forward_end_word(line, byte_pointer); end
|
2371
2404
|
|
2372
|
-
# source://reline//lib/reline/unicode.rb#
|
2405
|
+
# source://reline//lib/reline/unicode.rb#316
|
2373
2406
|
def vi_big_forward_word(line, byte_pointer); end
|
2374
2407
|
|
2375
|
-
# source://reline//lib/reline/unicode.rb#
|
2408
|
+
# source://reline//lib/reline/unicode.rb#400
|
2376
2409
|
def vi_first_print(line); end
|
2377
2410
|
|
2378
|
-
# source://reline//lib/reline/unicode.rb#
|
2411
|
+
# source://reline//lib/reline/unicode.rb#360
|
2379
2412
|
def vi_forward_end_word(line, byte_pointer); end
|
2380
2413
|
|
2381
|
-
# source://reline//lib/reline/unicode.rb#
|
2414
|
+
# source://reline//lib/reline/unicode.rb#340
|
2382
2415
|
def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end
|
2416
|
+
|
2417
|
+
# @return [Boolean]
|
2418
|
+
#
|
2419
|
+
# source://reline//lib/reline/unicode.rb#406
|
2420
|
+
def word_character?(s); end
|
2383
2421
|
end
|
2384
2422
|
end
|
2385
2423
|
|