D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Reline
/
LineEditor
/
Filename :
ed_insert-i.ri
back
Copy
U:RDoc::AnyMethod[iI"ed_insert:ETI"!Reline::LineEditor#ed_insert;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I" Editline;T; [o:RDoc::Markup::Paragraph; [I"E+ed-insert+ (vi input: almost all; emacs: printable characters) ;TI"CIn insert mode, insert the input character left of the cursor ;TI"?position. In replace mode, overwrite the character at the ;TI">cursor and move the cursor to the right by one character ;TI"Bposition. Accept an argument to do this repeatedly. It is an ;TI"Cerror if the input character is the NUL character (+Ctrl-@+). ;TI"AFailure to enlarge the edit buffer also results in an error.;To;;[I" Editline;T; [o;; [ I"B+ed-digit+ (emacs: 0 to 9) If in argument input mode, append ;TI"Athe input digit to the argument being read. Otherwise, call ;TI"A+ed-insert+. It is an error if the input character is not a ;TI"Adigit or if the existing argument is already greater than a ;TI" million.;To;;[I"GNU Readline;T; [o;; [I"8+self-insert+ (a, b, A, 1, !, …) Insert yourself.;T: @fileI"lib/reline/line_editor.rb;T:0@omit_headings_from_table_of_contents_below000[[I" ed_digit;To;; [ ;@,;0[I"self_insert;To;; [ ;@,;0I" (str);T@,FI"LineEditor;TcRDoc::NormalClass00