ruby-lsp-rspec 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/ruby_lsp_rspec/version.rb +1 -1
  3. metadata +1 -45
  4. data/misc/example.gif +0 -0
  5. data/sorbet/config +0 -4
  6. data/sorbet/rbi/annotations/rainbow.rbi +0 -269
  7. data/sorbet/rbi/gems/ast@2.4.2.rbi +0 -584
  8. data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
  9. data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +0 -1083
  10. data/sorbet/rbi/gems/erubi@1.12.0.rbi +0 -145
  11. data/sorbet/rbi/gems/io-console@0.6.0.rbi +0 -8
  12. data/sorbet/rbi/gems/json@2.6.3.rbi +0 -1533
  13. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  14. data/sorbet/rbi/gems/netrc@0.11.0.rbi +0 -158
  15. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
  16. data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
  17. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  18. data/sorbet/rbi/gems/psych@5.1.0.rbi +0 -1760
  19. data/sorbet/rbi/gems/racc@1.7.1.rbi +0 -161
  20. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +0 -402
  21. data/sorbet/rbi/gems/rake@13.0.6.rbi +0 -3024
  22. data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2972
  23. data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
  24. data/sorbet/rbi/gems/reline@0.3.8.rbi +0 -2260
  25. data/sorbet/rbi/gems/rexml@3.2.6.rbi +0 -4781
  26. data/sorbet/rbi/gems/rspec-core@3.12.2.rbi +0 -10805
  27. data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
  28. data/sorbet/rbi/gems/rspec-mocks@3.12.5.rbi +0 -5305
  29. data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +0 -1611
  30. data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
  31. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -6985
  32. data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56538
  33. data/sorbet/rbi/gems/ruby-lsp@0.10.1.rbi +0 -2903
  34. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +0 -1317
  35. data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3203
  36. data/sorbet/rbi/gems/stringio@3.0.8.rbi +0 -8
  37. data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
  38. data/sorbet/rbi/gems/tapioca@0.11.8.rbi +0 -3349
  39. data/sorbet/rbi/gems/thor@1.2.2.rbi +0 -3965
  40. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
  41. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  42. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -428
  43. data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
  44. data/sorbet/rbi/gems/yarp@0.11.0.rbi +0 -15141
  45. data/sorbet/rbi/shims/uri.rbi +0 -14
  46. data/sorbet/tapioca/config.yml +0 -13
  47. data/sorbet/tapioca/require.rb +0 -8
@@ -1,2260 +0,0 @@
1
- # typed: false
2
-
3
- # DO NOT EDIT MANUALLY
4
- # This is an autogenerated file for types exported from the `reline` gem.
5
- # Please instead update this file by running `bin/tapioca gem reline`.
6
-
7
- # source://reline//lib/reline/version.rb#1
8
- module Reline
9
- extend ::Forwardable
10
- extend ::SingleForwardable
11
-
12
- class << self
13
- # source://reline//lib/reline.rb#554
14
- def core; end
15
-
16
- # source://reline//lib/reline.rb#550
17
- def encoding_system_needs; end
18
-
19
- # source://reline//lib/reline.rb#531
20
- def insert_text(*args, &block); end
21
-
22
- # source://reline//lib/reline.rb#574
23
- def line_editor; end
24
-
25
- # source://reline//lib/reline.rb#570
26
- def ungetc(c); end
27
-
28
- # source://reline//lib/reline.rb#578
29
- def update_iogate; end
30
- end
31
- end
32
-
33
- # source://reline//lib/reline/ansi.rb#5
34
- class Reline::ANSI
35
- class << self
36
- # source://reline//lib/reline/ansi.rb#345
37
- def clear_screen; end
38
-
39
- # source://reline//lib/reline/ansi.rb#254
40
- def cursor_pos; end
41
-
42
- # source://reline//lib/reline/ansi.rb#360
43
- def deprep(otio); end
44
-
45
- # @return [Boolean]
46
- #
47
- # source://reline//lib/reline/ansi.rb#215
48
- def empty_buffer?; end
49
-
50
- # source://reline//lib/reline/ansi.rb#37
51
- def encoding; end
52
-
53
- # source://reline//lib/reline/ansi.rb#333
54
- def erase_after_cursor; end
55
-
56
- # source://reline//lib/reline/ansi.rb#237
57
- def get_screen_size; end
58
-
59
- # if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second
60
- #
61
- # source://reline//lib/reline/ansi.rb#203
62
- def getc(timeout_second); end
63
-
64
- # source://reline//lib/reline/ansi.rb#176
65
- def getc_with_bracketed_paste(timeout_second); end
66
-
67
- # source://reline//lib/reline/ansi.rb#309
68
- def hide_cursor; end
69
-
70
- # @return [Boolean]
71
- #
72
- # source://reline//lib/reline/ansi.rb#211
73
- def in_pasting?; end
74
-
75
- # source://reline//lib/reline/ansi.rb#156
76
- def inner_getc(timeout_second); end
77
-
78
- # source://reline//lib/reline/ansi.rb#142
79
- def input=(val); end
80
-
81
- # source://reline//lib/reline/ansi.rb#289
82
- def move_cursor_column(x); end
83
-
84
- # source://reline//lib/reline/ansi.rb#301
85
- def move_cursor_down(x); end
86
-
87
- # source://reline//lib/reline/ansi.rb#293
88
- def move_cursor_up(x); end
89
-
90
- # source://reline//lib/reline/ansi.rb#147
91
- def output=(val); end
92
-
93
- # source://reline//lib/reline/ansi.rb#355
94
- def prep; end
95
-
96
- # source://reline//lib/reline/ansi.rb#226
97
- def retrieve_keybuffer; end
98
-
99
- # This only works when the cursor is at the bottom of the scroll range
100
- # For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623
101
- #
102
- # source://reline//lib/reline/ansi.rb#339
103
- def scroll_down(x); end
104
-
105
- # source://reline//lib/reline/ansi.rb#45
106
- def set_default_key_bindings(config, allow_terminfo: T.unsafe(nil)); end
107
-
108
- # source://reline//lib/reline/ansi.rb#67
109
- def set_default_key_bindings_ansi_cursor(config); end
110
-
111
- # source://reline//lib/reline/ansi.rb#106
112
- def set_default_key_bindings_comprehensive_list(config); end
113
-
114
- # source://reline//lib/reline/ansi.rb#89
115
- def set_default_key_bindings_terminfo(config); end
116
-
117
- # source://reline//lib/reline/ansi.rb#247
118
- def set_screen_size(rows, columns); end
119
-
120
- # source://reline//lib/reline/ansi.rb#351
121
- def set_winch_handler(&handler); end
122
-
123
- # source://reline//lib/reline/ansi.rb#321
124
- def show_cursor; end
125
-
126
- # source://reline//lib/reline/ansi.rb#222
127
- def ungetc(c); end
128
-
129
- # @return [Boolean]
130
- #
131
- # source://reline//lib/reline/ansi.rb#41
132
- def win?; end
133
-
134
- # source://reline//lib/reline/ansi.rb#151
135
- def with_raw_input; end
136
- end
137
- end
138
-
139
- # source://reline//lib/reline/ansi.rb#18
140
- Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
141
-
142
- # source://reline//lib/reline/ansi.rb#6
143
- Reline::ANSI::CAPNAME_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
144
-
145
- # source://reline//lib/reline/ansi.rb#175
146
- Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
147
-
148
- # source://reline//lib/reline/ansi.rb#174
149
- Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
150
-
151
- # source://reline//lib/reline/config.rb#1
152
- class Reline::Config
153
- # @return [Config] a new instance of Config
154
- #
155
- # source://reline//lib/reline/config.rb#50
156
- def initialize; end
157
-
158
- # source://reline//lib/reline/config.rb#172
159
- def add_default_key_binding(keystroke, target); end
160
-
161
- # source://reline//lib/reline/config.rb#168
162
- def add_default_key_binding_by_keymap(keymap, keystroke, target); end
163
-
164
- # source://reline//lib/reline/config.rb#160
165
- def add_oneshot_key_binding(keystroke, target); end
166
-
167
- # Returns the value of attribute autocompletion.
168
- #
169
- # source://reline//lib/reline/config.rb#48
170
- def autocompletion; end
171
-
172
- # Sets the attribute autocompletion
173
- #
174
- # @param value the value to set the attribute autocompletion to.
175
- #
176
- # source://reline//lib/reline/config.rb#48
177
- def autocompletion=(_arg0); end
178
-
179
- # source://reline//lib/reline/config.rb#342
180
- def bind_key(key, func_name); end
181
-
182
- # source://reline//lib/reline/config.rb#45
183
- def bind_tty_special_chars; end
184
-
185
- # source://reline//lib/reline/config.rb#45
186
- def bind_tty_special_chars=(_arg0); end
187
-
188
- # source://reline//lib/reline/config.rb#259
189
- def bind_variable(name, value); end
190
-
191
- # source://reline//lib/reline/config.rb#45
192
- def blink_matching_paren; end
193
-
194
- # source://reline//lib/reline/config.rb#45
195
- def blink_matching_paren=(_arg0); end
196
-
197
- # source://reline//lib/reline/config.rb#45
198
- def byte_oriented; end
199
-
200
- # source://reline//lib/reline/config.rb#45
201
- def byte_oriented=(_arg0); end
202
-
203
- # source://reline//lib/reline/config.rb#45
204
- def completion_ignore_case; end
205
-
206
- # source://reline//lib/reline/config.rb#45
207
- def completion_ignore_case=(_arg0); end
208
-
209
- # source://reline//lib/reline/config.rb#45
210
- def convert_meta; end
211
-
212
- # source://reline//lib/reline/config.rb#45
213
- def convert_meta=(_arg0); end
214
-
215
- # source://reline//lib/reline/config.rb#45
216
- def disable_completion; end
217
-
218
- # source://reline//lib/reline/config.rb#45
219
- def disable_completion=(_arg0); end
220
-
221
- # source://reline//lib/reline/config.rb#87
222
- def editing_mode; end
223
-
224
- # source://reline//lib/reline/config.rb#91
225
- def editing_mode=(val); end
226
-
227
- # @return [Boolean]
228
- #
229
- # source://reline//lib/reline/config.rb#95
230
- def editing_mode_is?(*val); end
231
-
232
- # source://reline//lib/reline/config.rb#45
233
- def emacs_mode_string; end
234
-
235
- # source://reline//lib/reline/config.rb#45
236
- def emacs_mode_string=(_arg0); end
237
-
238
- # source://reline//lib/reline/config.rb#45
239
- def enable_bracketed_paste; end
240
-
241
- # source://reline//lib/reline/config.rb#45
242
- def enable_bracketed_paste=(_arg0); end
243
-
244
- # source://reline//lib/reline/config.rb#45
245
- def enable_keypad; end
246
-
247
- # source://reline//lib/reline/config.rb#45
248
- def enable_keypad=(_arg0); end
249
-
250
- # source://reline//lib/reline/config.rb#45
251
- def expand_tilde; end
252
-
253
- # source://reline//lib/reline/config.rb#45
254
- def expand_tilde=(_arg0); end
255
-
256
- # source://reline//lib/reline/config.rb#229
257
- def handle_directive(directive, file, no); end
258
-
259
- # source://reline//lib/reline/config.rb#45
260
- def history_preserve_point; end
261
-
262
- # source://reline//lib/reline/config.rb#45
263
- def history_preserve_point=(_arg0); end
264
-
265
- # source://reline//lib/reline/config.rb#45
266
- def history_size; end
267
-
268
- # source://reline//lib/reline/config.rb#45
269
- def history_size=(_arg0); end
270
-
271
- # source://reline//lib/reline/config.rb#45
272
- def horizontal_scroll_mode; end
273
-
274
- # source://reline//lib/reline/config.rb#45
275
- def horizontal_scroll_mode=(_arg0); end
276
-
277
- # source://reline//lib/reline/config.rb#45
278
- def input_meta; end
279
-
280
- # source://reline//lib/reline/config.rb#45
281
- def input_meta=(_arg0); end
282
-
283
- # source://reline//lib/reline/config.rb#103
284
- def inputrc_path; end
285
-
286
- # source://reline//lib/reline/config.rb#45
287
- def isearch_terminators; end
288
-
289
- # source://reline//lib/reline/config.rb#45
290
- def isearch_terminators=(_arg0); end
291
-
292
- # source://reline//lib/reline/config.rb#152
293
- def key_bindings; end
294
-
295
- # source://reline//lib/reline/config.rb#356
296
- def key_notation_to_code(notation); end
297
-
298
- # source://reline//lib/reline/config.rb#99
299
- def keymap; end
300
-
301
- # source://reline//lib/reline/config.rb#45
302
- def keyseq_timeout; end
303
-
304
- # source://reline//lib/reline/config.rb#45
305
- def keyseq_timeout=(_arg0); end
306
-
307
- # source://reline//lib/reline/config.rb#45
308
- def mark_directories; end
309
-
310
- # source://reline//lib/reline/config.rb#45
311
- def mark_directories=(_arg0); end
312
-
313
- # source://reline//lib/reline/config.rb#45
314
- def mark_modified_lines; end
315
-
316
- # source://reline//lib/reline/config.rb#45
317
- def mark_modified_lines=(_arg0); end
318
-
319
- # source://reline//lib/reline/config.rb#45
320
- def mark_symlinked_directories; end
321
-
322
- # source://reline//lib/reline/config.rb#45
323
- def mark_symlinked_directories=(_arg0); end
324
-
325
- # source://reline//lib/reline/config.rb#45
326
- def match_hidden_files; end
327
-
328
- # source://reline//lib/reline/config.rb#45
329
- def match_hidden_files=(_arg0); end
330
-
331
- # source://reline//lib/reline/config.rb#45
332
- def meta_flag; end
333
-
334
- # source://reline//lib/reline/config.rb#45
335
- def meta_flag=(_arg0); end
336
-
337
- # source://reline//lib/reline/config.rb#45
338
- def output_meta; end
339
-
340
- # source://reline//lib/reline/config.rb#45
341
- def output_meta=(_arg0); end
342
-
343
- # source://reline//lib/reline/config.rb#45
344
- def page_completions; end
345
-
346
- # source://reline//lib/reline/config.rb#45
347
- def page_completions=(_arg0); end
348
-
349
- # source://reline//lib/reline/config.rb#390
350
- def parse_keyseq(str); end
351
-
352
- # source://reline//lib/reline/config.rb#45
353
- def prefer_visible_bell; end
354
-
355
- # source://reline//lib/reline/config.rb#45
356
- def prefer_visible_bell=(_arg0); end
357
-
358
- # source://reline//lib/reline/config.rb#45
359
- def print_completions_horizontally; end
360
-
361
- # source://reline//lib/reline/config.rb#45
362
- def print_completions_horizontally=(_arg0); end
363
-
364
- # source://reline//lib/reline/config.rb#133
365
- def read(file = T.unsafe(nil)); end
366
-
367
- # source://reline//lib/reline/config.rb#182
368
- def read_lines(lines, file = T.unsafe(nil)); end
369
-
370
- # source://reline//lib/reline/config.rb#76
371
- def reset; end
372
-
373
- # source://reline//lib/reline/config.rb#176
374
- def reset_default_key_bindings; end
375
-
376
- # source://reline//lib/reline/config.rb#164
377
- def reset_oneshot_key_bindings; end
378
-
379
- # source://reline//lib/reline/config.rb#337
380
- def retrieve_string(str); end
381
-
382
- # source://reline//lib/reline/config.rb#45
383
- def show_all_if_ambiguous; end
384
-
385
- # source://reline//lib/reline/config.rb#45
386
- def show_all_if_ambiguous=(_arg0); end
387
-
388
- # source://reline//lib/reline/config.rb#45
389
- def show_all_if_unmodified; end
390
-
391
- # source://reline//lib/reline/config.rb#45
392
- def show_all_if_unmodified=(_arg0); end
393
-
394
- # source://reline//lib/reline/config.rb#45
395
- def show_mode_in_prompt; end
396
-
397
- # source://reline//lib/reline/config.rb#45
398
- def show_mode_in_prompt=(_arg0); end
399
-
400
- # Returns the value of attribute test_mode.
401
- #
402
- # source://reline//lib/reline/config.rb#2
403
- def test_mode; end
404
-
405
- # source://reline//lib/reline/config.rb#45
406
- def vi_cmd_mode_string; end
407
-
408
- # source://reline//lib/reline/config.rb#45
409
- def vi_cmd_mode_string=(_arg0); end
410
-
411
- # source://reline//lib/reline/config.rb#45
412
- def vi_ins_mode_string; end
413
-
414
- # source://reline//lib/reline/config.rb#45
415
- def vi_ins_mode_string=(_arg0); end
416
-
417
- # source://reline//lib/reline/config.rb#45
418
- def visible_stats; end
419
-
420
- # source://reline//lib/reline/config.rb#45
421
- def visible_stats=(_arg0); end
422
-
423
- private
424
-
425
- # source://reline//lib/reline/config.rb#129
426
- def default_inputrc_path; end
427
-
428
- # @return [Boolean]
429
- #
430
- # source://reline//lib/reline/config.rb#398
431
- def seven_bit_encoding?(encoding); end
432
- end
433
-
434
- # source://reline//lib/reline/config.rb#6
435
- class Reline::Config::InvalidInputrc < ::RuntimeError
436
- # Returns the value of attribute file.
437
- #
438
- # source://reline//lib/reline/config.rb#7
439
- def file; end
440
-
441
- # Sets the attribute file
442
- #
443
- # @param value the value to set the attribute file to.
444
- #
445
- # source://reline//lib/reline/config.rb#7
446
- def file=(_arg0); end
447
-
448
- # Returns the value of attribute lineno.
449
- #
450
- # source://reline//lib/reline/config.rb#7
451
- def lineno; end
452
-
453
- # Sets the attribute lineno
454
- #
455
- # @param value the value to set the attribute lineno to.
456
- #
457
- # source://reline//lib/reline/config.rb#7
458
- def lineno=(_arg0); end
459
- end
460
-
461
- # source://reline//lib/reline/config.rb#4
462
- Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp)
463
-
464
- # source://reline//lib/reline/config.rb#10
465
- Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array)
466
-
467
- # source://reline//lib/reline/config.rb#43
468
- Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array)
469
-
470
- # source://reline//lib/reline.rb#49
471
- class Reline::Core
472
- extend ::Forwardable
473
-
474
- # @return [Core] a new instance of Core
475
- # @yield [_self]
476
- # @yieldparam _self [Reline::Core] the object that the method was called on
477
- #
478
- # source://reline//lib/reline.rb#77
479
- def initialize; end
480
-
481
- # @raise [ArgumentError]
482
- #
483
- # source://reline//lib/reline.rb#171
484
- def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end
485
-
486
- # source://reline//lib/reline.rb#477
487
- def ambiguous_width; end
488
-
489
- # source://reline//lib/reline.rb#64
490
- def auto_indent_proc; end
491
-
492
- # @raise [ArgumentError]
493
- #
494
- # source://reline//lib/reline.rb#156
495
- def auto_indent_proc=(p); end
496
-
497
- # source://reline//lib/reline.rb#64
498
- def basic_quote_characters; end
499
-
500
- # source://reline//lib/reline.rb#113
501
- def basic_quote_characters=(v); end
502
-
503
- # source://reline//lib/reline.rb#64
504
- def basic_word_break_characters; end
505
-
506
- # source://reline//lib/reline.rb#105
507
- def basic_word_break_characters=(v); end
508
-
509
- # source://reline//lib/reline.rb#64
510
- def completer_quote_characters; end
511
-
512
- # source://reline//lib/reline.rb#117
513
- def completer_quote_characters=(v); end
514
-
515
- # source://reline//lib/reline.rb#64
516
- def completer_word_break_characters; end
517
-
518
- # source://reline//lib/reline.rb#109
519
- def completer_word_break_characters=(v); end
520
-
521
- # source://reline//lib/reline.rb#64
522
- def completion_append_character; end
523
-
524
- # source://reline//lib/reline.rb#93
525
- def completion_append_character=(val); end
526
-
527
- # source://reline//lib/reline.rb#133
528
- def completion_case_fold; end
529
-
530
- # source://reline//lib/reline.rb#129
531
- def completion_case_fold=(v); end
532
-
533
- # source://reline//lib/reline.rb#64
534
- def completion_proc; end
535
-
536
- # @raise [ArgumentError]
537
- #
538
- # source://reline//lib/reline.rb#141
539
- def completion_proc=(p); end
540
-
541
- # source://reline//lib/reline.rb#137
542
- def completion_quote_character; end
543
-
544
- # Returns the value of attribute config.
545
- #
546
- # source://reline//lib/reline.rb#66
547
- def config; end
548
-
549
- # Sets the attribute config
550
- #
551
- # @param value the value to set the attribute config to.
552
- #
553
- # source://reline//lib/reline.rb#66
554
- def config=(_arg0); end
555
-
556
- # source://reline//lib/reline.rb#181
557
- def dialog_proc(name_sym); end
558
-
559
- # source://reline//lib/reline.rb#64
560
- def dig_perfect_match_proc; end
561
-
562
- # @raise [ArgumentError]
563
- #
564
- # source://reline//lib/reline.rb#165
565
- def dig_perfect_match_proc=(p); end
566
-
567
- # source://reline//lib/reline.rb#205
568
- def emacs_editing_mode; end
569
-
570
- # @return [Boolean]
571
- #
572
- # source://reline//lib/reline.rb#214
573
- def emacs_editing_mode?; end
574
-
575
- # source://reline//lib/reline.rb#89
576
- def encoding; end
577
-
578
- # source://reline//lib/reline.rb#64
579
- def filename_quote_characters; end
580
-
581
- # source://reline//lib/reline.rb#121
582
- def filename_quote_characters=(v); end
583
-
584
- # source://reline//lib/reline.rb#218
585
- def get_screen_size; end
586
-
587
- # @raise [TypeError]
588
- #
589
- # source://reline//lib/reline.rb#185
590
- def input=(val); end
591
-
592
- # source://reline//lib/reline.rb#85
593
- def io_gate; end
594
-
595
- # Returns the value of attribute key_stroke.
596
- #
597
- # source://reline//lib/reline.rb#67
598
- def key_stroke; end
599
-
600
- # Sets the attribute key_stroke
601
- #
602
- # @param value the value to set the attribute key_stroke to.
603
- #
604
- # source://reline//lib/reline.rb#67
605
- def key_stroke=(_arg0); end
606
-
607
- # Returns the value of attribute last_incremental_search.
608
- #
609
- # source://reline//lib/reline.rb#69
610
- def last_incremental_search; end
611
-
612
- # Sets the attribute last_incremental_search
613
- #
614
- # @param value the value to set the attribute last_incremental_search to.
615
- #
616
- # source://reline//lib/reline.rb#69
617
- def last_incremental_search=(_arg0); end
618
-
619
- # Returns the value of attribute line_editor.
620
- #
621
- # source://reline//lib/reline.rb#68
622
- def line_editor; end
623
-
624
- # Sets the attribute line_editor
625
- #
626
- # @param value the value to set the attribute line_editor to.
627
- #
628
- # source://reline//lib/reline.rb#68
629
- def line_editor=(_arg0); end
630
-
631
- # Returns the value of attribute output.
632
- #
633
- # source://reline//lib/reline.rb#70
634
- def output; end
635
-
636
- # @raise [TypeError]
637
- #
638
- # source://reline//lib/reline.rb#192
639
- def output=(val); end
640
-
641
- # source://reline//lib/reline.rb#64
642
- def output_modifier_proc; end
643
-
644
- # @raise [ArgumentError]
645
- #
646
- # source://reline//lib/reline.rb#146
647
- def output_modifier_proc=(p); end
648
-
649
- # source://reline//lib/reline.rb#64
650
- def pre_input_hook; end
651
-
652
- # source://reline//lib/reline.rb#161
653
- def pre_input_hook=(p); end
654
-
655
- # source://reline//lib/reline.rb#64
656
- def prompt_proc; end
657
-
658
- # @raise [ArgumentError]
659
- #
660
- # source://reline//lib/reline.rb#151
661
- def prompt_proc=(p); end
662
-
663
- # source://reline//lib/reline.rb#290
664
- def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end
665
-
666
- # source://reline//lib/reline.rb#271
667
- def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end
668
-
669
- # source://reline//lib/reline.rb#64
670
- def special_prefixes; end
671
-
672
- # source://reline//lib/reline.rb#125
673
- def special_prefixes=(v); end
674
-
675
- # source://reline//lib/reline.rb#200
676
- def vi_editing_mode; end
677
-
678
- # @return [Boolean]
679
- #
680
- # source://reline//lib/reline.rb#210
681
- def vi_editing_mode?; end
682
-
683
- private
684
-
685
- # source://reline//lib/reline.rb#304
686
- def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end
687
-
688
- # source://reline//lib/reline.rb#482
689
- def may_req_ambiguous_char_width; end
690
-
691
- # source://reline//lib/reline.rb#435
692
- def read_2nd_character_of_key_sequence(keyseq_timeout, buffer, c, block); end
693
-
694
- # source://reline//lib/reline.rb#463
695
- def read_escaped_key(keyseq_timeout, c, block); end
696
-
697
- # GNU Readline waits for "keyseq-timeout" milliseconds to see if the ESC
698
- # is followed by a character, and times out and treats it as a standalone
699
- # ESC if the second character does not arrive. If the second character
700
- # comes before timed out, it is treated as a modifier key with the
701
- # meta-property of meta-key, so that it can be distinguished from
702
- # multibyte characters with the 8th bit turned on.
703
- #
704
- # GNU Readline will wait for the 2nd character with "keyseq-timeout"
705
- # milli-seconds but wait forever after 3rd characters.
706
- #
707
- # source://reline//lib/reline.rb#396
708
- def read_io(keyseq_timeout, &block); end
709
- end
710
-
711
- # source://reline//lib/reline.rb#50
712
- Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array)
713
-
714
- # source://reline//lib/reline.rb#269
715
- Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array)
716
-
717
- # source://reline//lib/reline.rb#222
718
- Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc)
719
-
720
- # NOTE: For making compatible with the rb-readline gem
721
- #
722
- # source://reline//lib/reline.rb#14
723
- Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
724
-
725
- # source://reline//lib/reline/general_io.rb#3
726
- class Reline::GeneralIO
727
- class << self
728
- # source://reline//lib/reline/general_io.rb#84
729
- def clear_screen; end
730
-
731
- # source://reline//lib/reline/general_io.rb#59
732
- def cursor_pos; end
733
-
734
- # source://reline//lib/reline/general_io.rb#110
735
- def deprep(otio); end
736
-
737
- # source://reline//lib/reline/general_io.rb#9
738
- def encoding; end
739
-
740
- # source://reline//lib/reline/general_io.rb#78
741
- def erase_after_cursor; end
742
-
743
- # source://reline//lib/reline/general_io.rb#103
744
- def finish_pasting; end
745
-
746
- # source://reline//lib/reline/general_io.rb#55
747
- def get_screen_size; end
748
-
749
- # source://reline//lib/reline/general_io.rb#37
750
- def getc(_timeout_second); end
751
-
752
- # source://reline//lib/reline/general_io.rb#63
753
- def hide_cursor; end
754
-
755
- # @return [Boolean]
756
- #
757
- # source://reline//lib/reline/general_io.rb#95
758
- def in_pasting?; end
759
-
760
- # source://reline//lib/reline/general_io.rb#29
761
- def input=(val); end
762
-
763
- # source://reline//lib/reline/general_io.rb#69
764
- def move_cursor_column(val); end
765
-
766
- # source://reline//lib/reline/general_io.rb#75
767
- def move_cursor_down(val); end
768
-
769
- # source://reline//lib/reline/general_io.rb#72
770
- def move_cursor_up(val); end
771
-
772
- # source://reline//lib/reline/general_io.rb#107
773
- def prep; end
774
-
775
- # source://reline//lib/reline/general_io.rb#4
776
- def reset(encoding: T.unsafe(nil)); end
777
-
778
- # source://reline//lib/reline/general_io.rb#81
779
- def scroll_down(val); end
780
-
781
- # source://reline//lib/reline/general_io.rb#23
782
- def set_default_key_bindings(_); end
783
-
784
- # source://reline//lib/reline/general_io.rb#87
785
- def set_screen_size(rows, columns); end
786
-
787
- # source://reline//lib/reline/general_io.rb#90
788
- def set_winch_handler(&handler); end
789
-
790
- # source://reline//lib/reline/general_io.rb#66
791
- def show_cursor; end
792
-
793
- # source://reline//lib/reline/general_io.rb#99
794
- def start_pasting; end
795
-
796
- # source://reline//lib/reline/general_io.rb#51
797
- def ungetc(c); end
798
-
799
- # @return [Boolean]
800
- #
801
- # source://reline//lib/reline/general_io.rb#19
802
- def win?; end
803
-
804
- # source://reline//lib/reline/general_io.rb#33
805
- def with_raw_input; end
806
- end
807
- end
808
-
809
- # source://reline//lib/reline.rb#609
810
- Reline::HISTORY = T.let(T.unsafe(nil), Reline::History)
811
-
812
- # source://reline//lib/reline/history.rb#1
813
- class Reline::History < ::Array
814
- # @return [History] a new instance of History
815
- #
816
- # source://reline//lib/reline/history.rb#2
817
- def initialize(config); end
818
-
819
- # source://reline//lib/reline/history.rb#52
820
- def <<(val); end
821
-
822
- # source://reline//lib/reline/history.rb#15
823
- def [](index); end
824
-
825
- # source://reline//lib/reline/history.rb#20
826
- def []=(index, val); end
827
-
828
- # source://reline//lib/reline/history.rb#25
829
- def concat(*val); end
830
-
831
- # source://reline//lib/reline/history.rb#10
832
- def delete_at(index); end
833
-
834
- # source://reline//lib/reline/history.rb#31
835
- def push(*val); end
836
-
837
- # source://reline//lib/reline/history.rb#6
838
- def to_s; end
839
-
840
- private
841
-
842
- # @raise [IndexError]
843
- #
844
- # source://reline//lib/reline/history.rb#62
845
- def check_index(index); end
846
- end
847
-
848
- # source://reline//lib/reline.rb#602
849
- Reline::IOGate = Reline::ANSI
850
-
851
- # source://reline//lib/reline.rb#19
852
- class Reline::Key < ::Struct
853
- # @return [Boolean]
854
- #
855
- # source://reline//lib/reline.rb#20
856
- def ==(other); end
857
-
858
- # Returns the value of attribute char
859
- #
860
- # @return [Object] the current value of char
861
- def char; end
862
-
863
- # Sets the attribute char
864
- #
865
- # @param value [Object] the value to set the attribute char to.
866
- # @return [Object] the newly set value
867
- def char=(_); end
868
-
869
- # Returns the value of attribute combined_char
870
- #
871
- # @return [Object] the current value of combined_char
872
- def combined_char; end
873
-
874
- # Sets the attribute combined_char
875
- #
876
- # @param value [Object] the value to set the attribute combined_char to.
877
- # @return [Object] the newly set value
878
- def combined_char=(_); end
879
-
880
- # @return [Boolean]
881
- #
882
- # source://reline//lib/reline.rb#20
883
- def match?(other); end
884
-
885
- # Returns the value of attribute with_meta
886
- #
887
- # @return [Object] the current value of with_meta
888
- def with_meta; end
889
-
890
- # Sets the attribute with_meta
891
- #
892
- # @param value [Object] the value to set the attribute with_meta to.
893
- # @return [Object] the newly set value
894
- def with_meta=(_); end
895
-
896
- class << self
897
- def [](*_arg0); end
898
- def inspect; end
899
- def keyword_init?; end
900
- def members; end
901
- def new(*_arg0); end
902
- end
903
- end
904
-
905
- # source://reline//lib/reline/key_actor/base.rb#1
906
- class Reline::KeyActor::Base
907
- # @return [Base] a new instance of Base
908
- #
909
- # source://reline//lib/reline/key_actor/base.rb#8
910
- def initialize; end
911
-
912
- # source://reline//lib/reline/key_actor/base.rb#12
913
- def default_key_bindings; end
914
-
915
- # source://reline//lib/reline/key_actor/base.rb#4
916
- def get_method(key); end
917
-
918
- # source://reline//lib/reline/key_actor/base.rb#16
919
- def reset_default_key_bindings; end
920
- end
921
-
922
- # source://reline//lib/reline/key_actor/base.rb#2
923
- Reline::KeyActor::Base::MAPPING = T.let(T.unsafe(nil), Array)
924
-
925
- # source://reline//lib/reline/key_actor/emacs.rb#2
926
- Reline::KeyActor::Emacs::MAPPING = T.let(T.unsafe(nil), Array)
927
-
928
- # source://reline//lib/reline/key_actor/vi_command.rb#2
929
- Reline::KeyActor::ViCommand::MAPPING = T.let(T.unsafe(nil), Array)
930
-
931
- # source://reline//lib/reline/key_actor/vi_insert.rb#2
932
- Reline::KeyActor::ViInsert::MAPPING = T.let(T.unsafe(nil), Array)
933
-
934
- # source://reline//lib/reline/key_stroke.rb#1
935
- class Reline::KeyStroke
936
- # @return [KeyStroke] a new instance of KeyStroke
937
- #
938
- # source://reline//lib/reline/key_stroke.rb#6
939
- def initialize(config); end
940
-
941
- # source://reline//lib/reline/key_stroke.rb#10
942
- def compress_meta_key(ary); end
943
-
944
- # @return [Boolean]
945
- #
946
- # source://reline//lib/reline/key_stroke.rb#46
947
- def equal?(me, other); end
948
-
949
- # source://reline//lib/reline/key_stroke.rb#87
950
- def expand(input); end
951
-
952
- # source://reline//lib/reline/key_stroke.rb#71
953
- def match_status(input); end
954
-
955
- # @return [Boolean]
956
- #
957
- # source://reline//lib/reline/key_stroke.rb#22
958
- def start_with?(me, other); end
959
-
960
- private
961
-
962
- # source://reline//lib/reline/key_stroke.rb#145
963
- def key_mapping; end
964
-
965
- # returns match status of CSI/SS3 sequence and matched length
966
- #
967
- # source://reline//lib/reline/key_stroke.rb#116
968
- def match_unknown_escape_sequence(input); end
969
- end
970
-
971
- # source://reline//lib/reline/key_stroke.rb#4
972
- Reline::KeyStroke::CSI_INTERMEDIATE_BYTES_RANGE = T.let(T.unsafe(nil), Range)
973
-
974
- # source://reline//lib/reline/key_stroke.rb#3
975
- Reline::KeyStroke::CSI_PARAMETER_BYTES_RANGE = T.let(T.unsafe(nil), Range)
976
-
977
- # source://reline//lib/reline/key_stroke.rb#2
978
- Reline::KeyStroke::ESC_BYTE = T.let(T.unsafe(nil), Integer)
979
-
980
- # source://reline//lib/reline/kill_ring.rb#1
981
- class Reline::KillRing
982
- include ::Enumerable
983
-
984
- # @return [KillRing] a new instance of KillRing
985
- #
986
- # source://reline//lib/reline/kill_ring.rb#61
987
- def initialize(max = T.unsafe(nil)); end
988
-
989
- # source://reline//lib/reline/kill_ring.rb#68
990
- def append(string, before_p = T.unsafe(nil)); end
991
-
992
- # source://reline//lib/reline/kill_ring.rb#116
993
- def each; end
994
-
995
- # source://reline//lib/reline/kill_ring.rb#83
996
- def process; end
997
-
998
- # source://reline//lib/reline/kill_ring.rb#96
999
- def yank; end
1000
-
1001
- # source://reline//lib/reline/kill_ring.rb#106
1002
- def yank_pop; end
1003
- end
1004
-
1005
- # source://reline//lib/reline/kill_ring.rb#21
1006
- class Reline::KillRing::RingBuffer
1007
- # @return [RingBuffer] a new instance of RingBuffer
1008
- #
1009
- # source://reline//lib/reline/kill_ring.rb#25
1010
- def initialize(max = T.unsafe(nil)); end
1011
-
1012
- # source://reline//lib/reline/kill_ring.rb#31
1013
- def <<(point); end
1014
-
1015
- # @return [Boolean]
1016
- #
1017
- # source://reline//lib/reline/kill_ring.rb#56
1018
- def empty?; end
1019
-
1020
- # Returns the value of attribute head.
1021
- #
1022
- # source://reline//lib/reline/kill_ring.rb#23
1023
- def head; end
1024
-
1025
- # Returns the value of attribute size.
1026
- #
1027
- # source://reline//lib/reline/kill_ring.rb#22
1028
- def size; end
1029
- end
1030
-
1031
- # source://reline//lib/reline/kill_ring.rb#11
1032
- class Reline::KillRing::RingPoint < ::Struct
1033
- # @return [RingPoint] a new instance of RingPoint
1034
- #
1035
- # source://reline//lib/reline/kill_ring.rb#12
1036
- def initialize(str); end
1037
-
1038
- # source://reline//lib/reline/kill_ring.rb#16
1039
- def ==(other); end
1040
- end
1041
-
1042
- # source://reline//lib/reline/kill_ring.rb#6
1043
- Reline::KillRing::State::CONTINUED = T.let(T.unsafe(nil), Symbol)
1044
-
1045
- # source://reline//lib/reline/kill_ring.rb#5
1046
- Reline::KillRing::State::FRESH = T.let(T.unsafe(nil), Symbol)
1047
-
1048
- # source://reline//lib/reline/kill_ring.rb#7
1049
- Reline::KillRing::State::PROCESSED = T.let(T.unsafe(nil), Symbol)
1050
-
1051
- # source://reline//lib/reline/kill_ring.rb#8
1052
- Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol)
1053
-
1054
- # source://reline//lib/reline/line_editor.rb#6
1055
- class Reline::LineEditor
1056
- # @return [LineEditor] a new instance of LineEditor
1057
- #
1058
- # source://reline//lib/reline/line_editor.rb#57
1059
- def initialize(config, encoding); end
1060
-
1061
- # source://reline//lib/reline/line_editor.rb#639
1062
- def add_dialog_proc(name, p, context = T.unsafe(nil)); end
1063
-
1064
- # Returns the value of attribute auto_indent_proc.
1065
- #
1066
- # source://reline//lib/reline/line_editor.rb#16
1067
- def auto_indent_proc; end
1068
-
1069
- # Sets the attribute auto_indent_proc
1070
- #
1071
- # @param value the value to set the attribute auto_indent_proc to.
1072
- #
1073
- # source://reline//lib/reline/line_editor.rb#16
1074
- def auto_indent_proc=(_arg0); end
1075
-
1076
- # Returns the value of attribute byte_pointer.
1077
- #
1078
- # source://reline//lib/reline/line_editor.rb#10
1079
- def byte_pointer; end
1080
-
1081
- # source://reline//lib/reline/line_editor.rb#1842
1082
- def byte_pointer=(val); end
1083
-
1084
- # source://reline//lib/reline/line_editor.rb#1613
1085
- def call_completion_proc; end
1086
-
1087
- # source://reline//lib/reline/line_editor.rb#1621
1088
- def call_completion_proc_with_checking_args(pre, target, post); end
1089
-
1090
- # Returns the value of attribute completion_append_character.
1091
- #
1092
- # source://reline//lib/reline/line_editor.rb#13
1093
- def completion_append_character; end
1094
-
1095
- # Sets the attribute completion_append_character
1096
- #
1097
- # @param value the value to set the attribute completion_append_character to.
1098
- #
1099
- # source://reline//lib/reline/line_editor.rb#13
1100
- def completion_append_character=(_arg0); end
1101
-
1102
- # Returns the value of attribute completion_proc.
1103
- #
1104
- # source://reline//lib/reline/line_editor.rb#12
1105
- def completion_proc; end
1106
-
1107
- # Sets the attribute completion_proc
1108
- #
1109
- # @param value the value to set the attribute completion_proc to.
1110
- #
1111
- # source://reline//lib/reline/line_editor.rb#12
1112
- def completion_proc=(_arg0); end
1113
-
1114
- # source://reline//lib/reline/line_editor.rb#1760
1115
- def confirm_multiline_termination; end
1116
-
1117
- # Returns the value of attribute confirm_multiline_termination_proc.
1118
- #
1119
- # source://reline//lib/reline/line_editor.rb#11
1120
- def confirm_multiline_termination_proc; end
1121
-
1122
- # Sets the attribute confirm_multiline_termination_proc
1123
- #
1124
- # @param value the value to set the attribute confirm_multiline_termination_proc to.
1125
- #
1126
- # source://reline//lib/reline/line_editor.rb#11
1127
- def confirm_multiline_termination_proc=(_arg0); end
1128
-
1129
- # source://reline//lib/reline/line_editor.rb#1782
1130
- def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end
1131
-
1132
- # Returns the value of attribute dig_perfect_match_proc.
1133
- #
1134
- # source://reline//lib/reline/line_editor.rb#18
1135
- def dig_perfect_match_proc; end
1136
-
1137
- # Sets the attribute dig_perfect_match_proc
1138
- #
1139
- # @param value the value to set the attribute dig_perfect_match_proc to.
1140
- #
1141
- # source://reline//lib/reline/line_editor.rb#18
1142
- def dig_perfect_match_proc=(_arg0); end
1143
-
1144
- # source://reline//lib/reline/line_editor.rb#1229
1145
- def editing_mode; end
1146
-
1147
- # @return [Boolean]
1148
- #
1149
- # source://reline//lib/reline/line_editor.rb#252
1150
- def eof?; end
1151
-
1152
- # source://reline//lib/reline/line_editor.rb#248
1153
- def finalize; end
1154
-
1155
- # source://reline//lib/reline/line_editor.rb#1868
1156
- def finish; end
1157
-
1158
- # @return [Boolean]
1159
- #
1160
- # source://reline//lib/reline/line_editor.rb#1864
1161
- def finished?; end
1162
-
1163
- # source://reline//lib/reline/line_editor.rb#1538
1164
- def input_key(key); end
1165
-
1166
- # source://reline//lib/reline/line_editor.rb#1770
1167
- def insert_text(text); end
1168
-
1169
- # source://reline//lib/reline/line_editor.rb#63
1170
- def io_gate; end
1171
-
1172
- # source://reline//lib/reline/line_editor.rb#935
1173
- def just_move_cursor; end
1174
-
1175
- # TODO: undo
1176
- # TODO: Use "private alias_method" idiom after drop Ruby 2.5.
1177
- #
1178
- # source://reline//lib/reline/line_editor.rb#9
1179
- def line; end
1180
-
1181
- # source://reline//lib/reline/line_editor.rb#318
1182
- def multiline_off; end
1183
-
1184
- # source://reline//lib/reline/line_editor.rb#314
1185
- def multiline_on; end
1186
-
1187
- # Sets the attribute output
1188
- #
1189
- # @param value the value to set the attribute output to.
1190
- #
1191
- # source://reline//lib/reline/line_editor.rb#19
1192
- def output=(_arg0); end
1193
-
1194
- # Returns the value of attribute output_modifier_proc.
1195
- #
1196
- # source://reline//lib/reline/line_editor.rb#14
1197
- def output_modifier_proc; end
1198
-
1199
- # Sets the attribute output_modifier_proc
1200
- #
1201
- # @param value the value to set the attribute output_modifier_proc to.
1202
- #
1203
- # source://reline//lib/reline/line_editor.rb#14
1204
- def output_modifier_proc=(_arg0); end
1205
-
1206
- # Returns the value of attribute pre_input_hook.
1207
- #
1208
- # source://reline//lib/reline/line_editor.rb#17
1209
- def pre_input_hook; end
1210
-
1211
- # Sets the attribute pre_input_hook
1212
- #
1213
- # @param value the value to set the attribute pre_input_hook to.
1214
- #
1215
- # source://reline//lib/reline/line_editor.rb#17
1216
- def pre_input_hook=(_arg0); end
1217
-
1218
- # Returns the value of attribute prompt_proc.
1219
- #
1220
- # source://reline//lib/reline/line_editor.rb#15
1221
- def prompt_proc; end
1222
-
1223
- # Sets the attribute prompt_proc
1224
- #
1225
- # @param value the value to set the attribute prompt_proc to.
1226
- #
1227
- # source://reline//lib/reline/line_editor.rb#15
1228
- def prompt_proc=(_arg0); end
1229
-
1230
- # source://reline//lib/reline/line_editor.rb#426
1231
- def rerender; end
1232
-
1233
- # source://reline//lib/reline/line_editor.rb#420
1234
- def rerender_all; end
1235
-
1236
- # source://reline//lib/reline/line_editor.rb#154
1237
- def reset(prompt = T.unsafe(nil), encoding:); end
1238
-
1239
- # source://reline//lib/reline/line_editor.rb#296
1240
- def reset_line; end
1241
-
1242
- # source://reline//lib/reline/line_editor.rb#256
1243
- def reset_variables(prompt = T.unsafe(nil), encoding:); end
1244
-
1245
- # source://reline//lib/reline/line_editor.rb#185
1246
- def resize; end
1247
-
1248
- # source://reline//lib/reline/line_editor.rb#1682
1249
- def retrieve_completion_block(set_completion_quote_character = T.unsafe(nil)); end
1250
-
1251
- # source://reline//lib/reline/line_editor.rb#67
1252
- def set_pasting_state(in_pasting); end
1253
-
1254
- # source://reline//lib/reline/line_editor.rb#225
1255
- def set_signal_handlers; end
1256
-
1257
- # @return [Boolean]
1258
- #
1259
- # source://reline//lib/reline/line_editor.rb#71
1260
- def simplified_rendering?; end
1261
-
1262
- # source://reline//lib/reline/line_editor.rb#1856
1263
- def whole_buffer; end
1264
-
1265
- # source://reline//lib/reline/line_editor.rb#1849
1266
- def whole_lines; end
1267
-
1268
- # source://reline//lib/reline/line_editor.rb#1421
1269
- def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end
1270
-
1271
- private
1272
-
1273
- # @return [Boolean]
1274
- #
1275
- # source://reline//lib/reline/line_editor.rb#1411
1276
- def argumentable?(method_obj); end
1277
-
1278
- # source://reline//lib/reline/line_editor.rb#2033
1279
- def backward_char(key, arg: T.unsafe(nil)); end
1280
-
1281
- # source://reline//lib/reline/line_editor.rb#2523
1282
- def backward_delete_char(key, arg: T.unsafe(nil)); end
1283
-
1284
- # source://reline//lib/reline/line_editor.rb#2701
1285
- def backward_kill_word(key); end
1286
-
1287
- # source://reline//lib/reline/line_editor.rb#2682
1288
- def backward_word(key); end
1289
-
1290
- # source://reline//lib/reline/line_editor.rb#2057
1291
- def beginning_of_line(key); end
1292
-
1293
- # source://reline//lib/reline/line_editor.rb#1880
1294
- def byteinsert(str, byte_pointer, other); end
1295
-
1296
- # source://reline//lib/reline/line_editor.rb#1874
1297
- def byteslice!(str, byte_pointer, size); end
1298
-
1299
- # source://reline//lib/reline/line_editor.rb#322
1300
- def calculate_height_by_lines(lines, prompt); end
1301
-
1302
- # source://reline//lib/reline/line_editor.rb#340
1303
- def calculate_height_by_width(width); end
1304
-
1305
- # source://reline//lib/reline/line_editor.rb#378
1306
- def calculate_nearest_cursor(line_to_calc = T.unsafe(nil), cursor = T.unsafe(nil), started_from = T.unsafe(nil), byte_pointer = T.unsafe(nil), update = T.unsafe(nil)); end
1307
-
1308
- # source://reline//lib/reline/line_editor.rb#878
1309
- def calculate_scroll_partial_screen(highest_in_all, cursor_y); end
1310
-
1311
- # source://reline//lib/reline/line_editor.rb#1887
1312
- def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
1313
-
1314
- # source://reline//lib/reline/line_editor.rb#2748
1315
- def capitalize_word(key); end
1316
-
1317
- # source://reline//lib/reline/line_editor.rb#81
1318
- def check_mode_string; end
1319
-
1320
- # source://reline//lib/reline/line_editor.rb#101
1321
- def check_multiline_prompt(buffer, force_recalc: T.unsafe(nil)); end
1322
-
1323
- # source://reline//lib/reline/line_editor.rb#862
1324
- def clear_dialog(cursor_column); end
1325
-
1326
- # source://reline//lib/reline/line_editor.rb#871
1327
- def clear_dialog_with_trap_key(cursor_column); end
1328
-
1329
- # source://reline//lib/reline/line_editor.rb#2668
1330
- def clear_screen(key); end
1331
-
1332
- # source://reline//lib/reline/line_editor.rb#1208
1333
- def clear_screen_buffer(prompt, prompt_list, prompt_width); end
1334
-
1335
- # source://reline//lib/reline/line_editor.rb#1283
1336
- def complete(list, just_show_list = T.unsafe(nil)); end
1337
-
1338
- # source://reline//lib/reline/line_editor.rb#1237
1339
- def complete_internal_proc(list, is_menu); end
1340
-
1341
- # source://reline//lib/reline/line_editor.rb#2804
1342
- def copy_for_vi(text); end
1343
-
1344
- # source://reline//lib/reline/line_editor.rb#2600
1345
- def delete_char(key); end
1346
-
1347
- # source://reline//lib/reline/line_editor.rb#2627
1348
- def delete_char_or_list(key); end
1349
-
1350
- # source://reline//lib/reline/line_editor.rb#671
1351
- def dialog_range(dialog, dialog_y); end
1352
-
1353
- # source://reline//lib/reline/line_editor.rb#2760
1354
- def downcase_word(key); end
1355
-
1356
- # source://reline//lib/reline/line_editor.rb#3103
1357
- def ed_argument_digit(key); end
1358
-
1359
- # source://reline//lib/reline/line_editor.rb#2668
1360
- def ed_clear_screen(key); end
1361
-
1362
- # source://reline//lib/reline/line_editor.rb#3015
1363
- def ed_delete_next_char(key, arg: T.unsafe(nil)); end
1364
-
1365
- # source://reline//lib/reline/line_editor.rb#2933
1366
- def ed_delete_prev_char(key, arg: T.unsafe(nil)); end
1367
-
1368
- # source://reline//lib/reline/line_editor.rb#2701
1369
- def ed_delete_prev_word(key); end
1370
-
1371
- # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1372
- # In insert mode, insert the input character left of the cursor
1373
- # position. In replace mode, overwrite the character at the
1374
- # cursor and move the cursor to the right by one character
1375
- # position. Accept an argument to do this repeatedly. It is an
1376
- # error if the input character is the NUL character (+Ctrl-@+).
1377
- # Failure to enlarge the edit buffer also results in an error.
1378
- # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1379
- # the input digit to the argument being read. Otherwise, call
1380
- # +ed-insert+. It is an error if the input character is not a
1381
- # digit or if the existing argument is already greater than a
1382
- # million.
1383
- # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1384
- #
1385
- # source://reline//lib/reline/line_editor.rb#1944
1386
- def ed_digit(key); end
1387
-
1388
- # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1389
- # In insert mode, insert the input character left of the cursor
1390
- # position. In replace mode, overwrite the character at the
1391
- # cursor and move the cursor to the right by one character
1392
- # position. Accept an argument to do this repeatedly. It is an
1393
- # error if the input character is the NUL character (+Ctrl-@+).
1394
- # Failure to enlarge the edit buffer also results in an error.
1395
- # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1396
- # the input digit to the argument being read. Otherwise, call
1397
- # +ed-insert+. It is an error if the input character is not a
1398
- # digit or if the existing argument is already greater than a
1399
- # million.
1400
- # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1401
- #
1402
- # source://reline//lib/reline/line_editor.rb#1944
1403
- def ed_insert(key); end
1404
-
1405
- # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
1406
- # +Ctrl-U+) + Kill from the cursor to the end of the line.
1407
- # GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
1408
- # the line. With a negative numeric argument, kill backward
1409
- # from the cursor to the beginning of the current line.
1410
- #
1411
- # source://reline//lib/reline/line_editor.rb#2551
1412
- def ed_kill_line(key); end
1413
-
1414
- # source://reline//lib/reline/line_editor.rb#2057
1415
- def ed_move_to_beg(key); end
1416
-
1417
- # source://reline//lib/reline/line_editor.rb#2062
1418
- def ed_move_to_end(key); end
1419
-
1420
- # source://reline//lib/reline/line_editor.rb#2490
1421
- def ed_newline(key); end
1422
-
1423
- # source://reline//lib/reline/line_editor.rb#2013
1424
- def ed_next_char(key, arg: T.unsafe(nil)); end
1425
-
1426
- # source://reline//lib/reline/line_editor.rb#2442
1427
- def ed_next_history(key, arg: T.unsafe(nil)); end
1428
-
1429
- # source://reline//lib/reline/line_editor.rb#2033
1430
- def ed_prev_char(key, arg: T.unsafe(nil)); end
1431
-
1432
- # source://reline//lib/reline/line_editor.rb#2391
1433
- def ed_prev_history(key, arg: T.unsafe(nil)); end
1434
-
1435
- # source://reline//lib/reline/line_editor.rb#2682
1436
- def ed_prev_word(key); end
1437
-
1438
- # source://reline//lib/reline/line_editor.rb#1997
1439
- def ed_quoted_insert(str, arg: T.unsafe(nil)); end
1440
-
1441
- # source://reline//lib/reline/line_editor.rb#2339
1442
- def ed_search_next_history(key, arg: T.unsafe(nil)); end
1443
-
1444
- # source://reline//lib/reline/line_editor.rb#2292
1445
- def ed_search_prev_history(key, arg: T.unsafe(nil)); end
1446
-
1447
- # source://reline//lib/reline/line_editor.rb#2713
1448
- def ed_transpose_chars(key); end
1449
-
1450
- # source://reline//lib/reline/line_editor.rb#2733
1451
- def ed_transpose_words(key); end
1452
-
1453
- # do nothing
1454
- #
1455
- # source://reline//lib/reline/line_editor.rb#1914
1456
- def ed_unassigned(key); end
1457
-
1458
- # source://reline//lib/reline/line_editor.rb#2748
1459
- def em_capitol_case(key); end
1460
-
1461
- # source://reline//lib/reline/line_editor.rb#2600
1462
- def em_delete(key); end
1463
-
1464
- # source://reline//lib/reline/line_editor.rb#2691
1465
- def em_delete_next_word(key); end
1466
-
1467
- # source://reline//lib/reline/line_editor.rb#2627
1468
- def em_delete_or_list(key); end
1469
-
1470
- # source://reline//lib/reline/line_editor.rb#2523
1471
- def em_delete_prev_char(key, arg: T.unsafe(nil)); end
1472
-
1473
- # source://reline//lib/reline/line_editor.rb#3287
1474
- def em_exchange_mark(key); end
1475
-
1476
- # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
1477
- # edit buffer and save it to the cut buffer. +vi-kill-line-prev+
1478
- # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
1479
- # current line, no matter where point is.
1480
- #
1481
- # source://reline//lib/reline/line_editor.rb#2589
1482
- def em_kill_line(key); end
1483
-
1484
- # source://reline//lib/reline/line_editor.rb#2792
1485
- def em_kill_region(key); end
1486
-
1487
- # source://reline//lib/reline/line_editor.rb#2760
1488
- def em_lower_case(key); end
1489
-
1490
- # source://reline//lib/reline/line_editor.rb#3298
1491
- def em_meta_next(key); end
1492
-
1493
- # source://reline//lib/reline/line_editor.rb#2673
1494
- def em_next_word(key); end
1495
-
1496
- # source://reline//lib/reline/line_editor.rb#3282
1497
- def em_set_mark(key); end
1498
-
1499
- # source://reline//lib/reline/line_editor.rb#2776
1500
- def em_upper_case(key); end
1501
-
1502
- # source://reline//lib/reline/line_editor.rb#2639
1503
- def em_yank(key); end
1504
-
1505
- # source://reline//lib/reline/line_editor.rb#2651
1506
- def em_yank_pop(key); end
1507
-
1508
- # source://reline//lib/reline/line_editor.rb#2062
1509
- def end_of_line(key); end
1510
-
1511
- # source://reline//lib/reline/line_editor.rb#3287
1512
- def exchange_point_and_mark(key); end
1513
-
1514
- # source://reline//lib/reline/line_editor.rb#2013
1515
- def forward_char(key, arg: T.unsafe(nil)); end
1516
-
1517
- # source://reline//lib/reline/line_editor.rb#2287
1518
- def forward_search_history(key); end
1519
-
1520
- # source://reline//lib/reline/line_editor.rb#2673
1521
- def forward_word(key); end
1522
-
1523
- # source://reline//lib/reline/line_editor.rb#2077
1524
- def generate_searcher; end
1525
-
1526
- # source://reline//lib/reline/line_editor.rb#2292
1527
- def history_search_backward(key, arg: T.unsafe(nil)); end
1528
-
1529
- # source://reline//lib/reline/line_editor.rb#2339
1530
- def history_search_forward(key, arg: T.unsafe(nil)); end
1531
-
1532
- # @return [Boolean]
1533
- #
1534
- # source://reline//lib/reline/line_editor.rb#1415
1535
- def inclusive?(method_obj); end
1536
-
1537
- # source://reline//lib/reline/line_editor.rb#2195
1538
- def incremental_search_history(key); end
1539
-
1540
- # source://reline//lib/reline/line_editor.rb#332
1541
- def insert_new_line(cursor_line, next_line); end
1542
-
1543
- # source://reline//lib/reline/line_editor.rb#1891
1544
- def key_delete(key); end
1545
-
1546
- # source://reline//lib/reline/line_editor.rb#1899
1547
- def key_newline(key); end
1548
-
1549
- # Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
1550
- # +Ctrl-U+) + Kill from the cursor to the end of the line.
1551
- # GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
1552
- # the line. With a negative numeric argument, kill backward
1553
- # from the cursor to the beginning of the current line.
1554
- #
1555
- # source://reline//lib/reline/line_editor.rb#2551
1556
- def kill_line(key); end
1557
-
1558
- # Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
1559
- # edit buffer and save it to the cut buffer. +vi-kill-line-prev+
1560
- # GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
1561
- # current line, no matter where point is.
1562
- #
1563
- # source://reline//lib/reline/line_editor.rb#2589
1564
- def kill_whole_line(key); end
1565
-
1566
- # source://reline//lib/reline/line_editor.rb#2691
1567
- def kill_word(key); end
1568
-
1569
- # source://reline//lib/reline/line_editor.rb#1233
1570
- def menu(target, list); end
1571
-
1572
- # source://reline//lib/reline/line_editor.rb#1185
1573
- def modify_lines(before, force_recalc: T.unsafe(nil)); end
1574
-
1575
- # source://reline//lib/reline/line_editor.rb#1327
1576
- def move_completed_list(list, direction); end
1577
-
1578
- # source://reline//lib/reline/line_editor.rb#368
1579
- def move_cursor_down(val); end
1580
-
1581
- # source://reline//lib/reline/line_editor.rb#359
1582
- def move_cursor_up(val); end
1583
-
1584
- # source://reline//lib/reline/line_editor.rb#2442
1585
- def next_history(key, arg: T.unsafe(nil)); end
1586
-
1587
- # source://reline//lib/reline/line_editor.rb#1498
1588
- def normal_char(key); end
1589
-
1590
- # source://reline//lib/reline/line_editor.rb#658
1591
- def padding_space_with_escape_sequences(str, width); end
1592
-
1593
- # source://reline//lib/reline/line_editor.rb#2391
1594
- def previous_history(key, arg: T.unsafe(nil)); end
1595
-
1596
- # source://reline//lib/reline/line_editor.rb#1643
1597
- def process_auto_indent; end
1598
-
1599
- # source://reline//lib/reline/line_editor.rb#1916
1600
- def process_insert(force: T.unsafe(nil)); end
1601
-
1602
- # source://reline//lib/reline/line_editor.rb#1441
1603
- def process_key(key, method_symbol); end
1604
-
1605
- # source://reline//lib/reline/line_editor.rb#1997
1606
- def quoted_insert(str, arg: T.unsafe(nil)); end
1607
-
1608
- # source://reline//lib/reline/line_editor.rb#665
1609
- def range_subtract(base_ranges, subtract_ranges); end
1610
-
1611
- # source://reline//lib/reline/line_editor.rb#649
1612
- def render_dialog(cursor_column); end
1613
-
1614
- # source://reline//lib/reline/line_editor.rb#677
1615
- def render_dialog_changes(changes, cursor_column); end
1616
-
1617
- # source://reline//lib/reline/line_editor.rb#1088
1618
- def render_partial(prompt, prompt_width, line_to_render, this_started_from, with_control: T.unsafe(nil)); end
1619
-
1620
- # source://reline//lib/reline/line_editor.rb#1062
1621
- def render_whole_lines(lines, prompt, prompt_width); end
1622
-
1623
- # source://reline//lib/reline/line_editor.rb#911
1624
- def rerender_added_newline(prompt, prompt_width, prompt_list); end
1625
-
1626
- # source://reline//lib/reline/line_editor.rb#1007
1627
- def rerender_all_lines; end
1628
-
1629
- # source://reline//lib/reline/line_editor.rb#963
1630
- def rerender_changed_current_line; end
1631
-
1632
- # source://reline//lib/reline/line_editor.rb#2282
1633
- def reverse_search_history(key); end
1634
-
1635
- # source://reline//lib/reline/line_editor.rb#1373
1636
- def run_for_operators(key, method_symbol, &block); end
1637
-
1638
- # source://reline//lib/reline/line_editor.rb#348
1639
- def scroll_down(val); end
1640
-
1641
- # source://reline//lib/reline/line_editor.rb#3171
1642
- def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1643
-
1644
- # source://reline//lib/reline/line_editor.rb#3228
1645
- def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end
1646
-
1647
- # Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
1648
- # In insert mode, insert the input character left of the cursor
1649
- # position. In replace mode, overwrite the character at the
1650
- # cursor and move the cursor to the right by one character
1651
- # position. Accept an argument to do this repeatedly. It is an
1652
- # error if the input character is the NUL character (+Ctrl-@+).
1653
- # Failure to enlarge the edit buffer also results in an error.
1654
- # Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
1655
- # the input digit to the argument being read. Otherwise, call
1656
- # +ed-insert+. It is an error if the input character is not a
1657
- # digit or if the existing argument is already greater than a
1658
- # million.
1659
- # GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
1660
- #
1661
- # source://reline//lib/reline/line_editor.rb#1944
1662
- def self_insert(key); end
1663
-
1664
- # source://reline//lib/reline/line_editor.rb#3282
1665
- def set_mark(key); end
1666
-
1667
- # source://reline//lib/reline/line_editor.rb#1195
1668
- def show_menu; end
1669
-
1670
- # source://reline//lib/reline/line_editor.rb#344
1671
- def split_by_width(str, max_width); end
1672
-
1673
- # source://reline//lib/reline/line_editor.rb#2713
1674
- def transpose_chars(key); end
1675
-
1676
- # source://reline//lib/reline/line_editor.rb#2733
1677
- def transpose_words(key); end
1678
-
1679
- # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
1680
- # beginning of the edit buffer to the cursor and save it to the
1681
- # cut buffer.
1682
- # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
1683
- # to the beginning of the current line.
1684
- #
1685
- # source://reline//lib/reline/line_editor.rb#2574
1686
- def unix_line_discard(key); end
1687
-
1688
- # source://reline//lib/reline/line_editor.rb#2792
1689
- def unix_word_rubout(key); end
1690
-
1691
- # source://reline//lib/reline/line_editor.rb#2776
1692
- def upcase_word(key); end
1693
-
1694
- # source://reline//lib/reline/line_editor.rb#769
1695
- def update_each_dialog(dialog, cursor_column); end
1696
-
1697
- # source://reline//lib/reline/line_editor.rb#2814
1698
- def vi_add(key); end
1699
-
1700
- # source://reline//lib/reline/line_editor.rb#2928
1701
- def vi_add_at_eol(key); end
1702
-
1703
- # source://reline//lib/reline/line_editor.rb#2954
1704
- def vi_change_meta(key, arg: T.unsafe(nil)); end
1705
-
1706
- # source://reline//lib/reline/line_editor.rb#2819
1707
- def vi_command_mode(key); end
1708
-
1709
- # source://reline//lib/reline/line_editor.rb#2972
1710
- def vi_delete_meta(key, arg: T.unsafe(nil)); end
1711
-
1712
- # source://reline//lib/reline/line_editor.rb#2903
1713
- def vi_delete_prev_char(key); end
1714
-
1715
- # source://reline//lib/reline/line_editor.rb#2884
1716
- def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1717
-
1718
- # source://reline//lib/reline/line_editor.rb#2999
1719
- def vi_end_of_transmission(key); end
1720
-
1721
- # source://reline//lib/reline/line_editor.rb#2845
1722
- def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1723
-
1724
- # source://reline//lib/reline/line_editor.rb#2999
1725
- def vi_eof_maybe(key); end
1726
-
1727
- # source://reline//lib/reline/line_editor.rb#2053
1728
- def vi_first_print(key); end
1729
-
1730
- # source://reline//lib/reline/line_editor.rb#3057
1731
- def vi_histedit(key); end
1732
-
1733
- # source://reline//lib/reline/line_editor.rb#2810
1734
- def vi_insert(key); end
1735
-
1736
- # source://reline//lib/reline/line_editor.rb#2923
1737
- def vi_insert_at_bol(key); end
1738
-
1739
- # source://reline//lib/reline/line_editor.rb#3268
1740
- def vi_join_lines(key, arg: T.unsafe(nil)); end
1741
-
1742
- # Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
1743
- # beginning of the edit buffer to the cursor and save it to the
1744
- # cut buffer.
1745
- # GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
1746
- # to the beginning of the current line.
1747
- #
1748
- # source://reline//lib/reline/line_editor.rb#2574
1749
- def vi_kill_line_prev(key); end
1750
-
1751
- # source://reline//lib/reline/line_editor.rb#2999
1752
- def vi_list_or_eof(key); end
1753
-
1754
- # source://reline//lib/reline/line_editor.rb#2819
1755
- def vi_movement_mode(key); end
1756
-
1757
- # source://reline//lib/reline/line_editor.rb#2864
1758
- def vi_next_big_word(key, arg: T.unsafe(nil)); end
1759
-
1760
- # source://reline//lib/reline/line_editor.rb#3163
1761
- def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1762
-
1763
- # source://reline//lib/reline/line_editor.rb#2825
1764
- def vi_next_word(key, arg: T.unsafe(nil)); end
1765
-
1766
- # source://reline//lib/reline/line_editor.rb#3091
1767
- def vi_paste_next(key, arg: T.unsafe(nil)); end
1768
-
1769
- # source://reline//lib/reline/line_editor.rb#3079
1770
- def vi_paste_prev(key, arg: T.unsafe(nil)); end
1771
-
1772
- # source://reline//lib/reline/line_editor.rb#2874
1773
- def vi_prev_big_word(key, arg: T.unsafe(nil)); end
1774
-
1775
- # source://reline//lib/reline/line_editor.rb#3220
1776
- def vi_prev_char(key, arg: T.unsafe(nil)); end
1777
-
1778
- # source://reline//lib/reline/line_editor.rb#2835
1779
- def vi_prev_word(key, arg: T.unsafe(nil)); end
1780
-
1781
- # source://reline//lib/reline/line_editor.rb#3135
1782
- def vi_replace_char(key, arg: T.unsafe(nil)); end
1783
-
1784
- # source://reline//lib/reline/line_editor.rb#2287
1785
- def vi_search_next(key); end
1786
-
1787
- # source://reline//lib/reline/line_editor.rb#2282
1788
- def vi_search_prev(key); end
1789
-
1790
- # source://reline//lib/reline/line_editor.rb#3120
1791
- def vi_to_column(key, arg: T.unsafe(nil)); end
1792
-
1793
- # source://reline//lib/reline/line_editor.rb#3034
1794
- def vi_to_history_line(key); end
1795
-
1796
- # source://reline//lib/reline/line_editor.rb#3167
1797
- def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
1798
-
1799
- # source://reline//lib/reline/line_editor.rb#3224
1800
- def vi_to_prev_char(key, arg: T.unsafe(nil)); end
1801
-
1802
- # source://reline//lib/reline/line_editor.rb#2987
1803
- def vi_yank(key, arg: T.unsafe(nil)); end
1804
-
1805
- # source://reline//lib/reline/line_editor.rb#2949
1806
- def vi_zero(key); end
1807
-
1808
- # source://reline//lib/reline/line_editor.rb#2639
1809
- def yank(key); end
1810
-
1811
- # source://reline//lib/reline/line_editor.rb#2651
1812
- def yank_pop(key); end
1813
- end
1814
-
1815
- # source://reline//lib/reline/line_editor.rb#51
1816
- class Reline::LineEditor::CompletionJourneyData < ::Struct
1817
- # Returns the value of attribute list
1818
- #
1819
- # @return [Object] the current value of list
1820
- def list; end
1821
-
1822
- # Sets the attribute list
1823
- #
1824
- # @param value [Object] the value to set the attribute list to.
1825
- # @return [Object] the newly set value
1826
- def list=(_); end
1827
-
1828
- # Returns the value of attribute pointer
1829
- #
1830
- # @return [Object] the current value of pointer
1831
- def pointer; end
1832
-
1833
- # Sets the attribute pointer
1834
- #
1835
- # @param value [Object] the value to set the attribute pointer to.
1836
- # @return [Object] the newly set value
1837
- def pointer=(_); end
1838
-
1839
- # Returns the value of attribute postposing
1840
- #
1841
- # @return [Object] the current value of postposing
1842
- def postposing; end
1843
-
1844
- # Sets the attribute postposing
1845
- #
1846
- # @param value [Object] the value to set the attribute postposing to.
1847
- # @return [Object] the newly set value
1848
- def postposing=(_); end
1849
-
1850
- # Returns the value of attribute preposing
1851
- #
1852
- # @return [Object] the current value of preposing
1853
- def preposing; end
1854
-
1855
- # Sets the attribute preposing
1856
- #
1857
- # @param value [Object] the value to set the attribute preposing to.
1858
- # @return [Object] the newly set value
1859
- def preposing=(_); end
1860
-
1861
- class << self
1862
- def [](*_arg0); end
1863
- def inspect; end
1864
- def keyword_init?; end
1865
- def members; end
1866
- def new(*_arg0); end
1867
- end
1868
- end
1869
-
1870
- # source://reline//lib/reline/line_editor.rb#44
1871
- Reline::LineEditor::CompletionState::COMPLETION = T.let(T.unsafe(nil), Symbol)
1872
-
1873
- # source://reline//lib/reline/line_editor.rb#46
1874
- Reline::LineEditor::CompletionState::JOURNEY = T.let(T.unsafe(nil), Symbol)
1875
-
1876
- # source://reline//lib/reline/line_editor.rb#45
1877
- Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol)
1878
-
1879
- # source://reline//lib/reline/line_editor.rb#47
1880
- Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
1881
-
1882
- # source://reline//lib/reline/line_editor.rb#43
1883
- Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol)
1884
-
1885
- # source://reline//lib/reline/line_editor.rb#48
1886
- Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
1887
-
1888
- # source://reline//lib/reline/line_editor.rb#648
1889
- Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer)
1890
-
1891
- # source://reline//lib/reline/line_editor.rb#592
1892
- class Reline::LineEditor::Dialog
1893
- # @return [Dialog] a new instance of Dialog
1894
- #
1895
- # source://reline//lib/reline/line_editor.rb#596
1896
- def initialize(name, config, proc_scope); end
1897
-
1898
- # source://reline//lib/reline/line_editor.rb#620
1899
- def call(key); end
1900
-
1901
- # Returns the value of attribute column.
1902
- #
1903
- # source://reline//lib/reline/line_editor.rb#594
1904
- def column; end
1905
-
1906
- # Sets the attribute column
1907
- #
1908
- # @param value the value to set the attribute column to.
1909
- #
1910
- # source://reline//lib/reline/line_editor.rb#594
1911
- def column=(_arg0); end
1912
-
1913
- # Returns the value of attribute contents.
1914
- #
1915
- # source://reline//lib/reline/line_editor.rb#593
1916
- def contents; end
1917
-
1918
- # source://reline//lib/reline/line_editor.rb#613
1919
- def contents=(contents); end
1920
-
1921
- # Returns the value of attribute name.
1922
- #
1923
- # source://reline//lib/reline/line_editor.rb#593
1924
- def name; end
1925
-
1926
- # Returns the value of attribute pointer.
1927
- #
1928
- # source://reline//lib/reline/line_editor.rb#594
1929
- def pointer; end
1930
-
1931
- # Sets the attribute pointer
1932
- #
1933
- # @param value the value to set the attribute pointer to.
1934
- #
1935
- # source://reline//lib/reline/line_editor.rb#594
1936
- def pointer=(_arg0); end
1937
-
1938
- # Returns the value of attribute scroll_top.
1939
- #
1940
- # source://reline//lib/reline/line_editor.rb#594
1941
- def scroll_top; end
1942
-
1943
- # Sets the attribute scroll_top
1944
- #
1945
- # @param value the value to set the attribute scroll_top to.
1946
- #
1947
- # source://reline//lib/reline/line_editor.rb#594
1948
- def scroll_top=(_arg0); end
1949
-
1950
- # source://reline//lib/reline/line_editor.rb#605
1951
- def set_cursor_pos(col, row); end
1952
-
1953
- # Returns the value of attribute trap_key.
1954
- #
1955
- # source://reline//lib/reline/line_editor.rb#594
1956
- def trap_key; end
1957
-
1958
- # Sets the attribute trap_key
1959
- #
1960
- # @param value the value to set the attribute trap_key to.
1961
- #
1962
- # source://reline//lib/reline/line_editor.rb#594
1963
- def trap_key=(_arg0); end
1964
-
1965
- # Returns the value of attribute vertical_offset.
1966
- #
1967
- # source://reline//lib/reline/line_editor.rb#594
1968
- def vertical_offset; end
1969
-
1970
- # Sets the attribute vertical_offset
1971
- #
1972
- # @param value the value to set the attribute vertical_offset to.
1973
- #
1974
- # source://reline//lib/reline/line_editor.rb#594
1975
- def vertical_offset=(_arg0); end
1976
-
1977
- # Returns the value of attribute width.
1978
- #
1979
- # source://reline//lib/reline/line_editor.rb#593
1980
- def width; end
1981
-
1982
- # source://reline//lib/reline/line_editor.rb#609
1983
- def width=(v); end
1984
- end
1985
-
1986
- # source://reline//lib/reline/line_editor.rb#515
1987
- class Reline::LineEditor::DialogProcScope
1988
- # @return [DialogProcScope] a new instance of DialogProcScope
1989
- #
1990
- # source://reline//lib/reline/line_editor.rb#516
1991
- def initialize(line_editor, config, proc_to_exec, context); end
1992
-
1993
- # source://reline//lib/reline/line_editor.rb#587
1994
- def call; end
1995
-
1996
- # source://reline//lib/reline/line_editor.rb#532
1997
- def call_completion_proc_with_checking_args(pre, target, post); end
1998
-
1999
- # source://reline//lib/reline/line_editor.rb#579
2000
- def completion_journey_data; end
2001
-
2002
- # source://reline//lib/reline/line_editor.rb#583
2003
- def config; end
2004
-
2005
- # source://reline//lib/reline/line_editor.rb#524
2006
- def context; end
2007
-
2008
- # source://reline//lib/reline/line_editor.rb#557
2009
- def cursor_pos; end
2010
-
2011
- # source://reline//lib/reline/line_editor.rb#540
2012
- def dialog; end
2013
-
2014
- # source://reline//lib/reline/line_editor.rb#561
2015
- def just_cursor_moving; end
2016
-
2017
- # source://reline//lib/reline/line_editor.rb#553
2018
- def key; end
2019
-
2020
- # source://reline//lib/reline/line_editor.rb#573
2021
- def preferred_dialog_height; end
2022
-
2023
- # source://reline//lib/reline/line_editor.rb#528
2024
- def retrieve_completion_block(set_completion_quote_character = T.unsafe(nil)); end
2025
-
2026
- # source://reline//lib/reline/line_editor.rb#569
2027
- def screen_height; end
2028
-
2029
- # source://reline//lib/reline/line_editor.rb#565
2030
- def screen_width; end
2031
-
2032
- # source://reline//lib/reline/line_editor.rb#544
2033
- def set_cursor_pos(col, row); end
2034
-
2035
- # source://reline//lib/reline/line_editor.rb#536
2036
- def set_dialog(dialog); end
2037
-
2038
- # source://reline//lib/reline/line_editor.rb#549
2039
- def set_key(key); end
2040
- end
2041
-
2042
- # source://reline//lib/reline/line_editor.rb#55
2043
- Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer)
2044
-
2045
- # source://reline//lib/reline/line_editor.rb#52
2046
- class Reline::LineEditor::MenuInfo < ::Struct
2047
- # Returns the value of attribute list
2048
- #
2049
- # @return [Object] the current value of list
2050
- def list; end
2051
-
2052
- # Sets the attribute list
2053
- #
2054
- # @param value [Object] the value to set the attribute list to.
2055
- # @return [Object] the newly set value
2056
- def list=(_); end
2057
-
2058
- # Returns the value of attribute target
2059
- #
2060
- # @return [Object] the current value of target
2061
- def target; end
2062
-
2063
- # Sets the attribute target
2064
- #
2065
- # @param value [Object] the value to set the attribute target to.
2066
- # @return [Object] the newly set value
2067
- def target=(_); end
2068
-
2069
- class << self
2070
- def [](*_arg0); end
2071
- def inspect; end
2072
- def keyword_init?; end
2073
- def members; end
2074
- def new(*_arg0); end
2075
- end
2076
- end
2077
-
2078
- # source://reline//lib/reline/line_editor.rb#54
2079
- Reline::LineEditor::PROMPT_LIST_CACHE_TIMEOUT = T.let(T.unsafe(nil), Float)
2080
-
2081
- # source://reline//lib/reline/line_editor.rb#21
2082
- Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array)
2083
-
2084
- # source://reline//lib/reline/terminfo.rb#12
2085
- module Reline::Terminfo
2086
- extend ::Fiddle
2087
- extend ::Fiddle::CParser
2088
- extend ::Fiddle::Importer
2089
-
2090
- class << self
2091
- # source://reline//lib/reline/terminfo.rb#32
2092
- def curses_dl; end
2093
-
2094
- # source://reline//lib/reline/terminfo.rb#17
2095
- def curses_dl_files; end
2096
-
2097
- # @return [Boolean]
2098
- #
2099
- # source://reline//lib/reline/terminfo.rb#151
2100
- def enabled?; end
2101
-
2102
- # source://reline//lib/reline/terminfo.rb#80
2103
- def setupterm(term, fildes); end
2104
-
2105
- # @raise [TerminfoError]
2106
- #
2107
- # source://reline//lib/reline/terminfo.rb#127
2108
- def tigetflag(capname); end
2109
-
2110
- # @raise [TerminfoError]
2111
- #
2112
- # source://reline//lib/reline/terminfo.rb#139
2113
- def tigetnum(capname); end
2114
-
2115
- # @raise [TerminfoError]
2116
- #
2117
- # source://reline//lib/reline/terminfo.rb#109
2118
- def tigetstr(capname); end
2119
-
2120
- # source://reline//lib/reline/terminfo.rb#119
2121
- def tiparm(str, *args); end
2122
- end
2123
- end
2124
-
2125
- # source://reline//lib/reline/terminfo.rb#103
2126
- class Reline::Terminfo::StringWithTiparm < ::String
2127
- # for method chain
2128
- #
2129
- # source://reline//lib/reline/terminfo.rb#104
2130
- def tiparm(*args); end
2131
- end
2132
-
2133
- # source://reline//lib/reline.rb#15
2134
- Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
2135
-
2136
- # source://reline//lib/reline/unicode.rb#1
2137
- class Reline::Unicode
2138
- class << self
2139
- # source://reline//lib/reline/unicode.rb#105
2140
- def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
2141
-
2142
- # source://reline//lib/reline/unicode.rb#307
2143
- def ed_transpose_words(line, byte_pointer); end
2144
-
2145
- # source://reline//lib/reline/unicode.rb#267
2146
- def em_backward_word(line, byte_pointer); end
2147
-
2148
- # source://reline//lib/reline/unicode.rb#287
2149
- def em_big_backward_word(line, byte_pointer); end
2150
-
2151
- # source://reline//lib/reline/unicode.rb#218
2152
- def em_forward_word(line, byte_pointer); end
2153
-
2154
- # source://reline//lib/reline/unicode.rb#238
2155
- def em_forward_word_with_capitalization(line, byte_pointer); end
2156
-
2157
- # source://reline//lib/reline/unicode.rb#44
2158
- def escape_for_print(str); end
2159
-
2160
- # source://reline//lib/reline/unicode.rb#85
2161
- def get_mbchar_width(mbchar); end
2162
-
2163
- # source://reline//lib/reline/unicode.rb#204
2164
- def get_next_mbchar_size(line, byte_pointer); end
2165
-
2166
- # source://reline//lib/reline/unicode.rb#209
2167
- def get_prev_mbchar_size(line, byte_pointer); end
2168
-
2169
- # source://reline//lib/reline/unicode.rb#131
2170
- def split_by_width(str, max_width, encoding = T.unsafe(nil)); end
2171
-
2172
- # Take a chunk of a String cut by width with escape sequences.
2173
- #
2174
- # source://reline//lib/reline/unicode.rb#175
2175
- def take_range(str, start_col, max_width); end
2176
-
2177
- # source://reline//lib/reline/unicode.rb#596
2178
- def vi_backward_word(line, byte_pointer); end
2179
-
2180
- # source://reline//lib/reline/unicode.rb#458
2181
- def vi_big_backward_word(line, byte_pointer); end
2182
-
2183
- # source://reline//lib/reline/unicode.rb#428
2184
- def vi_big_forward_end_word(line, byte_pointer); end
2185
-
2186
- # source://reline//lib/reline/unicode.rb#408
2187
- def vi_big_forward_word(line, byte_pointer); end
2188
-
2189
- # source://reline//lib/reline/unicode.rb#628
2190
- def vi_first_print(line); end
2191
-
2192
- # source://reline//lib/reline/unicode.rb#519
2193
- def vi_forward_end_word(line, byte_pointer); end
2194
-
2195
- # source://reline//lib/reline/unicode.rb#478
2196
- def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end
2197
- end
2198
- end
2199
-
2200
- # source://reline//lib/reline/unicode.rb#40
2201
- Reline::Unicode::CSI_REGEXP = T.let(T.unsafe(nil), Regexp)
2202
-
2203
- # Ambiguous
2204
- #
2205
- # source://reline//lib/reline/unicode/east_asian_width.rb#158
2206
- Reline::Unicode::EastAsianWidth::TYPE_A = T.let(T.unsafe(nil), Regexp)
2207
-
2208
- # Fullwidth
2209
- #
2210
- # source://reline//lib/reline/unicode/east_asian_width.rb#6
2211
- Reline::Unicode::EastAsianWidth::TYPE_F = T.let(T.unsafe(nil), Regexp)
2212
-
2213
- # Halfwidth
2214
- #
2215
- # source://reline//lib/reline/unicode/east_asian_width.rb#13
2216
- Reline::Unicode::EastAsianWidth::TYPE_H = T.let(T.unsafe(nil), Regexp)
2217
-
2218
- # Neutral
2219
- #
2220
- # source://reline//lib/reline/unicode/east_asian_width.rb#341
2221
- Reline::Unicode::EastAsianWidth::TYPE_N = T.let(T.unsafe(nil), Regexp)
2222
-
2223
- # Narrow
2224
- #
2225
- # source://reline//lib/reline/unicode/east_asian_width.rb#147
2226
- Reline::Unicode::EastAsianWidth::TYPE_NA = T.let(T.unsafe(nil), Regexp)
2227
-
2228
- # Wide
2229
- #
2230
- # source://reline//lib/reline/unicode/east_asian_width.rb#24
2231
- Reline::Unicode::EastAsianWidth::TYPE_W = T.let(T.unsafe(nil), Regexp)
2232
-
2233
- # C-? C-8
2234
- #
2235
- # source://reline//lib/reline/unicode.rb#36
2236
- Reline::Unicode::EscapedChars = T.let(T.unsafe(nil), Array)
2237
-
2238
- # source://reline//lib/reline/unicode.rb#2
2239
- Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash)
2240
-
2241
- # source://reline//lib/reline/unicode.rb#57
2242
- Reline::Unicode::HalfwidthDakutenHandakuten = T.let(T.unsafe(nil), Regexp)
2243
-
2244
- # source://reline//lib/reline/unicode.rb#59
2245
- Reline::Unicode::MBCharWidthRE = T.let(T.unsafe(nil), Regexp)
2246
-
2247
- # source://reline//lib/reline/unicode.rb#39
2248
- Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String)
2249
-
2250
- # source://reline//lib/reline/unicode.rb#38
2251
- Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String)
2252
-
2253
- # source://reline//lib/reline/unicode.rb#41
2254
- Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp)
2255
-
2256
- # source://reline//lib/reline/unicode.rb#42
2257
- Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp)
2258
-
2259
- # source://reline//lib/reline/version.rb#2
2260
- Reline::VERSION = T.let(T.unsafe(nil), String)