privat_bank_business_api 0.2.1
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.
- checksums.yaml +7 -0
- data/.devcontainer/Dockerfile +17 -0
- data/.devcontainer/devcontainer.json +33 -0
- data/.devcontainer/post-create.sh +8 -0
- data/.rspec +3 -0
- data/.rubocop.yml +9 -0
- data/.vscode/settings.json +6 -0
- data/CHANGELOG.md +12 -0
- data/CODE_OF_CONDUCT.md +132 -0
- data/LICENSE.txt +21 -0
- data/README.md +123 -0
- data/Rakefile +12 -0
- data/lib/pb_api/base_transformer.rb +19 -0
- data/lib/pb_api/client.rb +41 -0
- data/lib/pb_api/models/balance.rb +79 -0
- data/lib/pb_api/models/base_struct.rb +30 -0
- data/lib/pb_api/models/transaction.rb +114 -0
- data/lib/pb_api/pagination_helper.rb +73 -0
- data/lib/pb_api/resource.rb +97 -0
- data/lib/pb_api/resources/balance_resource.rb +40 -0
- data/lib/pb_api/resources/transaction_resource.rb +105 -0
- data/lib/pb_api/transformers/balance_transformer.rb +35 -0
- data/lib/pb_api/transformers/transaction_transformer.rb +46 -0
- data/lib/pb_api/types.rb +8 -0
- data/lib/pb_api/version.rb +5 -0
- data/lib/pb_api.rb +34 -0
- data/sig/privat_bank_buisness_api.rbs +4 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/.gitattributes +1 -0
- data/sorbet/rbi/annotations/faraday.rbi +17 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
- data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
- data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +9 -0
- data/sorbet/rbi/gems/date@3.4.1.rbi +75 -0
- data/sorbet/rbi/gems/diff-lcs@1.6.0.rbi +1134 -0
- data/sorbet/rbi/gems/dry-core@1.1.0.rbi +9 -0
- data/sorbet/rbi/gems/dry-inflector@1.2.0.rbi +9 -0
- data/sorbet/rbi/gems/dry-logic@1.6.0.rbi +9 -0
- data/sorbet/rbi/gems/dry-struct@1.7.1.rbi +925 -0
- data/sorbet/rbi/gems/dry-transformer@1.0.1.rbi +1512 -0
- data/sorbet/rbi/gems/dry-types@1.8.2.rbi +9 -0
- data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +9 -0
- data/sorbet/rbi/gems/faraday-multipart@1.1.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.2.rbi +9 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +9 -0
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +9 -0
- data/sorbet/rbi/gems/faraday@1.10.4.rbi +9 -0
- data/sorbet/rbi/gems/faraday_middleware@1.2.1.rbi +9 -0
- data/sorbet/rbi/gems/i18n@1.14.7.rbi +2208 -0
- data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +9 -0
- data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
- data/sorbet/rbi/gems/json@2.10.1.rbi +2120 -0
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
- data/sorbet/rbi/gems/logger@1.6.6.rbi +940 -0
- data/sorbet/rbi/gems/money@6.19.0.rbi +2260 -0
- data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +9 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
- data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
- data/sorbet/rbi/gems/parser@3.3.7.1.rbi +5525 -0
- data/sorbet/rbi/gems/pp@0.6.2.rbi +368 -0
- data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +477 -0
- data/sorbet/rbi/gems/prism@1.3.0.rbi +41403 -0
- data/sorbet/rbi/gems/psych@5.2.3.rbi +2435 -0
- data/sorbet/rbi/gems/racc@1.8.1.rbi +164 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
- data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
- data/sorbet/rbi/gems/rbi@0.2.4.rbi +4542 -0
- data/sorbet/rbi/gems/rdoc@6.12.0.rbi +12758 -0
- data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
- data/sorbet/rbi/gems/reline@0.6.0.rbi +2451 -0
- data/sorbet/rbi/gems/rspec-core@3.13.3.rbi +10986 -0
- data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
- data/sorbet/rbi/gems/rspec-mocks@3.13.2.rbi +5341 -0
- data/sorbet/rbi/gems/rspec-support@3.13.2.rbi +1630 -0
- data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
- data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +7654 -0
- data/sorbet/rbi/gems/rubocop@1.72.2.rbi +61026 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
- data/sorbet/rbi/gems/spoom@1.5.4.rbi +5026 -0
- data/sorbet/rbi/gems/stringio@3.1.5.rbi +9 -0
- data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3656 -0
- data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
- data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
- data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
- data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
- data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
- data/sorbet/rbi/gems/zeitwerk@2.7.2.rbi +9 -0
- data/sorbet/rbi/todo.rbi +17 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +8 -0
- metadata +231 -0
@@ -0,0 +1,2451 @@
|
|
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
|
+
|
8
|
+
# source://reline//lib/reline/version.rb#1
|
9
|
+
module Reline
|
10
|
+
extend ::Forwardable
|
11
|
+
extend ::SingleForwardable
|
12
|
+
|
13
|
+
class << self
|
14
|
+
# source://reline//lib/reline.rb#486
|
15
|
+
def core; end
|
16
|
+
|
17
|
+
# source://reline//lib/reline.rb#482
|
18
|
+
def encoding_system_needs; end
|
19
|
+
|
20
|
+
# source://reline//lib/reline.rb#463
|
21
|
+
def insert_text(text); end
|
22
|
+
|
23
|
+
# source://reline//lib/reline.rb#506
|
24
|
+
def line_editor; end
|
25
|
+
|
26
|
+
# source://reline//lib/reline.rb#502
|
27
|
+
def ungetc(c); end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
# source://reline//lib/reline/io/ansi.rb#4
|
32
|
+
class Reline::ANSI < ::Reline::IO
|
33
|
+
# @return [ANSI] a new instance of ANSI
|
34
|
+
#
|
35
|
+
# source://reline//lib/reline/io/ansi.rb#34
|
36
|
+
def initialize; end
|
37
|
+
|
38
|
+
# @return [Boolean]
|
39
|
+
#
|
40
|
+
# source://reline//lib/reline/io/ansi.rb#232
|
41
|
+
def both_tty?; end
|
42
|
+
|
43
|
+
# source://reline//lib/reline/io/ansi.rb#244
|
44
|
+
def buffered_output; end
|
45
|
+
|
46
|
+
# source://reline//lib/reline/io/ansi.rb#292
|
47
|
+
def clear_screen; end
|
48
|
+
|
49
|
+
# source://reline//lib/reline/io/ansi.rb#227
|
50
|
+
def cursor_pos; end
|
51
|
+
|
52
|
+
# source://reline//lib/reline/io/ansi.rb#319
|
53
|
+
def deprep(otio); end
|
54
|
+
|
55
|
+
# @return [Boolean]
|
56
|
+
#
|
57
|
+
# source://reline//lib/reline/io/ansi.rb#167
|
58
|
+
def empty_buffer?; end
|
59
|
+
|
60
|
+
# source://reline//lib/reline/io/ansi.rb#42
|
61
|
+
def encoding; end
|
62
|
+
|
63
|
+
# source://reline//lib/reline/io/ansi.rb#280
|
64
|
+
def erase_after_cursor; end
|
65
|
+
|
66
|
+
# source://reline//lib/reline/io/ansi.rb#189
|
67
|
+
def get_screen_size; end
|
68
|
+
|
69
|
+
# if the usage expects to wait indefinitely, use Float::INFINITY for timeout_second
|
70
|
+
#
|
71
|
+
# source://reline//lib/reline/io/ansi.rb#159
|
72
|
+
def getc(timeout_second); end
|
73
|
+
|
74
|
+
# source://reline//lib/reline/io/ansi.rb#272
|
75
|
+
def hide_cursor; end
|
76
|
+
|
77
|
+
# @return [Boolean]
|
78
|
+
#
|
79
|
+
# source://reline//lib/reline/io/ansi.rb#163
|
80
|
+
def in_pasting?; end
|
81
|
+
|
82
|
+
# source://reline//lib/reline/io/ansi.rb#128
|
83
|
+
def inner_getc(timeout_second); end
|
84
|
+
|
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
|
91
|
+
|
92
|
+
# source://reline//lib/reline/io/ansi.rb#252
|
93
|
+
def move_cursor_column(x); end
|
94
|
+
|
95
|
+
# source://reline//lib/reline/io/ansi.rb#264
|
96
|
+
def move_cursor_down(x); end
|
97
|
+
|
98
|
+
# source://reline//lib/reline/io/ansi.rb#256
|
99
|
+
def move_cursor_up(x); end
|
100
|
+
|
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
|
107
|
+
|
108
|
+
# source://reline//lib/reline/io/ansi.rb#312
|
109
|
+
def prep; end
|
110
|
+
|
111
|
+
# source://reline//lib/reline/io/ansi.rb#147
|
112
|
+
def read_bracketed_paste; end
|
113
|
+
|
114
|
+
# source://reline//lib/reline/io/ansi.rb#178
|
115
|
+
def retrieve_keybuffer; end
|
116
|
+
|
117
|
+
# This only works when the cursor is at the bottom of the scroll range
|
118
|
+
# For more details, see https://github.com/ruby/reline/pull/577#issuecomment-1646679623
|
119
|
+
#
|
120
|
+
# source://reline//lib/reline/io/ansi.rb#286
|
121
|
+
def scroll_down(x); end
|
122
|
+
|
123
|
+
# source://reline//lib/reline/io/ansi.rb#68
|
124
|
+
def set_bracketed_paste_key_bindings(config); end
|
125
|
+
|
126
|
+
# source://reline//lib/reline/io/ansi.rb#49
|
127
|
+
def set_default_key_bindings(config); end
|
128
|
+
|
129
|
+
# source://reline//lib/reline/io/ansi.rb#74
|
130
|
+
def set_default_key_bindings_ansi_cursor(config); end
|
131
|
+
|
132
|
+
# source://reline//lib/reline/io/ansi.rb#99
|
133
|
+
def set_default_key_bindings_comprehensive_list(config); end
|
134
|
+
|
135
|
+
# source://reline//lib/reline/io/ansi.rb#199
|
136
|
+
def set_screen_size(rows, columns); end
|
137
|
+
|
138
|
+
# source://reline//lib/reline/io/ansi.rb#297
|
139
|
+
def set_winch_handler(&handler); end
|
140
|
+
|
141
|
+
# source://reline//lib/reline/io/ansi.rb#276
|
142
|
+
def show_cursor; end
|
143
|
+
|
144
|
+
# source://reline//lib/reline/io/ansi.rb#174
|
145
|
+
def ungetc(c); end
|
146
|
+
|
147
|
+
# source://reline//lib/reline/io/ansi.rb#120
|
148
|
+
def with_raw_input; end
|
149
|
+
|
150
|
+
# source://reline//lib/reline/io/ansi.rb#236
|
151
|
+
def write(string); end
|
152
|
+
|
153
|
+
private
|
154
|
+
|
155
|
+
# source://reline//lib/reline/io/ansi.rb#206
|
156
|
+
def cursor_pos_internal(timeout:); end
|
157
|
+
end
|
158
|
+
|
159
|
+
# source://reline//lib/reline/io/ansi.rb#17
|
160
|
+
Reline::ANSI::ANSI_CURSOR_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
|
161
|
+
|
162
|
+
# source://reline//lib/reline/io/ansi.rb#5
|
163
|
+
Reline::ANSI::CAPNAME_KEY_BINDINGS = T.let(T.unsafe(nil), Hash)
|
164
|
+
|
165
|
+
# source://reline//lib/reline/io/ansi.rb#146
|
166
|
+
Reline::ANSI::END_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
|
167
|
+
|
168
|
+
# source://reline//lib/reline/io/ansi.rb#145
|
169
|
+
Reline::ANSI::START_BRACKETED_PASTE = T.let(T.unsafe(nil), String)
|
170
|
+
|
171
|
+
# source://reline//lib/reline/config.rb#1
|
172
|
+
class Reline::Config
|
173
|
+
# @return [Config] a new instance of Config
|
174
|
+
#
|
175
|
+
# source://reline//lib/reline/config.rb#31
|
176
|
+
def initialize; end
|
177
|
+
|
178
|
+
# source://reline//lib/reline/config.rb#162
|
179
|
+
def add_default_key_binding(keystroke, target); end
|
180
|
+
|
181
|
+
# source://reline//lib/reline/config.rb#158
|
182
|
+
def add_default_key_binding_by_keymap(keymap, keystroke, target); end
|
183
|
+
|
184
|
+
# source://reline//lib/reline/config.rb#147
|
185
|
+
def add_oneshot_key_binding(keystroke, target); end
|
186
|
+
|
187
|
+
# Returns the value of attribute autocompletion.
|
188
|
+
#
|
189
|
+
# source://reline//lib/reline/config.rb#29
|
190
|
+
def autocompletion; end
|
191
|
+
|
192
|
+
# Sets the attribute autocompletion
|
193
|
+
#
|
194
|
+
# @param value the value to set the attribute autocompletion to.
|
195
|
+
#
|
196
|
+
# source://reline//lib/reline/config.rb#29
|
197
|
+
def autocompletion=(_arg0); end
|
198
|
+
|
199
|
+
# source://reline//lib/reline/config.rb#314
|
200
|
+
def bind_key(key, value); end
|
201
|
+
|
202
|
+
# source://reline//lib/reline/config.rb#247
|
203
|
+
def bind_variable(name, value, raw_value); end
|
204
|
+
|
205
|
+
# source://reline//lib/reline/config.rb#26
|
206
|
+
def completion_ignore_case; end
|
207
|
+
|
208
|
+
# source://reline//lib/reline/config.rb#26
|
209
|
+
def completion_ignore_case=(_arg0); end
|
210
|
+
|
211
|
+
# source://reline//lib/reline/config.rb#26
|
212
|
+
def convert_meta; end
|
213
|
+
|
214
|
+
# source://reline//lib/reline/config.rb#26
|
215
|
+
def convert_meta=(_arg0); end
|
216
|
+
|
217
|
+
# source://reline//lib/reline/config.rb#26
|
218
|
+
def disable_completion; end
|
219
|
+
|
220
|
+
# source://reline//lib/reline/config.rb#26
|
221
|
+
def disable_completion=(_arg0); end
|
222
|
+
|
223
|
+
# source://reline//lib/reline/config.rb#72
|
224
|
+
def editing_mode; end
|
225
|
+
|
226
|
+
# source://reline//lib/reline/config.rb#76
|
227
|
+
def editing_mode=(val); end
|
228
|
+
|
229
|
+
# @return [Boolean]
|
230
|
+
#
|
231
|
+
# source://reline//lib/reline/config.rb#80
|
232
|
+
def editing_mode_is?(*val); end
|
233
|
+
|
234
|
+
# source://reline//lib/reline/config.rb#26
|
235
|
+
def emacs_mode_string; end
|
236
|
+
|
237
|
+
# source://reline//lib/reline/config.rb#26
|
238
|
+
def emacs_mode_string=(_arg0); end
|
239
|
+
|
240
|
+
# source://reline//lib/reline/config.rb#26
|
241
|
+
def enable_bracketed_paste; end
|
242
|
+
|
243
|
+
# source://reline//lib/reline/config.rb#26
|
244
|
+
def enable_bracketed_paste=(_arg0); end
|
245
|
+
|
246
|
+
# source://reline//lib/reline/config.rb#212
|
247
|
+
def handle_directive(directive, file, no, if_stack); end
|
248
|
+
|
249
|
+
# source://reline//lib/reline/config.rb#26
|
250
|
+
def history_size; end
|
251
|
+
|
252
|
+
# source://reline//lib/reline/config.rb#26
|
253
|
+
def history_size=(_arg0); end
|
254
|
+
|
255
|
+
# source://reline//lib/reline/config.rb#92
|
256
|
+
def inputrc_path; end
|
257
|
+
|
258
|
+
# source://reline//lib/reline/config.rb#26
|
259
|
+
def isearch_terminators; end
|
260
|
+
|
261
|
+
# source://reline//lib/reline/config.rb#26
|
262
|
+
def isearch_terminators=(_arg0); end
|
263
|
+
|
264
|
+
# source://reline//lib/reline/config.rb#142
|
265
|
+
def key_bindings; end
|
266
|
+
|
267
|
+
# source://reline//lib/reline/config.rb#333
|
268
|
+
def key_notation_to_code(notation); end
|
269
|
+
|
270
|
+
# source://reline//lib/reline/config.rb#84
|
271
|
+
def keymap; end
|
272
|
+
|
273
|
+
# source://reline//lib/reline/config.rb#26
|
274
|
+
def keyseq_timeout; end
|
275
|
+
|
276
|
+
# source://reline//lib/reline/config.rb#26
|
277
|
+
def keyseq_timeout=(_arg0); end
|
278
|
+
|
279
|
+
# @return [Boolean]
|
280
|
+
#
|
281
|
+
# source://reline//lib/reline/config.rb#88
|
282
|
+
def loaded?; end
|
283
|
+
|
284
|
+
# source://reline//lib/reline/config.rb#319
|
285
|
+
def parse_key_binding(key, func_name); end
|
286
|
+
|
287
|
+
# source://reline//lib/reline/config.rb#359
|
288
|
+
def parse_keyseq(str); end
|
289
|
+
|
290
|
+
# source://reline//lib/reline/config.rb#122
|
291
|
+
def read(file = T.unsafe(nil)); end
|
292
|
+
|
293
|
+
# source://reline//lib/reline/config.rb#166
|
294
|
+
def read_lines(lines, file = T.unsafe(nil)); end
|
295
|
+
|
296
|
+
# source://reline//lib/reline/config.rb#365
|
297
|
+
def reload; end
|
298
|
+
|
299
|
+
# source://reline//lib/reline/config.rb#35
|
300
|
+
def reset; end
|
301
|
+
|
302
|
+
# source://reline//lib/reline/config.rb#154
|
303
|
+
def reset_oneshot_key_bindings; end
|
304
|
+
|
305
|
+
# source://reline//lib/reline/config.rb#42
|
306
|
+
def reset_variables; end
|
307
|
+
|
308
|
+
# source://reline//lib/reline/config.rb#309
|
309
|
+
def retrieve_string(str); end
|
310
|
+
|
311
|
+
# source://reline//lib/reline/config.rb#26
|
312
|
+
def show_all_if_ambiguous; end
|
313
|
+
|
314
|
+
# source://reline//lib/reline/config.rb#26
|
315
|
+
def show_all_if_ambiguous=(_arg0); end
|
316
|
+
|
317
|
+
# source://reline//lib/reline/config.rb#26
|
318
|
+
def show_mode_in_prompt; end
|
319
|
+
|
320
|
+
# source://reline//lib/reline/config.rb#26
|
321
|
+
def show_mode_in_prompt=(_arg0); end
|
322
|
+
|
323
|
+
# Returns the value of attribute test_mode.
|
324
|
+
#
|
325
|
+
# source://reline//lib/reline/config.rb#2
|
326
|
+
def test_mode; end
|
327
|
+
|
328
|
+
# source://reline//lib/reline/config.rb#26
|
329
|
+
def vi_cmd_mode_string; end
|
330
|
+
|
331
|
+
# source://reline//lib/reline/config.rb#26
|
332
|
+
def vi_cmd_mode_string=(_arg0); end
|
333
|
+
|
334
|
+
# source://reline//lib/reline/config.rb#26
|
335
|
+
def vi_ins_mode_string; end
|
336
|
+
|
337
|
+
# source://reline//lib/reline/config.rb#26
|
338
|
+
def vi_ins_mode_string=(_arg0); end
|
339
|
+
|
340
|
+
private
|
341
|
+
|
342
|
+
# source://reline//lib/reline/config.rb#118
|
343
|
+
def default_inputrc_path; end
|
344
|
+
|
345
|
+
# @return [Boolean]
|
346
|
+
#
|
347
|
+
# source://reline//lib/reline/config.rb#370
|
348
|
+
def seven_bit_encoding?(encoding); end
|
349
|
+
end
|
350
|
+
|
351
|
+
# source://reline//lib/reline/config.rb#6
|
352
|
+
class Reline::Config::InvalidInputrc < ::RuntimeError
|
353
|
+
# Returns the value of attribute file.
|
354
|
+
#
|
355
|
+
# source://reline//lib/reline/config.rb#7
|
356
|
+
def file; end
|
357
|
+
|
358
|
+
# Sets the attribute file
|
359
|
+
#
|
360
|
+
# @param value the value to set the attribute file to.
|
361
|
+
#
|
362
|
+
# source://reline//lib/reline/config.rb#7
|
363
|
+
def file=(_arg0); end
|
364
|
+
|
365
|
+
# Returns the value of attribute lineno.
|
366
|
+
#
|
367
|
+
# source://reline//lib/reline/config.rb#7
|
368
|
+
def lineno; end
|
369
|
+
|
370
|
+
# Sets the attribute lineno
|
371
|
+
#
|
372
|
+
# @param value the value to set the attribute lineno to.
|
373
|
+
#
|
374
|
+
# source://reline//lib/reline/config.rb#7
|
375
|
+
def lineno=(_arg0); end
|
376
|
+
end
|
377
|
+
|
378
|
+
# source://reline//lib/reline/config.rb#4
|
379
|
+
Reline::Config::KEYSEQ_PATTERN = T.let(T.unsafe(nil), Regexp)
|
380
|
+
|
381
|
+
# source://reline//lib/reline/config.rb#10
|
382
|
+
Reline::Config::VARIABLE_NAMES = T.let(T.unsafe(nil), Array)
|
383
|
+
|
384
|
+
# source://reline//lib/reline/config.rb#24
|
385
|
+
Reline::Config::VARIABLE_NAME_SYMBOLS = T.let(T.unsafe(nil), Array)
|
386
|
+
|
387
|
+
# source://reline//lib/reline.rb#40
|
388
|
+
class Reline::Core
|
389
|
+
extend ::Forwardable
|
390
|
+
|
391
|
+
# @return [Core] a new instance of Core
|
392
|
+
# @yield [_self]
|
393
|
+
# @yieldparam _self [Reline::Core] the object that the method was called on
|
394
|
+
#
|
395
|
+
# source://reline//lib/reline.rb#68
|
396
|
+
def initialize; end
|
397
|
+
|
398
|
+
# @raise [ArgumentError]
|
399
|
+
#
|
400
|
+
# source://reline//lib/reline.rb#162
|
401
|
+
def add_dialog_proc(name_sym, p, context = T.unsafe(nil)); end
|
402
|
+
|
403
|
+
# source://reline//lib/reline.rb#409
|
404
|
+
def ambiguous_width; end
|
405
|
+
|
406
|
+
# source://reline//lib/reline.rb#55
|
407
|
+
def auto_indent_proc; end
|
408
|
+
|
409
|
+
# @raise [ArgumentError]
|
410
|
+
#
|
411
|
+
# source://reline//lib/reline.rb#147
|
412
|
+
def auto_indent_proc=(p); end
|
413
|
+
|
414
|
+
# source://reline//lib/reline.rb#55
|
415
|
+
def basic_quote_characters; end
|
416
|
+
|
417
|
+
# source://reline//lib/reline.rb#104
|
418
|
+
def basic_quote_characters=(v); end
|
419
|
+
|
420
|
+
# source://reline//lib/reline.rb#55
|
421
|
+
def basic_word_break_characters; end
|
422
|
+
|
423
|
+
# source://reline//lib/reline.rb#96
|
424
|
+
def basic_word_break_characters=(v); end
|
425
|
+
|
426
|
+
# source://reline//lib/reline.rb#55
|
427
|
+
def completer_quote_characters; end
|
428
|
+
|
429
|
+
# source://reline//lib/reline.rb#108
|
430
|
+
def completer_quote_characters=(v); end
|
431
|
+
|
432
|
+
# source://reline//lib/reline.rb#55
|
433
|
+
def completer_word_break_characters; end
|
434
|
+
|
435
|
+
# source://reline//lib/reline.rb#100
|
436
|
+
def completer_word_break_characters=(v); end
|
437
|
+
|
438
|
+
# source://reline//lib/reline.rb#55
|
439
|
+
def completion_append_character; end
|
440
|
+
|
441
|
+
# source://reline//lib/reline.rb#84
|
442
|
+
def completion_append_character=(val); end
|
443
|
+
|
444
|
+
# source://reline//lib/reline.rb#124
|
445
|
+
def completion_case_fold; end
|
446
|
+
|
447
|
+
# source://reline//lib/reline.rb#120
|
448
|
+
def completion_case_fold=(v); end
|
449
|
+
|
450
|
+
# source://reline//lib/reline.rb#55
|
451
|
+
def completion_proc; end
|
452
|
+
|
453
|
+
# @raise [ArgumentError]
|
454
|
+
#
|
455
|
+
# source://reline//lib/reline.rb#132
|
456
|
+
def completion_proc=(p); end
|
457
|
+
|
458
|
+
# source://reline//lib/reline.rb#128
|
459
|
+
def completion_quote_character; end
|
460
|
+
|
461
|
+
# Returns the value of attribute config.
|
462
|
+
#
|
463
|
+
# source://reline//lib/reline.rb#57
|
464
|
+
def config; end
|
465
|
+
|
466
|
+
# Sets the attribute config
|
467
|
+
#
|
468
|
+
# @param value the value to set the attribute config to.
|
469
|
+
#
|
470
|
+
# source://reline//lib/reline.rb#57
|
471
|
+
def config=(_arg0); end
|
472
|
+
|
473
|
+
# source://reline//lib/reline.rb#172
|
474
|
+
def dialog_proc(name_sym); end
|
475
|
+
|
476
|
+
# source://reline//lib/reline.rb#55
|
477
|
+
def dig_perfect_match_proc; end
|
478
|
+
|
479
|
+
# @raise [ArgumentError]
|
480
|
+
#
|
481
|
+
# source://reline//lib/reline.rb#156
|
482
|
+
def dig_perfect_match_proc=(p); end
|
483
|
+
|
484
|
+
# source://reline//lib/reline.rb#194
|
485
|
+
def emacs_editing_mode; end
|
486
|
+
|
487
|
+
# @return [Boolean]
|
488
|
+
#
|
489
|
+
# source://reline//lib/reline.rb#203
|
490
|
+
def emacs_editing_mode?; end
|
491
|
+
|
492
|
+
# source://reline//lib/reline.rb#80
|
493
|
+
def encoding; end
|
494
|
+
|
495
|
+
# source://reline//lib/reline.rb#55
|
496
|
+
def filename_quote_characters; end
|
497
|
+
|
498
|
+
# source://reline//lib/reline.rb#112
|
499
|
+
def filename_quote_characters=(v); end
|
500
|
+
|
501
|
+
# source://reline//lib/reline.rb#207
|
502
|
+
def get_screen_size; end
|
503
|
+
|
504
|
+
# @raise [TypeError]
|
505
|
+
#
|
506
|
+
# source://reline//lib/reline.rb#176
|
507
|
+
def input=(val); end
|
508
|
+
|
509
|
+
# source://reline//lib/reline.rb#76
|
510
|
+
def io_gate; end
|
511
|
+
|
512
|
+
# Returns the value of attribute key_stroke.
|
513
|
+
#
|
514
|
+
# source://reline//lib/reline.rb#58
|
515
|
+
def key_stroke; end
|
516
|
+
|
517
|
+
# Sets the attribute key_stroke
|
518
|
+
#
|
519
|
+
# @param value the value to set the attribute key_stroke to.
|
520
|
+
#
|
521
|
+
# source://reline//lib/reline.rb#58
|
522
|
+
def key_stroke=(_arg0); end
|
523
|
+
|
524
|
+
# Returns the value of attribute last_incremental_search.
|
525
|
+
#
|
526
|
+
# source://reline//lib/reline.rb#60
|
527
|
+
def last_incremental_search; end
|
528
|
+
|
529
|
+
# Sets the attribute last_incremental_search
|
530
|
+
#
|
531
|
+
# @param value the value to set the attribute last_incremental_search to.
|
532
|
+
#
|
533
|
+
# source://reline//lib/reline.rb#60
|
534
|
+
def last_incremental_search=(_arg0); end
|
535
|
+
|
536
|
+
# Returns the value of attribute line_editor.
|
537
|
+
#
|
538
|
+
# source://reline//lib/reline.rb#59
|
539
|
+
def line_editor; end
|
540
|
+
|
541
|
+
# Sets the attribute line_editor
|
542
|
+
#
|
543
|
+
# @param value the value to set the attribute line_editor to.
|
544
|
+
#
|
545
|
+
# source://reline//lib/reline.rb#59
|
546
|
+
def line_editor=(_arg0); end
|
547
|
+
|
548
|
+
# Returns the value of attribute output.
|
549
|
+
#
|
550
|
+
# source://reline//lib/reline.rb#61
|
551
|
+
def output; end
|
552
|
+
|
553
|
+
# @raise [TypeError]
|
554
|
+
#
|
555
|
+
# source://reline//lib/reline.rb#183
|
556
|
+
def output=(val); end
|
557
|
+
|
558
|
+
# source://reline//lib/reline.rb#55
|
559
|
+
def output_modifier_proc; end
|
560
|
+
|
561
|
+
# @raise [ArgumentError]
|
562
|
+
#
|
563
|
+
# source://reline//lib/reline.rb#137
|
564
|
+
def output_modifier_proc=(p); end
|
565
|
+
|
566
|
+
# source://reline//lib/reline.rb#55
|
567
|
+
def pre_input_hook; end
|
568
|
+
|
569
|
+
# source://reline//lib/reline.rb#152
|
570
|
+
def pre_input_hook=(p); end
|
571
|
+
|
572
|
+
# source://reline//lib/reline.rb#55
|
573
|
+
def prompt_proc; end
|
574
|
+
|
575
|
+
# @raise [ArgumentError]
|
576
|
+
#
|
577
|
+
# source://reline//lib/reline.rb#142
|
578
|
+
def prompt_proc=(p); end
|
579
|
+
|
580
|
+
# source://reline//lib/reline.rb#276
|
581
|
+
def readline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil)); end
|
582
|
+
|
583
|
+
# source://reline//lib/reline.rb#250
|
584
|
+
def readmultiline(prompt = T.unsafe(nil), add_hist = T.unsafe(nil), &confirm_multiline_termination); end
|
585
|
+
|
586
|
+
# source://reline//lib/reline.rb#55
|
587
|
+
def special_prefixes; end
|
588
|
+
|
589
|
+
# source://reline//lib/reline.rb#116
|
590
|
+
def special_prefixes=(v); end
|
591
|
+
|
592
|
+
# source://reline//lib/reline.rb#189
|
593
|
+
def vi_editing_mode; end
|
594
|
+
|
595
|
+
# @return [Boolean]
|
596
|
+
#
|
597
|
+
# source://reline//lib/reline.rb#199
|
598
|
+
def vi_editing_mode?; end
|
599
|
+
|
600
|
+
private
|
601
|
+
|
602
|
+
# source://reline//lib/reline.rb#293
|
603
|
+
def inner_readline(prompt, add_hist, multiline, &confirm_multiline_termination); end
|
604
|
+
|
605
|
+
# source://reline//lib/reline.rb#414
|
606
|
+
def may_req_ambiguous_char_width; end
|
607
|
+
|
608
|
+
# GNU Readline watis for "keyseq-timeout" milliseconds when the input is
|
609
|
+
# ambiguous whether it is matching or matched.
|
610
|
+
# If the next character does not arrive within the specified timeout, input
|
611
|
+
# is considered as matched.
|
612
|
+
# `ESC` is ambiguous because it can be a standalone ESC (matched) or part of
|
613
|
+
# `ESC char` or part of CSI sequence (matching).
|
614
|
+
#
|
615
|
+
# source://reline//lib/reline.rb#379
|
616
|
+
def read_io(keyseq_timeout, &block); end
|
617
|
+
end
|
618
|
+
|
619
|
+
# source://reline//lib/reline.rb#41
|
620
|
+
Reline::Core::ATTR_READER_NAMES = T.let(T.unsafe(nil), Array)
|
621
|
+
|
622
|
+
# source://reline//lib/reline.rb#248
|
623
|
+
Reline::DEFAULT_DIALOG_CONTEXT = T.let(T.unsafe(nil), Array)
|
624
|
+
|
625
|
+
# source://reline//lib/reline.rb#211
|
626
|
+
Reline::DEFAULT_DIALOG_PROC_AUTOCOMPLETE = T.let(T.unsafe(nil), Proc)
|
627
|
+
|
628
|
+
# source://reline//lib/reline/io/dumb.rb#3
|
629
|
+
class Reline::Dumb < ::Reline::IO
|
630
|
+
# @return [Dumb] a new instance of Dumb
|
631
|
+
#
|
632
|
+
# source://reline//lib/reline/io/dumb.rb#8
|
633
|
+
def initialize(encoding: T.unsafe(nil)); end
|
634
|
+
|
635
|
+
# source://reline//lib/reline/io/dumb.rb#49
|
636
|
+
def buffered_output; end
|
637
|
+
|
638
|
+
# source://reline//lib/reline/io/dumb.rb#101
|
639
|
+
def clear_screen; end
|
640
|
+
|
641
|
+
# source://reline//lib/reline/io/dumb.rb#76
|
642
|
+
def cursor_pos; end
|
643
|
+
|
644
|
+
# source://reline//lib/reline/io/dumb.rb#118
|
645
|
+
def deprep(otio); end
|
646
|
+
|
647
|
+
# @return [Boolean]
|
648
|
+
#
|
649
|
+
# source://reline//lib/reline/io/dumb.rb#17
|
650
|
+
def dumb?; end
|
651
|
+
|
652
|
+
# source://reline//lib/reline/io/dumb.rb#21
|
653
|
+
def encoding; end
|
654
|
+
|
655
|
+
# source://reline//lib/reline/io/dumb.rb#95
|
656
|
+
def erase_after_cursor; end
|
657
|
+
|
658
|
+
# source://reline//lib/reline/io/dumb.rb#72
|
659
|
+
def get_screen_size; end
|
660
|
+
|
661
|
+
# source://reline//lib/reline/io/dumb.rb#53
|
662
|
+
def getc(_timeout_second); end
|
663
|
+
|
664
|
+
# source://reline//lib/reline/io/dumb.rb#80
|
665
|
+
def hide_cursor; end
|
666
|
+
|
667
|
+
# @return [Boolean]
|
668
|
+
#
|
669
|
+
# source://reline//lib/reline/io/dumb.rb#111
|
670
|
+
def in_pasting?; end
|
671
|
+
|
672
|
+
# source://reline//lib/reline/io/dumb.rb#37
|
673
|
+
def input=(val); end
|
674
|
+
|
675
|
+
# source://reline//lib/reline/io/dumb.rb#86
|
676
|
+
def move_cursor_column(val); end
|
677
|
+
|
678
|
+
# source://reline//lib/reline/io/dumb.rb#92
|
679
|
+
def move_cursor_down(val); end
|
680
|
+
|
681
|
+
# source://reline//lib/reline/io/dumb.rb#89
|
682
|
+
def move_cursor_up(val); end
|
683
|
+
|
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
|
692
|
+
def prep; end
|
693
|
+
|
694
|
+
# source://reline//lib/reline/io/dumb.rb#98
|
695
|
+
def scroll_down(val); end
|
696
|
+
|
697
|
+
# source://reline//lib/reline/io/dumb.rb#34
|
698
|
+
def set_default_key_bindings(_); end
|
699
|
+
|
700
|
+
# source://reline//lib/reline/io/dumb.rb#104
|
701
|
+
def set_screen_size(rows, columns); end
|
702
|
+
|
703
|
+
# source://reline//lib/reline/io/dumb.rb#108
|
704
|
+
def set_winch_handler(&handler); end
|
705
|
+
|
706
|
+
# source://reline//lib/reline/io/dumb.rb#83
|
707
|
+
def show_cursor; end
|
708
|
+
|
709
|
+
# source://reline//lib/reline/io/dumb.rb#68
|
710
|
+
def ungetc(c); end
|
711
|
+
|
712
|
+
# source://reline//lib/reline/io/dumb.rb#41
|
713
|
+
def with_raw_input; end
|
714
|
+
|
715
|
+
# source://reline//lib/reline/io/dumb.rb#45
|
716
|
+
def write(string); end
|
717
|
+
end
|
718
|
+
|
719
|
+
# Do not send color reset sequence
|
720
|
+
#
|
721
|
+
# source://reline//lib/reline/io/dumb.rb#4
|
722
|
+
Reline::Dumb::RESET_COLOR = T.let(T.unsafe(nil), String)
|
723
|
+
|
724
|
+
# NOTE: For making compatible with the rb-readline gem
|
725
|
+
#
|
726
|
+
# source://reline//lib/reline.rb#15
|
727
|
+
Reline::FILENAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
|
728
|
+
|
729
|
+
# source://reline//lib/reline/face.rb#3
|
730
|
+
class Reline::Face
|
731
|
+
class << self
|
732
|
+
# source://reline//lib/reline/face.rb#169
|
733
|
+
def [](name); end
|
734
|
+
|
735
|
+
# source://reline//lib/reline/face.rb#173
|
736
|
+
def config(name, &block); end
|
737
|
+
|
738
|
+
# source://reline//lib/reline/face.rb#178
|
739
|
+
def configs; end
|
740
|
+
|
741
|
+
# source://reline//lib/reline/face.rb#164
|
742
|
+
def force_truecolor; end
|
743
|
+
|
744
|
+
# source://reline//lib/reline/face.rb#182
|
745
|
+
def load_initial_configs; end
|
746
|
+
|
747
|
+
# source://reline//lib/reline/face.rb#195
|
748
|
+
def reset_to_initial_configs; end
|
749
|
+
|
750
|
+
# @return [Boolean]
|
751
|
+
#
|
752
|
+
# source://reline//lib/reline/face.rb#160
|
753
|
+
def truecolor?; end
|
754
|
+
end
|
755
|
+
end
|
756
|
+
|
757
|
+
# source://reline//lib/reline/face.rb#58
|
758
|
+
class Reline::Face::Config
|
759
|
+
# @return [Config] a new instance of Config
|
760
|
+
#
|
761
|
+
# source://reline//lib/reline/face.rb#62
|
762
|
+
def initialize(name, &block); end
|
763
|
+
|
764
|
+
# source://reline//lib/reline/face.rb#84
|
765
|
+
def [](name); end
|
766
|
+
|
767
|
+
# source://reline//lib/reline/face.rb#72
|
768
|
+
def define(name, **values); end
|
769
|
+
|
770
|
+
# Returns the value of attribute definition.
|
771
|
+
#
|
772
|
+
# source://reline//lib/reline/face.rb#70
|
773
|
+
def definition; end
|
774
|
+
|
775
|
+
# source://reline//lib/reline/face.rb#77
|
776
|
+
def reconfigure; end
|
777
|
+
|
778
|
+
private
|
779
|
+
|
780
|
+
# source://reline//lib/reline/face.rb#126
|
781
|
+
def format_to_sgr(ordered_values); end
|
782
|
+
|
783
|
+
# @return [Boolean]
|
784
|
+
#
|
785
|
+
# source://reline//lib/reline/face.rb#153
|
786
|
+
def rgb_expression?(color); end
|
787
|
+
|
788
|
+
# source://reline//lib/reline/face.rb#90
|
789
|
+
def sgr_rgb(key, value); end
|
790
|
+
|
791
|
+
# source://reline//lib/reline/face.rb#108
|
792
|
+
def sgr_rgb_256color(key, value); end
|
793
|
+
|
794
|
+
# source://reline//lib/reline/face.rb#99
|
795
|
+
def sgr_rgb_truecolor(key, value); end
|
796
|
+
end
|
797
|
+
|
798
|
+
# source://reline//lib/reline/face.rb#59
|
799
|
+
Reline::Face::Config::ESSENTIAL_DEFINE_NAMES = T.let(T.unsafe(nil), Array)
|
800
|
+
|
801
|
+
# source://reline//lib/reline/face.rb#60
|
802
|
+
Reline::Face::Config::RESET_SGR = T.let(T.unsafe(nil), String)
|
803
|
+
|
804
|
+
# source://reline//lib/reline/face.rb#4
|
805
|
+
Reline::Face::SGR_PARAMETERS = T.let(T.unsafe(nil), Hash)
|
806
|
+
|
807
|
+
# source://reline//lib/reline.rb#519
|
808
|
+
Reline::HISTORY = T.let(T.unsafe(nil), Reline::History)
|
809
|
+
|
810
|
+
# source://reline//lib/reline/history.rb#1
|
811
|
+
class Reline::History < ::Array
|
812
|
+
# @return [History] a new instance of History
|
813
|
+
#
|
814
|
+
# source://reline//lib/reline/history.rb#2
|
815
|
+
def initialize(config); end
|
816
|
+
|
817
|
+
# source://reline//lib/reline/history.rb#52
|
818
|
+
def <<(val); end
|
819
|
+
|
820
|
+
# source://reline//lib/reline/history.rb#15
|
821
|
+
def [](index); end
|
822
|
+
|
823
|
+
# source://reline//lib/reline/history.rb#20
|
824
|
+
def []=(index, val); end
|
825
|
+
|
826
|
+
# source://reline//lib/reline/history.rb#25
|
827
|
+
def concat(*val); end
|
828
|
+
|
829
|
+
# source://reline//lib/reline/history.rb#10
|
830
|
+
def delete_at(index); end
|
831
|
+
|
832
|
+
# source://reline//lib/reline/history.rb#31
|
833
|
+
def push(*val); end
|
834
|
+
|
835
|
+
# source://reline//lib/reline/history.rb#6
|
836
|
+
def to_s; end
|
837
|
+
|
838
|
+
private
|
839
|
+
|
840
|
+
# @raise [IndexError]
|
841
|
+
#
|
842
|
+
# source://reline//lib/reline/history.rb#62
|
843
|
+
def check_index(index); end
|
844
|
+
end
|
845
|
+
|
846
|
+
# source://reline//lib/reline/io.rb#3
|
847
|
+
class Reline::IO
|
848
|
+
# @return [Boolean]
|
849
|
+
#
|
850
|
+
# source://reline//lib/reline/io.rb#27
|
851
|
+
def dumb?; end
|
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
|
+
|
858
|
+
# source://reline//lib/reline/io.rb#35
|
859
|
+
def reset_color_sequence; end
|
860
|
+
|
861
|
+
# @return [Boolean]
|
862
|
+
#
|
863
|
+
# source://reline//lib/reline/io.rb#31
|
864
|
+
def win?; end
|
865
|
+
|
866
|
+
class << self
|
867
|
+
# source://reline//lib/reline/io.rb#6
|
868
|
+
def decide_io_gate; end
|
869
|
+
end
|
870
|
+
end
|
871
|
+
|
872
|
+
# source://reline//lib/reline.rb#512
|
873
|
+
Reline::IOGate = T.let(T.unsafe(nil), Reline::ANSI)
|
874
|
+
|
875
|
+
# EOF key: { char: nil, method_symbol: nil }
|
876
|
+
# Other key: { char: String, method_symbol: Symbol }
|
877
|
+
#
|
878
|
+
# source://reline//lib/reline.rb#22
|
879
|
+
class Reline::Key < ::Struct
|
880
|
+
# Returns the value of attribute char
|
881
|
+
#
|
882
|
+
# @return [Object] the current value of char
|
883
|
+
def char; end
|
884
|
+
|
885
|
+
# Sets the attribute char
|
886
|
+
#
|
887
|
+
# @param value [Object] the value to set the attribute char to.
|
888
|
+
# @return [Object] the newly set value
|
889
|
+
def char=(_); end
|
890
|
+
|
891
|
+
# For dialog_proc `key.match?(dialog.name)`
|
892
|
+
#
|
893
|
+
# @return [Boolean]
|
894
|
+
#
|
895
|
+
# source://reline//lib/reline.rb#24
|
896
|
+
def match?(sym); end
|
897
|
+
|
898
|
+
# Returns the value of attribute method_symbol
|
899
|
+
#
|
900
|
+
# @return [Object] the current value of method_symbol
|
901
|
+
def method_symbol; end
|
902
|
+
|
903
|
+
# Sets the attribute method_symbol
|
904
|
+
#
|
905
|
+
# @param value [Object] the value to set the attribute method_symbol to.
|
906
|
+
# @return [Object] the newly set value
|
907
|
+
def method_symbol=(_); end
|
908
|
+
|
909
|
+
# Returns the value of attribute unused_boolean
|
910
|
+
#
|
911
|
+
# @return [Object] the current value of unused_boolean
|
912
|
+
def unused_boolean; end
|
913
|
+
|
914
|
+
# Sets the attribute unused_boolean
|
915
|
+
#
|
916
|
+
# @param value [Object] the value to set the attribute unused_boolean to.
|
917
|
+
# @return [Object] the newly set value
|
918
|
+
def unused_boolean=(_); end
|
919
|
+
|
920
|
+
class << self
|
921
|
+
def [](*_arg0); end
|
922
|
+
def inspect; end
|
923
|
+
def keyword_init?; end
|
924
|
+
def members; end
|
925
|
+
def new(*_arg0); end
|
926
|
+
end
|
927
|
+
end
|
928
|
+
|
929
|
+
# source://reline//lib/reline/key_actor/base.rb#1
|
930
|
+
class Reline::KeyActor::Base
|
931
|
+
# @return [Base] a new instance of Base
|
932
|
+
#
|
933
|
+
# source://reline//lib/reline/key_actor/base.rb#2
|
934
|
+
def initialize(mappings = T.unsafe(nil)); end
|
935
|
+
|
936
|
+
# source://reline//lib/reline/key_actor/base.rb#18
|
937
|
+
def add(key, func); end
|
938
|
+
|
939
|
+
# source://reline//lib/reline/key_actor/base.rb#8
|
940
|
+
def add_mappings(mappings); end
|
941
|
+
|
942
|
+
# source://reline//lib/reline/key_actor/base.rb#33
|
943
|
+
def clear; end
|
944
|
+
|
945
|
+
# source://reline//lib/reline/key_actor/base.rb#29
|
946
|
+
def get(key); end
|
947
|
+
|
948
|
+
# @return [Boolean]
|
949
|
+
#
|
950
|
+
# source://reline//lib/reline/key_actor/base.rb#25
|
951
|
+
def matching?(key); end
|
952
|
+
end
|
953
|
+
|
954
|
+
# source://reline//lib/reline/key_actor/composite.rb#1
|
955
|
+
class Reline::KeyActor::Composite
|
956
|
+
# @return [Composite] a new instance of Composite
|
957
|
+
#
|
958
|
+
# source://reline//lib/reline/key_actor/composite.rb#2
|
959
|
+
def initialize(key_actors); end
|
960
|
+
|
961
|
+
# source://reline//lib/reline/key_actor/composite.rb#10
|
962
|
+
def get(key); end
|
963
|
+
|
964
|
+
# @return [Boolean]
|
965
|
+
#
|
966
|
+
# source://reline//lib/reline/key_actor/composite.rb#6
|
967
|
+
def matching?(key); end
|
968
|
+
end
|
969
|
+
|
970
|
+
# source://reline//lib/reline/key_actor/emacs.rb#2
|
971
|
+
Reline::KeyActor::EMACS_MAPPING = T.let(T.unsafe(nil), Array)
|
972
|
+
|
973
|
+
# source://reline//lib/reline/key_actor/vi_command.rb#2
|
974
|
+
Reline::KeyActor::VI_COMMAND_MAPPING = T.let(T.unsafe(nil), Array)
|
975
|
+
|
976
|
+
# source://reline//lib/reline/key_actor/vi_insert.rb#2
|
977
|
+
Reline::KeyActor::VI_INSERT_MAPPING = T.let(T.unsafe(nil), Array)
|
978
|
+
|
979
|
+
# source://reline//lib/reline/key_stroke.rb#1
|
980
|
+
class Reline::KeyStroke
|
981
|
+
# @return [KeyStroke] a new instance of KeyStroke
|
982
|
+
#
|
983
|
+
# source://reline//lib/reline/key_stroke.rb#8
|
984
|
+
def initialize(config, encoding); end
|
985
|
+
|
986
|
+
# Returns the value of attribute encoding.
|
987
|
+
#
|
988
|
+
# source://reline//lib/reline/key_stroke.rb#6
|
989
|
+
def encoding; end
|
990
|
+
|
991
|
+
# Sets the attribute encoding
|
992
|
+
#
|
993
|
+
# @param value the value to set the attribute encoding to.
|
994
|
+
#
|
995
|
+
# source://reline//lib/reline/key_stroke.rb#6
|
996
|
+
def encoding=(_arg0); end
|
997
|
+
|
998
|
+
# source://reline//lib/reline/key_stroke.rb#44
|
999
|
+
def expand(input); end
|
1000
|
+
|
1001
|
+
# source://reline//lib/reline/key_stroke.rb#22
|
1002
|
+
def match_status(input); end
|
1003
|
+
|
1004
|
+
private
|
1005
|
+
|
1006
|
+
# source://reline//lib/reline/key_stroke.rb#116
|
1007
|
+
def key_mapping; end
|
1008
|
+
|
1009
|
+
# returns match status of CSI/SS3 sequence and matched length
|
1010
|
+
#
|
1011
|
+
# source://reline//lib/reline/key_stroke.rb#80
|
1012
|
+
def match_unknown_escape_sequence(input, vi_mode: T.unsafe(nil)); end
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# source://reline//lib/reline/key_stroke.rb#4
|
1016
|
+
Reline::KeyStroke::CSI_INTERMEDIATE_BYTES_RANGE = T.let(T.unsafe(nil), Range)
|
1017
|
+
|
1018
|
+
# source://reline//lib/reline/key_stroke.rb#3
|
1019
|
+
Reline::KeyStroke::CSI_PARAMETER_BYTES_RANGE = T.let(T.unsafe(nil), Range)
|
1020
|
+
|
1021
|
+
# source://reline//lib/reline/key_stroke.rb#2
|
1022
|
+
Reline::KeyStroke::ESC_BYTE = T.let(T.unsafe(nil), Integer)
|
1023
|
+
|
1024
|
+
# Input partially matches to a key sequence
|
1025
|
+
#
|
1026
|
+
# source://reline//lib/reline/key_stroke.rb#16
|
1027
|
+
Reline::KeyStroke::MATCHED = T.let(T.unsafe(nil), Symbol)
|
1028
|
+
|
1029
|
+
# Input exactly matches to a key sequence
|
1030
|
+
#
|
1031
|
+
# source://reline//lib/reline/key_stroke.rb#14
|
1032
|
+
Reline::KeyStroke::MATCHING = T.let(T.unsafe(nil), Symbol)
|
1033
|
+
|
1034
|
+
# Input matches to a key sequence and the key sequence is a prefix of another key sequence
|
1035
|
+
#
|
1036
|
+
# source://reline//lib/reline/key_stroke.rb#18
|
1037
|
+
Reline::KeyStroke::MATCHING_MATCHED = T.let(T.unsafe(nil), Symbol)
|
1038
|
+
|
1039
|
+
# Input does not match to any key sequence
|
1040
|
+
#
|
1041
|
+
# source://reline//lib/reline/key_stroke.rb#20
|
1042
|
+
Reline::KeyStroke::UNMATCHED = T.let(T.unsafe(nil), Symbol)
|
1043
|
+
|
1044
|
+
# source://reline//lib/reline/kill_ring.rb#1
|
1045
|
+
class Reline::KillRing
|
1046
|
+
include ::Enumerable
|
1047
|
+
|
1048
|
+
# @return [KillRing] a new instance of KillRing
|
1049
|
+
#
|
1050
|
+
# source://reline//lib/reline/kill_ring.rb#61
|
1051
|
+
def initialize(max = T.unsafe(nil)); end
|
1052
|
+
|
1053
|
+
# source://reline//lib/reline/kill_ring.rb#68
|
1054
|
+
def append(string, before_p = T.unsafe(nil)); end
|
1055
|
+
|
1056
|
+
# source://reline//lib/reline/kill_ring.rb#116
|
1057
|
+
def each; end
|
1058
|
+
|
1059
|
+
# source://reline//lib/reline/kill_ring.rb#83
|
1060
|
+
def process; end
|
1061
|
+
|
1062
|
+
# source://reline//lib/reline/kill_ring.rb#96
|
1063
|
+
def yank; end
|
1064
|
+
|
1065
|
+
# source://reline//lib/reline/kill_ring.rb#106
|
1066
|
+
def yank_pop; end
|
1067
|
+
end
|
1068
|
+
|
1069
|
+
# source://reline//lib/reline/kill_ring.rb#21
|
1070
|
+
class Reline::KillRing::RingBuffer
|
1071
|
+
# @return [RingBuffer] a new instance of RingBuffer
|
1072
|
+
#
|
1073
|
+
# source://reline//lib/reline/kill_ring.rb#25
|
1074
|
+
def initialize(max = T.unsafe(nil)); end
|
1075
|
+
|
1076
|
+
# source://reline//lib/reline/kill_ring.rb#31
|
1077
|
+
def <<(point); end
|
1078
|
+
|
1079
|
+
# @return [Boolean]
|
1080
|
+
#
|
1081
|
+
# source://reline//lib/reline/kill_ring.rb#56
|
1082
|
+
def empty?; end
|
1083
|
+
|
1084
|
+
# Returns the value of attribute head.
|
1085
|
+
#
|
1086
|
+
# source://reline//lib/reline/kill_ring.rb#23
|
1087
|
+
def head; end
|
1088
|
+
|
1089
|
+
# Returns the value of attribute size.
|
1090
|
+
#
|
1091
|
+
# source://reline//lib/reline/kill_ring.rb#22
|
1092
|
+
def size; end
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
# source://reline//lib/reline/kill_ring.rb#11
|
1096
|
+
class Reline::KillRing::RingPoint < ::Struct
|
1097
|
+
# @return [RingPoint] a new instance of RingPoint
|
1098
|
+
#
|
1099
|
+
# source://reline//lib/reline/kill_ring.rb#12
|
1100
|
+
def initialize(str); end
|
1101
|
+
|
1102
|
+
# source://reline//lib/reline/kill_ring.rb#16
|
1103
|
+
def ==(other); end
|
1104
|
+
end
|
1105
|
+
|
1106
|
+
# source://reline//lib/reline/kill_ring.rb#6
|
1107
|
+
Reline::KillRing::State::CONTINUED = T.let(T.unsafe(nil), Symbol)
|
1108
|
+
|
1109
|
+
# source://reline//lib/reline/kill_ring.rb#5
|
1110
|
+
Reline::KillRing::State::FRESH = T.let(T.unsafe(nil), Symbol)
|
1111
|
+
|
1112
|
+
# source://reline//lib/reline/kill_ring.rb#7
|
1113
|
+
Reline::KillRing::State::PROCESSED = T.let(T.unsafe(nil), Symbol)
|
1114
|
+
|
1115
|
+
# source://reline//lib/reline/kill_ring.rb#8
|
1116
|
+
Reline::KillRing::State::YANK = T.let(T.unsafe(nil), Symbol)
|
1117
|
+
|
1118
|
+
# source://reline//lib/reline/line_editor.rb#6
|
1119
|
+
class Reline::LineEditor
|
1120
|
+
# @return [LineEditor] a new instance of LineEditor
|
1121
|
+
#
|
1122
|
+
# source://reline//lib/reline/line_editor.rb#73
|
1123
|
+
def initialize(config); end
|
1124
|
+
|
1125
|
+
# source://reline//lib/reline/line_editor.rb#692
|
1126
|
+
def add_dialog_proc(name, p, context = T.unsafe(nil)); end
|
1127
|
+
|
1128
|
+
# Returns the value of attribute auto_indent_proc.
|
1129
|
+
#
|
1130
|
+
# source://reline//lib/reline/line_editor.rb#14
|
1131
|
+
def auto_indent_proc; end
|
1132
|
+
|
1133
|
+
# Sets the attribute auto_indent_proc
|
1134
|
+
#
|
1135
|
+
# @param value the value to set the attribute auto_indent_proc to.
|
1136
|
+
#
|
1137
|
+
# source://reline//lib/reline/line_editor.rb#14
|
1138
|
+
def auto_indent_proc=(_arg0); end
|
1139
|
+
|
1140
|
+
# TODO: Use "private alias_method" idiom after drop Ruby 2.5.
|
1141
|
+
#
|
1142
|
+
# source://reline//lib/reline/line_editor.rb#8
|
1143
|
+
def byte_pointer; end
|
1144
|
+
|
1145
|
+
# source://reline//lib/reline/line_editor.rb#1282
|
1146
|
+
def byte_pointer=(val); end
|
1147
|
+
|
1148
|
+
# source://reline//lib/reline/line_editor.rb#398
|
1149
|
+
def calculate_overlay_levels(overlay_levels); end
|
1150
|
+
|
1151
|
+
# source://reline//lib/reline/line_editor.rb#1122
|
1152
|
+
def call_completion_proc(pre, target, post, quote); end
|
1153
|
+
|
1154
|
+
# source://reline//lib/reline/line_editor.rb#1129
|
1155
|
+
def call_completion_proc_with_checking_args(pre, target, post); end
|
1156
|
+
|
1157
|
+
# source://reline//lib/reline/line_editor.rb#446
|
1158
|
+
def clear_dialogs; end
|
1159
|
+
|
1160
|
+
# Returns the value of attribute completion_append_character.
|
1161
|
+
#
|
1162
|
+
# source://reline//lib/reline/line_editor.rb#11
|
1163
|
+
def completion_append_character; end
|
1164
|
+
|
1165
|
+
# Sets the attribute completion_append_character
|
1166
|
+
#
|
1167
|
+
# @param value the value to set the attribute completion_append_character to.
|
1168
|
+
#
|
1169
|
+
# source://reline//lib/reline/line_editor.rb#11
|
1170
|
+
def completion_append_character=(_arg0); end
|
1171
|
+
|
1172
|
+
# Returns the value of attribute completion_proc.
|
1173
|
+
#
|
1174
|
+
# source://reline//lib/reline/line_editor.rb#10
|
1175
|
+
def completion_proc; end
|
1176
|
+
|
1177
|
+
# Sets the attribute completion_proc
|
1178
|
+
#
|
1179
|
+
# @param value the value to set the attribute completion_proc to.
|
1180
|
+
#
|
1181
|
+
# source://reline//lib/reline/line_editor.rb#10
|
1182
|
+
def completion_proc=(_arg0); end
|
1183
|
+
|
1184
|
+
# source://reline//lib/reline/line_editor.rb#1223
|
1185
|
+
def confirm_multiline_termination; end
|
1186
|
+
|
1187
|
+
# Returns the value of attribute confirm_multiline_termination_proc.
|
1188
|
+
#
|
1189
|
+
# source://reline//lib/reline/line_editor.rb#9
|
1190
|
+
def confirm_multiline_termination_proc; end
|
1191
|
+
|
1192
|
+
# Sets the attribute confirm_multiline_termination_proc
|
1193
|
+
#
|
1194
|
+
# @param value the value to set the attribute confirm_multiline_termination_proc to.
|
1195
|
+
#
|
1196
|
+
# source://reline//lib/reline/line_editor.rb#9
|
1197
|
+
def confirm_multiline_termination_proc=(_arg0); end
|
1198
|
+
|
1199
|
+
# source://reline//lib/reline/line_editor.rb#304
|
1200
|
+
def current_byte_pointer_cursor; end
|
1201
|
+
|
1202
|
+
# source://reline//lib/reline/line_editor.rb#1172
|
1203
|
+
def current_line; end
|
1204
|
+
|
1205
|
+
# source://reline//lib/reline/line_editor.rb#1248
|
1206
|
+
def delete_text(start = T.unsafe(nil), length = T.unsafe(nil)); end
|
1207
|
+
|
1208
|
+
# source://reline//lib/reline/line_editor.rb#874
|
1209
|
+
def dialog_proc_scope_completion_journey_data; end
|
1210
|
+
|
1211
|
+
# Returns the value of attribute dig_perfect_match_proc.
|
1212
|
+
#
|
1213
|
+
# source://reline//lib/reline/line_editor.rb#15
|
1214
|
+
def dig_perfect_match_proc; end
|
1215
|
+
|
1216
|
+
# Sets the attribute dig_perfect_match_proc
|
1217
|
+
#
|
1218
|
+
# @param value the value to set the attribute dig_perfect_match_proc to.
|
1219
|
+
#
|
1220
|
+
# source://reline//lib/reline/line_editor.rb#15
|
1221
|
+
def dig_perfect_match_proc=(_arg0); end
|
1222
|
+
|
1223
|
+
# source://reline//lib/reline/line_editor.rb#801
|
1224
|
+
def editing_mode; end
|
1225
|
+
|
1226
|
+
# source://reline//lib/reline/line_editor.rb#84
|
1227
|
+
def encoding; end
|
1228
|
+
|
1229
|
+
# @return [Boolean]
|
1230
|
+
#
|
1231
|
+
# source://reline//lib/reline/line_editor.rb#220
|
1232
|
+
def eof?; end
|
1233
|
+
|
1234
|
+
# source://reline//lib/reline/line_editor.rb#216
|
1235
|
+
def finalize; end
|
1236
|
+
|
1237
|
+
# source://reline//lib/reline/line_editor.rb#1302
|
1238
|
+
def finish; end
|
1239
|
+
|
1240
|
+
# @return [Boolean]
|
1241
|
+
#
|
1242
|
+
# source://reline//lib/reline/line_editor.rb#1298
|
1243
|
+
def finished?; end
|
1244
|
+
|
1245
|
+
# source://reline//lib/reline/line_editor.rb#168
|
1246
|
+
def handle_signal; end
|
1247
|
+
|
1248
|
+
# source://reline//lib/reline/line_editor.rb#1043
|
1249
|
+
def input_key(key); end
|
1250
|
+
|
1251
|
+
# source://reline//lib/reline/line_editor.rb#1228
|
1252
|
+
def insert_multiline_text(text); end
|
1253
|
+
|
1254
|
+
# source://reline//lib/reline/line_editor.rb#1238
|
1255
|
+
def insert_text(text); end
|
1256
|
+
|
1257
|
+
# source://reline//lib/reline/line_editor.rb#80
|
1258
|
+
def io_gate; end
|
1259
|
+
|
1260
|
+
# source://reline//lib/reline/line_editor.rb#1168
|
1261
|
+
def line; end
|
1262
|
+
|
1263
|
+
# source://reline//lib/reline/line_editor.rb#351
|
1264
|
+
def modified_lines; end
|
1265
|
+
|
1266
|
+
# source://reline//lib/reline/line_editor.rb#273
|
1267
|
+
def multiline_off; end
|
1268
|
+
|
1269
|
+
# source://reline//lib/reline/line_editor.rb#269
|
1270
|
+
def multiline_on; end
|
1271
|
+
|
1272
|
+
# Returns the value of attribute output_modifier_proc.
|
1273
|
+
#
|
1274
|
+
# source://reline//lib/reline/line_editor.rb#12
|
1275
|
+
def output_modifier_proc; end
|
1276
|
+
|
1277
|
+
# Sets the attribute output_modifier_proc
|
1278
|
+
#
|
1279
|
+
# @param value the value to set the attribute output_modifier_proc to.
|
1280
|
+
#
|
1281
|
+
# source://reline//lib/reline/line_editor.rb#12
|
1282
|
+
def output_modifier_proc=(_arg0); end
|
1283
|
+
|
1284
|
+
# source://reline//lib/reline/line_editor.rb#473
|
1285
|
+
def print_nomultiline_prompt; end
|
1286
|
+
|
1287
|
+
# source://reline//lib/reline/line_editor.rb#357
|
1288
|
+
def prompt_list; end
|
1289
|
+
|
1290
|
+
# Returns the value of attribute prompt_proc.
|
1291
|
+
#
|
1292
|
+
# source://reline//lib/reline/line_editor.rb#13
|
1293
|
+
def prompt_proc; end
|
1294
|
+
|
1295
|
+
# Sets the attribute prompt_proc
|
1296
|
+
#
|
1297
|
+
# @param value the value to set the attribute prompt_proc to.
|
1298
|
+
#
|
1299
|
+
# source://reline//lib/reline/line_editor.rb#13
|
1300
|
+
def prompt_proc=(_arg0); end
|
1301
|
+
|
1302
|
+
# source://reline//lib/reline/line_editor.rb#1093
|
1303
|
+
def push_input_lines; end
|
1304
|
+
|
1305
|
+
# source://reline//lib/reline/line_editor.rb#481
|
1306
|
+
def render; end
|
1307
|
+
|
1308
|
+
# source://reline//lib/reline/line_editor.rb#461
|
1309
|
+
def render_finished; end
|
1310
|
+
|
1311
|
+
# source://reline//lib/reline/line_editor.rb#406
|
1312
|
+
def render_line_differential(old_items, new_items); end
|
1313
|
+
|
1314
|
+
# source://reline//lib/reline/line_editor.rb#564
|
1315
|
+
def rerender; end
|
1316
|
+
|
1317
|
+
# source://reline//lib/reline/line_editor.rb#141
|
1318
|
+
def reset(prompt = T.unsafe(nil)); end
|
1319
|
+
|
1320
|
+
# source://reline//lib/reline/line_editor.rb#261
|
1321
|
+
def reset_line; end
|
1322
|
+
|
1323
|
+
# source://reline//lib/reline/line_editor.rb#224
|
1324
|
+
def reset_variables(prompt = T.unsafe(nil)); end
|
1325
|
+
|
1326
|
+
# source://reline//lib/reline/line_editor.rb#560
|
1327
|
+
def rest_height(wrapped_cursor_y); end
|
1328
|
+
|
1329
|
+
# source://reline//lib/reline/line_editor.rb#1187
|
1330
|
+
def retrieve_completion_block; end
|
1331
|
+
|
1332
|
+
# source://reline//lib/reline/line_editor.rb#1089
|
1333
|
+
def save_old_buffer; end
|
1334
|
+
|
1335
|
+
# source://reline//lib/reline/line_editor.rb#363
|
1336
|
+
def screen_height; end
|
1337
|
+
|
1338
|
+
# source://reline//lib/reline/line_editor.rb#371
|
1339
|
+
def screen_scroll_top; end
|
1340
|
+
|
1341
|
+
# source://reline//lib/reline/line_editor.rb#367
|
1342
|
+
def screen_width; end
|
1343
|
+
|
1344
|
+
# source://reline//lib/reline/line_editor.rb#1112
|
1345
|
+
def scroll_into_view; end
|
1346
|
+
|
1347
|
+
# source://reline//lib/reline/line_editor.rb#1176
|
1348
|
+
def set_current_line(line, byte_pointer = T.unsafe(nil)); end
|
1349
|
+
|
1350
|
+
# source://reline//lib/reline/line_editor.rb#88
|
1351
|
+
def set_pasting_state(in_pasting); end
|
1352
|
+
|
1353
|
+
# source://reline//lib/reline/line_editor.rb#207
|
1354
|
+
def set_signal_handlers; end
|
1355
|
+
|
1356
|
+
# source://reline//lib/reline/line_editor.rb#1105
|
1357
|
+
def trim_input_lines; end
|
1358
|
+
|
1359
|
+
# source://reline//lib/reline/line_editor.rb#1033
|
1360
|
+
def update(key); end
|
1361
|
+
|
1362
|
+
# source://reline//lib/reline/line_editor.rb#453
|
1363
|
+
def update_dialogs(key = T.unsafe(nil)); end
|
1364
|
+
|
1365
|
+
# source://reline//lib/reline/line_editor.rb#556
|
1366
|
+
def upper_space_height(wrapped_cursor_y); end
|
1367
|
+
|
1368
|
+
# source://reline//lib/reline/line_editor.rb#1290
|
1369
|
+
def whole_buffer; end
|
1370
|
+
|
1371
|
+
# source://reline//lib/reline/line_editor.rb#1286
|
1372
|
+
def whole_lines; end
|
1373
|
+
|
1374
|
+
# source://reline//lib/reline/line_editor.rb#343
|
1375
|
+
def with_cache(key, *deps); end
|
1376
|
+
|
1377
|
+
# source://reline//lib/reline/line_editor.rb#948
|
1378
|
+
def wrap_method_call(method_symbol, method_obj, key, with_operator = T.unsafe(nil)); end
|
1379
|
+
|
1380
|
+
# Calculate cursor position in word wrapped content.
|
1381
|
+
#
|
1382
|
+
# source://reline//lib/reline/line_editor.rb#437
|
1383
|
+
def wrapped_cursor_position; end
|
1384
|
+
|
1385
|
+
# source://reline//lib/reline/line_editor.rb#375
|
1386
|
+
def wrapped_prompt_and_input_lines; end
|
1387
|
+
|
1388
|
+
private
|
1389
|
+
|
1390
|
+
# @return [Boolean]
|
1391
|
+
#
|
1392
|
+
# source://reline//lib/reline/line_editor.rb#938
|
1393
|
+
def argumentable?(method_obj); end
|
1394
|
+
|
1395
|
+
# source://reline//lib/reline/line_editor.rb#1443
|
1396
|
+
def backward_char(key, arg: T.unsafe(nil)); end
|
1397
|
+
|
1398
|
+
# source://reline//lib/reline/line_editor.rb#1712
|
1399
|
+
def backward_delete_char(key, arg: T.unsafe(nil)); end
|
1400
|
+
|
1401
|
+
# source://reline//lib/reline/line_editor.rb#1856
|
1402
|
+
def backward_kill_word(key); end
|
1403
|
+
|
1404
|
+
# source://reline//lib/reline/line_editor.rb#1838
|
1405
|
+
def backward_word(key); end
|
1406
|
+
|
1407
|
+
# source://reline//lib/reline/line_editor.rb#1460
|
1408
|
+
def beginning_of_line(key); end
|
1409
|
+
|
1410
|
+
# @return [Boolean]
|
1411
|
+
#
|
1412
|
+
# source://reline//lib/reline/line_editor.rb#1294
|
1413
|
+
def buffer_empty?; end
|
1414
|
+
|
1415
|
+
# source://reline//lib/reline/line_editor.rb#1313
|
1416
|
+
def byteinsert(str, byte_pointer, other); end
|
1417
|
+
|
1418
|
+
# source://reline//lib/reline/line_editor.rb#1307
|
1419
|
+
def byteslice!(str, byte_pointer, size); end
|
1420
|
+
|
1421
|
+
# source://reline//lib/reline/line_editor.rb#308
|
1422
|
+
def calculate_nearest_cursor(cursor); end
|
1423
|
+
|
1424
|
+
# source://reline//lib/reline/line_editor.rb#1320
|
1425
|
+
def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
|
1426
|
+
|
1427
|
+
# source://reline//lib/reline/line_editor.rb#1896
|
1428
|
+
def capitalize_word(key); end
|
1429
|
+
|
1430
|
+
# source://reline//lib/reline/line_editor.rb#95
|
1431
|
+
def check_mode_string; end
|
1432
|
+
|
1433
|
+
# source://reline//lib/reline/line_editor.rb#109
|
1434
|
+
def check_multiline_prompt(buffer, mode_string); end
|
1435
|
+
|
1436
|
+
# source://reline//lib/reline/line_editor.rb#968
|
1437
|
+
def cleanup_waiting; end
|
1438
|
+
|
1439
|
+
# source://reline//lib/reline/line_editor.rb#551
|
1440
|
+
def clear_rendered_screen_cache; end
|
1441
|
+
|
1442
|
+
# source://reline//lib/reline/line_editor.rb#1822
|
1443
|
+
def clear_screen(key); end
|
1444
|
+
|
1445
|
+
# source://reline//lib/reline/line_editor.rb#1340
|
1446
|
+
def complete(_key); end
|
1447
|
+
|
1448
|
+
# source://reline//lib/reline/line_editor.rb#1358
|
1449
|
+
def completion_journey_move(direction); end
|
1450
|
+
|
1451
|
+
# source://reline//lib/reline/line_editor.rb#1374
|
1452
|
+
def completion_journey_up(_key); end
|
1453
|
+
|
1454
|
+
# source://reline//lib/reline/line_editor.rb#1942
|
1455
|
+
def copy_for_vi(text); end
|
1456
|
+
|
1457
|
+
# source://reline//lib/reline/line_editor.rb#1777
|
1458
|
+
def delete_char(key); end
|
1459
|
+
|
1460
|
+
# source://reline//lib/reline/line_editor.rb#1792
|
1461
|
+
def delete_char_or_list(key); end
|
1462
|
+
|
1463
|
+
# source://reline//lib/reline/line_editor.rb#703
|
1464
|
+
def dialog_range(dialog, dialog_y); end
|
1465
|
+
|
1466
|
+
# source://reline//lib/reline/line_editor.rb#1906
|
1467
|
+
def downcase_word(key); end
|
1468
|
+
|
1469
|
+
# source://reline//lib/reline/line_editor.rb#2195
|
1470
|
+
def ed_argument_digit(key); end
|
1471
|
+
|
1472
|
+
# source://reline//lib/reline/line_editor.rb#1822
|
1473
|
+
def ed_clear_screen(key); end
|
1474
|
+
|
1475
|
+
# source://reline//lib/reline/line_editor.rb#2141
|
1476
|
+
def ed_delete_next_char(key, arg: T.unsafe(nil)); end
|
1477
|
+
|
1478
|
+
# source://reline//lib/reline/line_editor.rb#2053
|
1479
|
+
def ed_delete_prev_char(key, arg: T.unsafe(nil)); end
|
1480
|
+
|
1481
|
+
# source://reline//lib/reline/line_editor.rb#1856
|
1482
|
+
def ed_delete_prev_word(key); end
|
1483
|
+
|
1484
|
+
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
1485
|
+
# In insert mode, insert the input character left of the cursor
|
1486
|
+
# position. In replace mode, overwrite the character at the
|
1487
|
+
# cursor and move the cursor to the right by one character
|
1488
|
+
# position. Accept an argument to do this repeatedly. It is an
|
1489
|
+
# error if the input character is the NUL character (+Ctrl-@+).
|
1490
|
+
# Failure to enlarge the edit buffer also results in an error.
|
1491
|
+
# Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
|
1492
|
+
# the input digit to the argument being read. Otherwise, call
|
1493
|
+
# +ed-insert+. It is an error if the input character is not a
|
1494
|
+
# digit or if the existing argument is already greater than a
|
1495
|
+
# million.
|
1496
|
+
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
1497
|
+
#
|
1498
|
+
# source://reline//lib/reline/line_editor.rb#1401
|
1499
|
+
def ed_digit(str); end
|
1500
|
+
|
1501
|
+
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
1502
|
+
# In insert mode, insert the input character left of the cursor
|
1503
|
+
# position. In replace mode, overwrite the character at the
|
1504
|
+
# cursor and move the cursor to the right by one character
|
1505
|
+
# position. Accept an argument to do this repeatedly. It is an
|
1506
|
+
# error if the input character is the NUL character (+Ctrl-@+).
|
1507
|
+
# Failure to enlarge the edit buffer also results in an error.
|
1508
|
+
# Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
|
1509
|
+
# the input digit to the argument being read. Otherwise, call
|
1510
|
+
# +ed-insert+. It is an error if the input character is not a
|
1511
|
+
# digit or if the existing argument is already greater than a
|
1512
|
+
# million.
|
1513
|
+
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
1514
|
+
#
|
1515
|
+
# source://reline//lib/reline/line_editor.rb#1401
|
1516
|
+
def ed_insert(str); end
|
1517
|
+
|
1518
|
+
# Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
|
1519
|
+
# +Ctrl-U+) + Kill from the cursor to the end of the line.
|
1520
|
+
# GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
|
1521
|
+
# the line. With a negative numeric argument, kill backward
|
1522
|
+
# from the cursor to the beginning of the current line.
|
1523
|
+
#
|
1524
|
+
# source://reline//lib/reline/line_editor.rb#1733
|
1525
|
+
def ed_kill_line(key); end
|
1526
|
+
|
1527
|
+
# source://reline//lib/reline/line_editor.rb#1460
|
1528
|
+
def ed_move_to_beg(key); end
|
1529
|
+
|
1530
|
+
# source://reline//lib/reline/line_editor.rb#1466
|
1531
|
+
def ed_move_to_end(key); end
|
1532
|
+
|
1533
|
+
# source://reline//lib/reline/line_editor.rb#1683
|
1534
|
+
def ed_newline(key); end
|
1535
|
+
|
1536
|
+
# source://reline//lib/reline/line_editor.rb#1430
|
1537
|
+
def ed_next_char(key, arg: T.unsafe(nil)); end
|
1538
|
+
|
1539
|
+
# source://reline//lib/reline/line_editor.rb#1666
|
1540
|
+
def ed_next_history(key, arg: T.unsafe(nil)); end
|
1541
|
+
|
1542
|
+
# source://reline//lib/reline/line_editor.rb#1443
|
1543
|
+
def ed_prev_char(key, arg: T.unsafe(nil)); end
|
1544
|
+
|
1545
|
+
# source://reline//lib/reline/line_editor.rb#1649
|
1546
|
+
def ed_prev_history(key, arg: T.unsafe(nil)); end
|
1547
|
+
|
1548
|
+
# source://reline//lib/reline/line_editor.rb#1838
|
1549
|
+
def ed_prev_word(key); end
|
1550
|
+
|
1551
|
+
# source://reline//lib/reline/line_editor.rb#1612
|
1552
|
+
def ed_search_next_history(key, arg: T.unsafe(nil)); end
|
1553
|
+
|
1554
|
+
# source://reline//lib/reline/line_editor.rb#1597
|
1555
|
+
def ed_search_prev_history(key, arg: T.unsafe(nil)); end
|
1556
|
+
|
1557
|
+
# source://reline//lib/reline/line_editor.rb#1866
|
1558
|
+
def ed_transpose_chars(key); end
|
1559
|
+
|
1560
|
+
# source://reline//lib/reline/line_editor.rb#1883
|
1561
|
+
def ed_transpose_words(key); end
|
1562
|
+
|
1563
|
+
# do nothing
|
1564
|
+
#
|
1565
|
+
# source://reline//lib/reline/line_editor.rb#1380
|
1566
|
+
def ed_unassigned(key); end
|
1567
|
+
|
1568
|
+
# source://reline//lib/reline/line_editor.rb#1896
|
1569
|
+
def em_capitol_case(key); end
|
1570
|
+
|
1571
|
+
# source://reline//lib/reline/line_editor.rb#1777
|
1572
|
+
def em_delete(key); end
|
1573
|
+
|
1574
|
+
# source://reline//lib/reline/line_editor.rb#1846
|
1575
|
+
def em_delete_next_word(key); end
|
1576
|
+
|
1577
|
+
# source://reline//lib/reline/line_editor.rb#1792
|
1578
|
+
def em_delete_or_list(key); end
|
1579
|
+
|
1580
|
+
# source://reline//lib/reline/line_editor.rb#1712
|
1581
|
+
def em_delete_prev_char(key, arg: T.unsafe(nil)); end
|
1582
|
+
|
1583
|
+
# source://reline//lib/reline/line_editor.rb#2336
|
1584
|
+
def em_exchange_mark(key); end
|
1585
|
+
|
1586
|
+
# Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
|
1587
|
+
# edit buffer and save it to the cut buffer. +vi-kill-line-prev+
|
1588
|
+
# GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
|
1589
|
+
# current line, no matter where point is.
|
1590
|
+
#
|
1591
|
+
# source://reline//lib/reline/line_editor.rb#1769
|
1592
|
+
def em_kill_line(key); end
|
1593
|
+
|
1594
|
+
# source://reline//lib/reline/line_editor.rb#1932
|
1595
|
+
def em_kill_region(key); end
|
1596
|
+
|
1597
|
+
# source://reline//lib/reline/line_editor.rb#1906
|
1598
|
+
def em_lower_case(key); end
|
1599
|
+
|
1600
|
+
# source://reline//lib/reline/line_editor.rb#1830
|
1601
|
+
def em_next_word(key); end
|
1602
|
+
|
1603
|
+
# source://reline//lib/reline/line_editor.rb#2331
|
1604
|
+
def em_set_mark(key); end
|
1605
|
+
|
1606
|
+
# source://reline//lib/reline/line_editor.rb#1919
|
1607
|
+
def em_upper_case(key); end
|
1608
|
+
|
1609
|
+
# source://reline//lib/reline/line_editor.rb#1806
|
1610
|
+
def em_yank(key); end
|
1611
|
+
|
1612
|
+
# source://reline//lib/reline/line_editor.rb#1812
|
1613
|
+
def em_yank_pop(key); end
|
1614
|
+
|
1615
|
+
# source://reline//lib/reline/line_editor.rb#2344
|
1616
|
+
def emacs_editing_mode(key); end
|
1617
|
+
|
1618
|
+
# source://reline//lib/reline/line_editor.rb#1466
|
1619
|
+
def end_of_line(key); end
|
1620
|
+
|
1621
|
+
# source://reline//lib/reline/line_editor.rb#2336
|
1622
|
+
def exchange_point_and_mark(key); end
|
1623
|
+
|
1624
|
+
# source://reline//lib/reline/line_editor.rb#809
|
1625
|
+
def filter_normalize_candidates(target, list); end
|
1626
|
+
|
1627
|
+
# source://reline//lib/reline/line_editor.rb#1430
|
1628
|
+
def forward_char(key, arg: T.unsafe(nil)); end
|
1629
|
+
|
1630
|
+
# source://reline//lib/reline/line_editor.rb#1582
|
1631
|
+
def forward_search_history(key); end
|
1632
|
+
|
1633
|
+
# source://reline//lib/reline/line_editor.rb#1830
|
1634
|
+
def forward_word(key); end
|
1635
|
+
|
1636
|
+
# source://reline//lib/reline/line_editor.rb#1471
|
1637
|
+
def generate_searcher(search_key); end
|
1638
|
+
|
1639
|
+
# source://reline//lib/reline/line_editor.rb#185
|
1640
|
+
def handle_interrupted; end
|
1641
|
+
|
1642
|
+
# source://reline//lib/reline/line_editor.rb#173
|
1643
|
+
def handle_resized; end
|
1644
|
+
|
1645
|
+
# source://reline//lib/reline/line_editor.rb#1597
|
1646
|
+
def history_search_backward(key, arg: T.unsafe(nil)); end
|
1647
|
+
|
1648
|
+
# source://reline//lib/reline/line_editor.rb#1612
|
1649
|
+
def history_search_forward(key, arg: T.unsafe(nil)); end
|
1650
|
+
|
1651
|
+
# @return [Boolean]
|
1652
|
+
#
|
1653
|
+
# source://reline//lib/reline/line_editor.rb#942
|
1654
|
+
def inclusive?(method_obj); end
|
1655
|
+
|
1656
|
+
# source://reline//lib/reline/line_editor.rb#1550
|
1657
|
+
def incremental_search_history(key); end
|
1658
|
+
|
1659
|
+
# source://reline//lib/reline/line_editor.rb#277
|
1660
|
+
def insert_new_line(cursor_line, next_line); end
|
1661
|
+
|
1662
|
+
# source://reline//lib/reline/line_editor.rb#1419
|
1663
|
+
def insert_raw_char(str, arg: T.unsafe(nil)); end
|
1664
|
+
|
1665
|
+
# source://reline//lib/reline/line_editor.rb#1324
|
1666
|
+
def key_delete(key); end
|
1667
|
+
|
1668
|
+
# source://reline//lib/reline/line_editor.rb#1332
|
1669
|
+
def key_newline(key); end
|
1670
|
+
|
1671
|
+
# Editline:: +ed-kill-line+ (vi command: +D+, +Ctrl-K+; emacs: +Ctrl-K+,
|
1672
|
+
# +Ctrl-U+) + Kill from the cursor to the end of the line.
|
1673
|
+
# GNU Readline:: +kill-line+ (+C-k+) Kill the text from point to the end of
|
1674
|
+
# the line. With a negative numeric argument, kill backward
|
1675
|
+
# from the cursor to the beginning of the current line.
|
1676
|
+
#
|
1677
|
+
# source://reline//lib/reline/line_editor.rb#1733
|
1678
|
+
def kill_line(key); end
|
1679
|
+
|
1680
|
+
# Editline:: +em-kill-line+ (not bound) Delete the entire contents of the
|
1681
|
+
# edit buffer and save it to the cut buffer. +vi-kill-line-prev+
|
1682
|
+
# GNU Readline:: +kill-whole-line+ (not bound) Kill all characters on the
|
1683
|
+
# current line, no matter where point is.
|
1684
|
+
#
|
1685
|
+
# source://reline//lib/reline/line_editor.rb#1769
|
1686
|
+
def kill_whole_line(key); end
|
1687
|
+
|
1688
|
+
# source://reline//lib/reline/line_editor.rb#1846
|
1689
|
+
def kill_word(key); end
|
1690
|
+
|
1691
|
+
# source://reline//lib/reline/line_editor.rb#805
|
1692
|
+
def menu(list); end
|
1693
|
+
|
1694
|
+
# source://reline//lib/reline/line_editor.rb#1366
|
1695
|
+
def menu_complete(_key); end
|
1696
|
+
|
1697
|
+
# source://reline//lib/reline/line_editor.rb#1370
|
1698
|
+
def menu_complete_backward(_key); end
|
1699
|
+
|
1700
|
+
# source://reline//lib/reline/line_editor.rb#793
|
1701
|
+
def modify_lines(before, complete); end
|
1702
|
+
|
1703
|
+
# source://reline//lib/reline/line_editor.rb#887
|
1704
|
+
def move_completed_list(direction); end
|
1705
|
+
|
1706
|
+
# source://reline//lib/reline/line_editor.rb#1627
|
1707
|
+
def move_history(history_pointer, line:, cursor:); end
|
1708
|
+
|
1709
|
+
# source://reline//lib/reline/line_editor.rb#2352
|
1710
|
+
def move_undo_redo(direction); end
|
1711
|
+
|
1712
|
+
# source://reline//lib/reline/line_editor.rb#1666
|
1713
|
+
def next_history(key, arg: T.unsafe(nil)); end
|
1714
|
+
|
1715
|
+
# source://reline//lib/reline/line_editor.rb#832
|
1716
|
+
def perform_completion(preposing, target, postposing, quote, list); end
|
1717
|
+
|
1718
|
+
# source://reline//lib/reline/line_editor.rb#2371
|
1719
|
+
def prev_action_state_value(type); end
|
1720
|
+
|
1721
|
+
# source://reline//lib/reline/line_editor.rb#1649
|
1722
|
+
def previous_history(key, arg: T.unsafe(nil)); end
|
1723
|
+
|
1724
|
+
# source://reline//lib/reline/line_editor.rb#1151
|
1725
|
+
def process_auto_indent(line_index = T.unsafe(nil), cursor_dependent: T.unsafe(nil), add_newline: T.unsafe(nil)); end
|
1726
|
+
|
1727
|
+
# source://reline//lib/reline/line_editor.rb#1382
|
1728
|
+
def process_insert(force: T.unsafe(nil)); end
|
1729
|
+
|
1730
|
+
# source://reline//lib/reline/line_editor.rb#979
|
1731
|
+
def process_key(key, method_symbol); end
|
1732
|
+
|
1733
|
+
# source://reline//lib/reline/line_editor.rb#2379
|
1734
|
+
def re_read_init_file(_key); end
|
1735
|
+
|
1736
|
+
# source://reline//lib/reline/line_editor.rb#2367
|
1737
|
+
def redo(_key); end
|
1738
|
+
|
1739
|
+
# Reflects lines to be rendered and new cursor position to the screen
|
1740
|
+
# by calculating the difference from the previous render.
|
1741
|
+
#
|
1742
|
+
# source://reline//lib/reline/line_editor.rb#515
|
1743
|
+
def render_differential(new_lines, new_cursor_x, new_cursor_y); end
|
1744
|
+
|
1745
|
+
# source://reline//lib/reline/line_editor.rb#899
|
1746
|
+
def retrieve_completion_journey_state; end
|
1747
|
+
|
1748
|
+
# source://reline//lib/reline/line_editor.rb#1577
|
1749
|
+
def reverse_search_history(key); end
|
1750
|
+
|
1751
|
+
# source://reline//lib/reline/line_editor.rb#914
|
1752
|
+
def run_for_operators(key, method_symbol, &block); end
|
1753
|
+
|
1754
|
+
# source://reline//lib/reline/line_editor.rb#1587
|
1755
|
+
def search_history(prefix, pointer_range); end
|
1756
|
+
|
1757
|
+
# source://reline//lib/reline/line_editor.rb#2242
|
1758
|
+
def search_next_char(key, arg, need_prev_char: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1759
|
+
|
1760
|
+
# source://reline//lib/reline/line_editor.rb#2289
|
1761
|
+
def search_prev_char(key, arg, need_next_char = T.unsafe(nil)); end
|
1762
|
+
|
1763
|
+
# Editline:: +ed-insert+ (vi input: almost all; emacs: printable characters)
|
1764
|
+
# In insert mode, insert the input character left of the cursor
|
1765
|
+
# position. In replace mode, overwrite the character at the
|
1766
|
+
# cursor and move the cursor to the right by one character
|
1767
|
+
# position. Accept an argument to do this repeatedly. It is an
|
1768
|
+
# error if the input character is the NUL character (+Ctrl-@+).
|
1769
|
+
# Failure to enlarge the edit buffer also results in an error.
|
1770
|
+
# Editline:: +ed-digit+ (emacs: 0 to 9) If in argument input mode, append
|
1771
|
+
# the input digit to the argument being read. Otherwise, call
|
1772
|
+
# +ed-insert+. It is an error if the input character is not a
|
1773
|
+
# digit or if the existing argument is already greater than a
|
1774
|
+
# million.
|
1775
|
+
# GNU Readline:: +self-insert+ (a, b, A, 1, !, …) Insert yourself.
|
1776
|
+
#
|
1777
|
+
# source://reline//lib/reline/line_editor.rb#1401
|
1778
|
+
def self_insert(str); end
|
1779
|
+
|
1780
|
+
# source://reline//lib/reline/line_editor.rb#2331
|
1781
|
+
def set_mark(key); end
|
1782
|
+
|
1783
|
+
# source://reline//lib/reline/line_editor.rb#2375
|
1784
|
+
def set_next_action_state(type, value); end
|
1785
|
+
|
1786
|
+
# source://reline//lib/reline/line_editor.rb#300
|
1787
|
+
def split_line_by_width(str, max_width, offset: T.unsafe(nil)); end
|
1788
|
+
|
1789
|
+
# source://reline//lib/reline/line_editor.rb#1866
|
1790
|
+
def transpose_chars(key); end
|
1791
|
+
|
1792
|
+
# source://reline//lib/reline/line_editor.rb#1883
|
1793
|
+
def transpose_words(key); end
|
1794
|
+
|
1795
|
+
# source://reline//lib/reline/line_editor.rb#2363
|
1796
|
+
def undo(_key); end
|
1797
|
+
|
1798
|
+
# Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
|
1799
|
+
# beginning of the edit buffer to the cursor and save it to the
|
1800
|
+
# cut buffer.
|
1801
|
+
# GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
|
1802
|
+
# to the beginning of the current line.
|
1803
|
+
#
|
1804
|
+
# source://reline//lib/reline/line_editor.rb#1756
|
1805
|
+
def unix_line_discard(key); end
|
1806
|
+
|
1807
|
+
# source://reline//lib/reline/line_editor.rb#1932
|
1808
|
+
def unix_word_rubout(key); end
|
1809
|
+
|
1810
|
+
# source://reline//lib/reline/line_editor.rb#1919
|
1811
|
+
def upcase_word(key); end
|
1812
|
+
|
1813
|
+
# source://reline//lib/reline/line_editor.rb#709
|
1814
|
+
def update_each_dialog(dialog, cursor_column, cursor_row, key = T.unsafe(nil)); end
|
1815
|
+
|
1816
|
+
# source://reline//lib/reline/line_editor.rb#1952
|
1817
|
+
def vi_add(key); end
|
1818
|
+
|
1819
|
+
# source://reline//lib/reline/line_editor.rb#2048
|
1820
|
+
def vi_add_at_eol(key); end
|
1821
|
+
|
1822
|
+
# source://reline//lib/reline/line_editor.rb#2067
|
1823
|
+
def vi_change_meta(key, arg: T.unsafe(nil)); end
|
1824
|
+
|
1825
|
+
# source://reline//lib/reline/line_editor.rb#2079
|
1826
|
+
def vi_change_meta_confirm(byte_pointer_diff); end
|
1827
|
+
|
1828
|
+
# Editline:: +vi_change_to_eol+ (vi command: +C+) + Kill and change from the cursor to the end of the line.
|
1829
|
+
#
|
1830
|
+
# source://reline//lib/reline/line_editor.rb#1745
|
1831
|
+
def vi_change_to_eol(key); end
|
1832
|
+
|
1833
|
+
# source://reline//lib/reline/line_editor.rb#1957
|
1834
|
+
def vi_command_mode(key); end
|
1835
|
+
|
1836
|
+
# source://reline//lib/reline/line_editor.rb#2085
|
1837
|
+
def vi_delete_meta(key, arg: T.unsafe(nil)); end
|
1838
|
+
|
1839
|
+
# source://reline//lib/reline/line_editor.rb#2096
|
1840
|
+
def vi_delete_meta_confirm(byte_pointer_diff); end
|
1841
|
+
|
1842
|
+
# source://reline//lib/reline/line_editor.rb#2029
|
1843
|
+
def vi_delete_prev_char(key); end
|
1844
|
+
|
1845
|
+
# source://reline//lib/reline/line_editor.rb#2348
|
1846
|
+
def vi_editing_mode(key); end
|
1847
|
+
|
1848
|
+
# source://reline//lib/reline/line_editor.rb#2014
|
1849
|
+
def vi_end_big_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1850
|
+
|
1851
|
+
# source://reline//lib/reline/line_editor.rb#2130
|
1852
|
+
def vi_end_of_transmission(key); end
|
1853
|
+
|
1854
|
+
# source://reline//lib/reline/line_editor.rb#1981
|
1855
|
+
def vi_end_word(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1856
|
+
|
1857
|
+
# source://reline//lib/reline/line_editor.rb#2130
|
1858
|
+
def vi_eof_maybe(key); end
|
1859
|
+
|
1860
|
+
# source://reline//lib/reline/line_editor.rb#1456
|
1861
|
+
def vi_first_print(key); end
|
1862
|
+
|
1863
|
+
# source://reline//lib/reline/line_editor.rb#2164
|
1864
|
+
def vi_histedit(key); end
|
1865
|
+
|
1866
|
+
# source://reline//lib/reline/line_editor.rb#1948
|
1867
|
+
def vi_insert(key); end
|
1868
|
+
|
1869
|
+
# source://reline//lib/reline/line_editor.rb#2043
|
1870
|
+
def vi_insert_at_bol(key); end
|
1871
|
+
|
1872
|
+
# source://reline//lib/reline/line_editor.rb#2322
|
1873
|
+
def vi_join_lines(key, arg: T.unsafe(nil)); end
|
1874
|
+
|
1875
|
+
# Editline:: +vi-kill-line-prev+ (vi: +Ctrl-U+) Delete the string from the
|
1876
|
+
# beginning of the edit buffer to the cursor and save it to the
|
1877
|
+
# cut buffer.
|
1878
|
+
# GNU Readline:: +unix-line-discard+ (+C-u+) Kill backward from the cursor
|
1879
|
+
# to the beginning of the current line.
|
1880
|
+
#
|
1881
|
+
# source://reline//lib/reline/line_editor.rb#1756
|
1882
|
+
def vi_kill_line_prev(key); end
|
1883
|
+
|
1884
|
+
# source://reline//lib/reline/line_editor.rb#2130
|
1885
|
+
def vi_list_or_eof(key); end
|
1886
|
+
|
1887
|
+
# source://reline//lib/reline/line_editor.rb#1957
|
1888
|
+
def vi_movement_mode(key); end
|
1889
|
+
|
1890
|
+
# source://reline//lib/reline/line_editor.rb#1996
|
1891
|
+
def vi_next_big_word(key, arg: T.unsafe(nil)); end
|
1892
|
+
|
1893
|
+
# source://reline//lib/reline/line_editor.rb#2234
|
1894
|
+
def vi_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1895
|
+
|
1896
|
+
# source://reline//lib/reline/line_editor.rb#1963
|
1897
|
+
def vi_next_word(key, arg: T.unsafe(nil)); end
|
1898
|
+
|
1899
|
+
# source://reline//lib/reline/line_editor.rb#2185
|
1900
|
+
def vi_paste_next(key, arg: T.unsafe(nil)); end
|
1901
|
+
|
1902
|
+
# source://reline//lib/reline/line_editor.rb#2176
|
1903
|
+
def vi_paste_prev(key, arg: T.unsafe(nil)); end
|
1904
|
+
|
1905
|
+
# source://reline//lib/reline/line_editor.rb#2005
|
1906
|
+
def vi_prev_big_word(key, arg: T.unsafe(nil)); end
|
1907
|
+
|
1908
|
+
# source://reline//lib/reline/line_editor.rb#2281
|
1909
|
+
def vi_prev_char(key, arg: T.unsafe(nil)); end
|
1910
|
+
|
1911
|
+
# source://reline//lib/reline/line_editor.rb#1972
|
1912
|
+
def vi_prev_word(key, arg: T.unsafe(nil)); end
|
1913
|
+
|
1914
|
+
# source://reline//lib/reline/line_editor.rb#2210
|
1915
|
+
def vi_replace_char(key, arg: T.unsafe(nil)); end
|
1916
|
+
|
1917
|
+
# source://reline//lib/reline/line_editor.rb#1582
|
1918
|
+
def vi_search_next(key); end
|
1919
|
+
|
1920
|
+
# source://reline//lib/reline/line_editor.rb#1577
|
1921
|
+
def vi_search_prev(key); end
|
1922
|
+
|
1923
|
+
# source://reline//lib/reline/line_editor.rb#2201
|
1924
|
+
def vi_to_column(key, arg: T.unsafe(nil)); end
|
1925
|
+
|
1926
|
+
# source://reline//lib/reline/line_editor.rb#2157
|
1927
|
+
def vi_to_history_line(key); end
|
1928
|
+
|
1929
|
+
# source://reline//lib/reline/line_editor.rb#2238
|
1930
|
+
def vi_to_next_char(key, arg: T.unsafe(nil), inclusive: T.unsafe(nil)); end
|
1931
|
+
|
1932
|
+
# source://reline//lib/reline/line_editor.rb#2285
|
1933
|
+
def vi_to_prev_char(key, arg: T.unsafe(nil)); end
|
1934
|
+
|
1935
|
+
# source://reline//lib/reline/line_editor.rb#2108
|
1936
|
+
def vi_yank(key, arg: T.unsafe(nil)); end
|
1937
|
+
|
1938
|
+
# source://reline//lib/reline/line_editor.rb#2119
|
1939
|
+
def vi_yank_confirm(byte_pointer_diff); end
|
1940
|
+
|
1941
|
+
# source://reline//lib/reline/line_editor.rb#1460
|
1942
|
+
def vi_zero(key); end
|
1943
|
+
|
1944
|
+
# source://reline//lib/reline/line_editor.rb#1806
|
1945
|
+
def yank(key); end
|
1946
|
+
|
1947
|
+
# source://reline//lib/reline/line_editor.rb#1812
|
1948
|
+
def yank_pop(key); end
|
1949
|
+
end
|
1950
|
+
|
1951
|
+
# source://reline//lib/reline/line_editor.rb#976
|
1952
|
+
Reline::LineEditor::ARGUMENT_DIGIT_METHODS = T.let(T.unsafe(nil), Array)
|
1953
|
+
|
1954
|
+
# source://reline//lib/reline/line_editor.rb#45
|
1955
|
+
class Reline::LineEditor::CompletionJourneyState < ::Struct
|
1956
|
+
# Returns the value of attribute line_index
|
1957
|
+
#
|
1958
|
+
# @return [Object] the current value of line_index
|
1959
|
+
def line_index; end
|
1960
|
+
|
1961
|
+
# Sets the attribute line_index
|
1962
|
+
#
|
1963
|
+
# @param value [Object] the value to set the attribute line_index to.
|
1964
|
+
# @return [Object] the newly set value
|
1965
|
+
def line_index=(_); end
|
1966
|
+
|
1967
|
+
# Returns the value of attribute list
|
1968
|
+
#
|
1969
|
+
# @return [Object] the current value of list
|
1970
|
+
def list; end
|
1971
|
+
|
1972
|
+
# Sets the attribute list
|
1973
|
+
#
|
1974
|
+
# @param value [Object] the value to set the attribute list to.
|
1975
|
+
# @return [Object] the newly set value
|
1976
|
+
def list=(_); end
|
1977
|
+
|
1978
|
+
# Returns the value of attribute pointer
|
1979
|
+
#
|
1980
|
+
# @return [Object] the current value of pointer
|
1981
|
+
def pointer; end
|
1982
|
+
|
1983
|
+
# Sets the attribute pointer
|
1984
|
+
#
|
1985
|
+
# @param value [Object] the value to set the attribute pointer to.
|
1986
|
+
# @return [Object] the newly set value
|
1987
|
+
def pointer=(_); end
|
1988
|
+
|
1989
|
+
# Returns the value of attribute post
|
1990
|
+
#
|
1991
|
+
# @return [Object] the current value of post
|
1992
|
+
def post; end
|
1993
|
+
|
1994
|
+
# Sets the attribute post
|
1995
|
+
#
|
1996
|
+
# @param value [Object] the value to set the attribute post to.
|
1997
|
+
# @return [Object] the newly set value
|
1998
|
+
def post=(_); end
|
1999
|
+
|
2000
|
+
# Returns the value of attribute pre
|
2001
|
+
#
|
2002
|
+
# @return [Object] the current value of pre
|
2003
|
+
def pre; end
|
2004
|
+
|
2005
|
+
# Sets the attribute pre
|
2006
|
+
#
|
2007
|
+
# @param value [Object] the value to set the attribute pre to.
|
2008
|
+
# @return [Object] the newly set value
|
2009
|
+
def pre=(_); end
|
2010
|
+
|
2011
|
+
# Returns the value of attribute target
|
2012
|
+
#
|
2013
|
+
# @return [Object] the current value of target
|
2014
|
+
def target; end
|
2015
|
+
|
2016
|
+
# Sets the attribute target
|
2017
|
+
#
|
2018
|
+
# @param value [Object] the value to set the attribute target to.
|
2019
|
+
# @return [Object] the newly set value
|
2020
|
+
def target=(_); end
|
2021
|
+
|
2022
|
+
class << self
|
2023
|
+
def [](*_arg0); end
|
2024
|
+
def inspect; end
|
2025
|
+
def keyword_init?; end
|
2026
|
+
def members; end
|
2027
|
+
def new(*_arg0); end
|
2028
|
+
end
|
2029
|
+
end
|
2030
|
+
|
2031
|
+
# source://reline//lib/reline/line_editor.rb#38
|
2032
|
+
Reline::LineEditor::CompletionState::MENU = T.let(T.unsafe(nil), Symbol)
|
2033
|
+
|
2034
|
+
# source://reline//lib/reline/line_editor.rb#39
|
2035
|
+
Reline::LineEditor::CompletionState::MENU_WITH_PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
|
2036
|
+
|
2037
|
+
# source://reline//lib/reline/line_editor.rb#37
|
2038
|
+
Reline::LineEditor::CompletionState::NORMAL = T.let(T.unsafe(nil), Symbol)
|
2039
|
+
|
2040
|
+
# source://reline//lib/reline/line_editor.rb#40
|
2041
|
+
Reline::LineEditor::CompletionState::PERFECT_MATCH = T.let(T.unsafe(nil), Symbol)
|
2042
|
+
|
2043
|
+
# source://reline//lib/reline/line_editor.rb#701
|
2044
|
+
Reline::LineEditor::DIALOG_DEFAULT_HEIGHT = T.let(T.unsafe(nil), Integer)
|
2045
|
+
|
2046
|
+
# source://reline//lib/reline/line_editor.rb#647
|
2047
|
+
class Reline::LineEditor::Dialog
|
2048
|
+
# @return [Dialog] a new instance of Dialog
|
2049
|
+
#
|
2050
|
+
# source://reline//lib/reline/line_editor.rb#651
|
2051
|
+
def initialize(name, config, proc_scope); end
|
2052
|
+
|
2053
|
+
# source://reline//lib/reline/line_editor.rb#675
|
2054
|
+
def call(key); end
|
2055
|
+
|
2056
|
+
# Returns the value of attribute column.
|
2057
|
+
#
|
2058
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2059
|
+
def column; end
|
2060
|
+
|
2061
|
+
# Sets the attribute column
|
2062
|
+
#
|
2063
|
+
# @param value the value to set the attribute column to.
|
2064
|
+
#
|
2065
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2066
|
+
def column=(_arg0); end
|
2067
|
+
|
2068
|
+
# Returns the value of attribute contents.
|
2069
|
+
#
|
2070
|
+
# source://reline//lib/reline/line_editor.rb#648
|
2071
|
+
def contents; end
|
2072
|
+
|
2073
|
+
# source://reline//lib/reline/line_editor.rb#668
|
2074
|
+
def contents=(contents); end
|
2075
|
+
|
2076
|
+
# Returns the value of attribute name.
|
2077
|
+
#
|
2078
|
+
# source://reline//lib/reline/line_editor.rb#648
|
2079
|
+
def name; end
|
2080
|
+
|
2081
|
+
# Returns the value of attribute pointer.
|
2082
|
+
#
|
2083
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2084
|
+
def pointer; end
|
2085
|
+
|
2086
|
+
# Sets the attribute pointer
|
2087
|
+
#
|
2088
|
+
# @param value the value to set the attribute pointer to.
|
2089
|
+
#
|
2090
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2091
|
+
def pointer=(_arg0); end
|
2092
|
+
|
2093
|
+
# Returns the value of attribute scroll_top.
|
2094
|
+
#
|
2095
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2096
|
+
def scroll_top; end
|
2097
|
+
|
2098
|
+
# Sets the attribute scroll_top
|
2099
|
+
#
|
2100
|
+
# @param value the value to set the attribute scroll_top to.
|
2101
|
+
#
|
2102
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2103
|
+
def scroll_top=(_arg0); end
|
2104
|
+
|
2105
|
+
# source://reline//lib/reline/line_editor.rb#660
|
2106
|
+
def set_cursor_pos(col, row); end
|
2107
|
+
|
2108
|
+
# Returns the value of attribute trap_key.
|
2109
|
+
#
|
2110
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2111
|
+
def trap_key; end
|
2112
|
+
|
2113
|
+
# Sets the attribute trap_key
|
2114
|
+
#
|
2115
|
+
# @param value the value to set the attribute trap_key to.
|
2116
|
+
#
|
2117
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2118
|
+
def trap_key=(_arg0); end
|
2119
|
+
|
2120
|
+
# Returns the value of attribute vertical_offset.
|
2121
|
+
#
|
2122
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2123
|
+
def vertical_offset; end
|
2124
|
+
|
2125
|
+
# Sets the attribute vertical_offset
|
2126
|
+
#
|
2127
|
+
# @param value the value to set the attribute vertical_offset to.
|
2128
|
+
#
|
2129
|
+
# source://reline//lib/reline/line_editor.rb#649
|
2130
|
+
def vertical_offset=(_arg0); end
|
2131
|
+
|
2132
|
+
# Returns the value of attribute width.
|
2133
|
+
#
|
2134
|
+
# source://reline//lib/reline/line_editor.rb#648
|
2135
|
+
def width; end
|
2136
|
+
|
2137
|
+
# source://reline//lib/reline/line_editor.rb#664
|
2138
|
+
def width=(v); end
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
# source://reline//lib/reline/line_editor.rb#568
|
2142
|
+
class Reline::LineEditor::DialogProcScope
|
2143
|
+
# @return [DialogProcScope] a new instance of DialogProcScope
|
2144
|
+
#
|
2145
|
+
# source://reline//lib/reline/line_editor.rb#571
|
2146
|
+
def initialize(line_editor, config, proc_to_exec, context); end
|
2147
|
+
|
2148
|
+
# source://reline//lib/reline/line_editor.rb#642
|
2149
|
+
def call; end
|
2150
|
+
|
2151
|
+
# source://reline//lib/reline/line_editor.rb#588
|
2152
|
+
def call_completion_proc_with_checking_args(pre, target, post); end
|
2153
|
+
|
2154
|
+
# source://reline//lib/reline/line_editor.rb#634
|
2155
|
+
def completion_journey_data; end
|
2156
|
+
|
2157
|
+
# source://reline//lib/reline/line_editor.rb#638
|
2158
|
+
def config; end
|
2159
|
+
|
2160
|
+
# source://reline//lib/reline/line_editor.rb#579
|
2161
|
+
def context; end
|
2162
|
+
|
2163
|
+
# source://reline//lib/reline/line_editor.rb#613
|
2164
|
+
def cursor_pos; end
|
2165
|
+
|
2166
|
+
# source://reline//lib/reline/line_editor.rb#596
|
2167
|
+
def dialog; end
|
2168
|
+
|
2169
|
+
# source://reline//lib/reline/line_editor.rb#617
|
2170
|
+
def just_cursor_moving; end
|
2171
|
+
|
2172
|
+
# source://reline//lib/reline/line_editor.rb#609
|
2173
|
+
def key; end
|
2174
|
+
|
2175
|
+
# source://reline//lib/reline/line_editor.rb#629
|
2176
|
+
def preferred_dialog_height; end
|
2177
|
+
|
2178
|
+
# source://reline//lib/reline/line_editor.rb#583
|
2179
|
+
def retrieve_completion_block(_unused = T.unsafe(nil)); end
|
2180
|
+
|
2181
|
+
# source://reline//lib/reline/line_editor.rb#625
|
2182
|
+
def screen_height; end
|
2183
|
+
|
2184
|
+
# source://reline//lib/reline/line_editor.rb#621
|
2185
|
+
def screen_width; end
|
2186
|
+
|
2187
|
+
# source://reline//lib/reline/line_editor.rb#600
|
2188
|
+
def set_cursor_pos(col, row); end
|
2189
|
+
|
2190
|
+
# source://reline//lib/reline/line_editor.rb#592
|
2191
|
+
def set_dialog(dialog); end
|
2192
|
+
|
2193
|
+
# source://reline//lib/reline/line_editor.rb#605
|
2194
|
+
def set_key(key); end
|
2195
|
+
end
|
2196
|
+
|
2197
|
+
# source://reline//lib/reline/line_editor.rb#569
|
2198
|
+
class Reline::LineEditor::DialogProcScope::CompletionJourneyData < ::Struct
|
2199
|
+
# Returns the value of attribute list
|
2200
|
+
#
|
2201
|
+
# @return [Object] the current value of list
|
2202
|
+
def list; end
|
2203
|
+
|
2204
|
+
# Sets the attribute list
|
2205
|
+
#
|
2206
|
+
# @param value [Object] the value to set the attribute list to.
|
2207
|
+
# @return [Object] the newly set value
|
2208
|
+
def list=(_); end
|
2209
|
+
|
2210
|
+
# Returns the value of attribute pointer
|
2211
|
+
#
|
2212
|
+
# @return [Object] the current value of pointer
|
2213
|
+
def pointer; end
|
2214
|
+
|
2215
|
+
# Sets the attribute pointer
|
2216
|
+
#
|
2217
|
+
# @param value [Object] the value to set the attribute pointer to.
|
2218
|
+
# @return [Object] the newly set value
|
2219
|
+
def pointer=(_); end
|
2220
|
+
|
2221
|
+
# Returns the value of attribute postposing
|
2222
|
+
#
|
2223
|
+
# @return [Object] the current value of postposing
|
2224
|
+
def postposing; end
|
2225
|
+
|
2226
|
+
# Sets the attribute postposing
|
2227
|
+
#
|
2228
|
+
# @param value [Object] the value to set the attribute postposing to.
|
2229
|
+
# @return [Object] the newly set value
|
2230
|
+
def postposing=(_); end
|
2231
|
+
|
2232
|
+
# Returns the value of attribute preposing
|
2233
|
+
#
|
2234
|
+
# @return [Object] the current value of preposing
|
2235
|
+
def preposing; end
|
2236
|
+
|
2237
|
+
# Sets the attribute preposing
|
2238
|
+
#
|
2239
|
+
# @param value [Object] the value to set the attribute preposing to.
|
2240
|
+
# @return [Object] the newly set value
|
2241
|
+
def preposing=(_); end
|
2242
|
+
|
2243
|
+
class << self
|
2244
|
+
def [](*_arg0); end
|
2245
|
+
def inspect; end
|
2246
|
+
def keyword_init?; end
|
2247
|
+
def members; end
|
2248
|
+
def new(*_arg0); end
|
2249
|
+
end
|
2250
|
+
end
|
2251
|
+
|
2252
|
+
# source://reline//lib/reline/line_editor.rb#1104
|
2253
|
+
Reline::LineEditor::MAX_INPUT_LINES = T.let(T.unsafe(nil), Integer)
|
2254
|
+
|
2255
|
+
# source://reline//lib/reline/line_editor.rb#71
|
2256
|
+
Reline::LineEditor::MINIMUM_SCROLLBAR_HEIGHT = T.let(T.unsafe(nil), Integer)
|
2257
|
+
|
2258
|
+
# source://reline//lib/reline/line_editor.rb#48
|
2259
|
+
class Reline::LineEditor::MenuInfo
|
2260
|
+
# @return [MenuInfo] a new instance of MenuInfo
|
2261
|
+
#
|
2262
|
+
# source://reline//lib/reline/line_editor.rb#51
|
2263
|
+
def initialize(list); end
|
2264
|
+
|
2265
|
+
# source://reline//lib/reline/line_editor.rb#55
|
2266
|
+
def lines(screen_width); end
|
2267
|
+
|
2268
|
+
# Returns the value of attribute list.
|
2269
|
+
#
|
2270
|
+
# source://reline//lib/reline/line_editor.rb#49
|
2271
|
+
def list; end
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
# source://reline//lib/reline/line_editor.rb#46
|
2275
|
+
Reline::LineEditor::NullActionState = T.let(T.unsafe(nil), Array)
|
2276
|
+
|
2277
|
+
# source://reline//lib/reline/line_editor.rb#43
|
2278
|
+
class Reline::LineEditor::RenderedScreen < ::Struct
|
2279
|
+
# Returns the value of attribute base_y
|
2280
|
+
#
|
2281
|
+
# @return [Object] the current value of base_y
|
2282
|
+
def base_y; end
|
2283
|
+
|
2284
|
+
# Sets the attribute base_y
|
2285
|
+
#
|
2286
|
+
# @param value [Object] the value to set the attribute base_y to.
|
2287
|
+
# @return [Object] the newly set value
|
2288
|
+
def base_y=(_); end
|
2289
|
+
|
2290
|
+
# Returns the value of attribute cursor_y
|
2291
|
+
#
|
2292
|
+
# @return [Object] the current value of cursor_y
|
2293
|
+
def cursor_y; end
|
2294
|
+
|
2295
|
+
# Sets the attribute cursor_y
|
2296
|
+
#
|
2297
|
+
# @param value [Object] the value to set the attribute cursor_y to.
|
2298
|
+
# @return [Object] the newly set value
|
2299
|
+
def cursor_y=(_); end
|
2300
|
+
|
2301
|
+
# Returns the value of attribute lines
|
2302
|
+
#
|
2303
|
+
# @return [Object] the current value of lines
|
2304
|
+
def lines; end
|
2305
|
+
|
2306
|
+
# Sets the attribute lines
|
2307
|
+
#
|
2308
|
+
# @param value [Object] the value to set the attribute lines to.
|
2309
|
+
# @return [Object] the newly set value
|
2310
|
+
def lines=(_); end
|
2311
|
+
|
2312
|
+
class << self
|
2313
|
+
def [](*_arg0); end
|
2314
|
+
def inspect; end
|
2315
|
+
def keyword_init?; end
|
2316
|
+
def members; end
|
2317
|
+
def new(*_arg0); end
|
2318
|
+
end
|
2319
|
+
end
|
2320
|
+
|
2321
|
+
# source://reline//lib/reline/line_editor.rb#17
|
2322
|
+
Reline::LineEditor::VI_MOTIONS = T.let(T.unsafe(nil), Array)
|
2323
|
+
|
2324
|
+
# source://reline//lib/reline/line_editor.rb#977
|
2325
|
+
Reline::LineEditor::VI_WAITING_ACCEPT_METHODS = T.let(T.unsafe(nil), Array)
|
2326
|
+
|
2327
|
+
# source://reline//lib/reline.rb#16
|
2328
|
+
Reline::USERNAME_COMPLETION_PROC = T.let(T.unsafe(nil), T.untyped)
|
2329
|
+
|
2330
|
+
# source://reline//lib/reline/unicode.rb#1
|
2331
|
+
class Reline::Unicode
|
2332
|
+
class << self
|
2333
|
+
# source://reline//lib/reline/unicode.rb#98
|
2334
|
+
def calculate_width(str, allow_escape_code = T.unsafe(nil)); end
|
2335
|
+
|
2336
|
+
# source://reline//lib/reline/unicode.rb#387
|
2337
|
+
def common_prefix(list, ignore_case: T.unsafe(nil)); end
|
2338
|
+
|
2339
|
+
# source://reline//lib/reline/unicode.rb#292
|
2340
|
+
def ed_transpose_words(line, byte_pointer); end
|
2341
|
+
|
2342
|
+
# source://reline//lib/reline/unicode.rb#278
|
2343
|
+
def em_backward_word(line, byte_pointer); end
|
2344
|
+
|
2345
|
+
# source://reline//lib/reline/unicode.rb#285
|
2346
|
+
def em_big_backward_word(line, byte_pointer); end
|
2347
|
+
|
2348
|
+
# source://reline//lib/reline/unicode.rb#264
|
2349
|
+
def em_forward_word(line, byte_pointer); end
|
2350
|
+
|
2351
|
+
# source://reline//lib/reline/unicode.rb#271
|
2352
|
+
def em_forward_word_with_capitalization(line, byte_pointer); end
|
2353
|
+
|
2354
|
+
# source://reline//lib/reline/unicode.rb#44
|
2355
|
+
def escape_for_print(str); end
|
2356
|
+
|
2357
|
+
# source://reline//lib/reline/unicode.rb#75
|
2358
|
+
def get_mbchar_width(mbchar); end
|
2359
|
+
|
2360
|
+
# source://reline//lib/reline/unicode.rb#250
|
2361
|
+
def get_next_mbchar_size(line, byte_pointer); end
|
2362
|
+
|
2363
|
+
# source://reline//lib/reline/unicode.rb#255
|
2364
|
+
def get_prev_mbchar_size(line, byte_pointer); end
|
2365
|
+
|
2366
|
+
# source://reline//lib/reline/unicode.rb#57
|
2367
|
+
def safe_encode(str, encoding); end
|
2368
|
+
|
2369
|
+
# @return [Boolean]
|
2370
|
+
#
|
2371
|
+
# source://reline//lib/reline/unicode.rb#412
|
2372
|
+
def space_character?(s); end
|
2373
|
+
|
2374
|
+
# This method is used by IRB
|
2375
|
+
#
|
2376
|
+
# source://reline//lib/reline/unicode.rb#125
|
2377
|
+
def split_by_width(str, max_width); end
|
2378
|
+
|
2379
|
+
# source://reline//lib/reline/unicode.rb#130
|
2380
|
+
def split_line_by_width(str, max_width, encoding = T.unsafe(nil), offset: T.unsafe(nil)); end
|
2381
|
+
|
2382
|
+
# source://reline//lib/reline/unicode.rb#172
|
2383
|
+
def strip_non_printing_start_end(prompt); end
|
2384
|
+
|
2385
|
+
# source://reline//lib/reline/unicode.rb#181
|
2386
|
+
def take_mbchar_range(str, start_col, width, cover_begin: T.unsafe(nil), cover_end: T.unsafe(nil), padding: T.unsafe(nil)); end
|
2387
|
+
|
2388
|
+
# Take a chunk of a String cut by width with escape sequences.
|
2389
|
+
#
|
2390
|
+
# source://reline//lib/reline/unicode.rb#177
|
2391
|
+
def take_range(str, start_col, max_width); end
|
2392
|
+
|
2393
|
+
# source://reline//lib/reline/unicode.rb#378
|
2394
|
+
def vi_backward_word(line, byte_pointer); end
|
2395
|
+
|
2396
|
+
# source://reline//lib/reline/unicode.rb#333
|
2397
|
+
def vi_big_backward_word(line, byte_pointer); end
|
2398
|
+
|
2399
|
+
# source://reline//lib/reline/unicode.rb#323
|
2400
|
+
def vi_big_forward_end_word(line, byte_pointer); end
|
2401
|
+
|
2402
|
+
# source://reline//lib/reline/unicode.rb#316
|
2403
|
+
def vi_big_forward_word(line, byte_pointer); end
|
2404
|
+
|
2405
|
+
# source://reline//lib/reline/unicode.rb#400
|
2406
|
+
def vi_first_print(line); end
|
2407
|
+
|
2408
|
+
# source://reline//lib/reline/unicode.rb#360
|
2409
|
+
def vi_forward_end_word(line, byte_pointer); end
|
2410
|
+
|
2411
|
+
# source://reline//lib/reline/unicode.rb#340
|
2412
|
+
def vi_forward_word(line, byte_pointer, drop_terminate_spaces = T.unsafe(nil)); end
|
2413
|
+
|
2414
|
+
# @return [Boolean]
|
2415
|
+
#
|
2416
|
+
# source://reline//lib/reline/unicode.rb#406
|
2417
|
+
def word_character?(s); end
|
2418
|
+
end
|
2419
|
+
end
|
2420
|
+
|
2421
|
+
# source://reline//lib/reline/unicode.rb#40
|
2422
|
+
Reline::Unicode::CSI_REGEXP = T.let(T.unsafe(nil), Regexp)
|
2423
|
+
|
2424
|
+
# source://reline//lib/reline/unicode/east_asian_width.rb#5
|
2425
|
+
Reline::Unicode::EastAsianWidth::CHUNK_LAST = T.let(T.unsafe(nil), Array)
|
2426
|
+
|
2427
|
+
# source://reline//lib/reline/unicode/east_asian_width.rb#5
|
2428
|
+
Reline::Unicode::EastAsianWidth::CHUNK_WIDTH = T.let(T.unsafe(nil), Array)
|
2429
|
+
|
2430
|
+
# C-? C-8
|
2431
|
+
#
|
2432
|
+
# source://reline//lib/reline/unicode.rb#36
|
2433
|
+
Reline::Unicode::EscapedChars = T.let(T.unsafe(nil), Array)
|
2434
|
+
|
2435
|
+
# source://reline//lib/reline/unicode.rb#2
|
2436
|
+
Reline::Unicode::EscapedPairs = T.let(T.unsafe(nil), Hash)
|
2437
|
+
|
2438
|
+
# source://reline//lib/reline/unicode.rb#39
|
2439
|
+
Reline::Unicode::NON_PRINTING_END = T.let(T.unsafe(nil), String)
|
2440
|
+
|
2441
|
+
# source://reline//lib/reline/unicode.rb#38
|
2442
|
+
Reline::Unicode::NON_PRINTING_START = T.let(T.unsafe(nil), String)
|
2443
|
+
|
2444
|
+
# source://reline//lib/reline/unicode.rb#41
|
2445
|
+
Reline::Unicode::OSC_REGEXP = T.let(T.unsafe(nil), Regexp)
|
2446
|
+
|
2447
|
+
# source://reline//lib/reline/unicode.rb#42
|
2448
|
+
Reline::Unicode::WIDTH_SCANNER = T.let(T.unsafe(nil), Regexp)
|
2449
|
+
|
2450
|
+
# source://reline//lib/reline/version.rb#2
|
2451
|
+
Reline::VERSION = T.let(T.unsafe(nil), String)
|