Package org.jline.builtins
Class Nano
java.lang.Object
org.jline.builtins.Nano
- All Implemented Interfaces:
org.jline.reader.Editor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class
protected static enum
protected static enum
protected static class
protected static enum
protected static enum
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final org.jline.keymap.BindingReader
protected Nano.Buffer
protected int
protected final List
<Nano.Buffer> boolean
protected final org.jline.utils.Display
protected final StringBuilder
protected String
protected String
protected boolean
protected org.jline.keymap.KeyMap
<Nano.Operation> protected boolean
protected int
protected String
boolean
protected int
boolean
protected Nano.PatternHistory
boolean
boolean
protected boolean
protected final Path
protected boolean
protected boolean
protected boolean
protected String
protected LinkedHashMap
<String, String> protected final org.jline.terminal.Size
boolean
int
protected final org.jline.terminal.Terminal
protected final int
boolean
protected Nano.WriteMode
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
terminal
protected final org.jline.terminal.Terminal terminal -
display
protected final org.jline.utils.Display display -
bindingReader
protected final org.jline.keymap.BindingReader bindingReader -
size
protected final org.jline.terminal.Size size -
root
-
vsusp
protected final int vsusp -
keys
-
title
-
printLineNumbers
public boolean printLineNumbers -
wrapping
public boolean wrapping -
smoothScrolling
public boolean smoothScrolling -
mouseSupport
public boolean mouseSupport -
oneMoreLine
public boolean oneMoreLine -
constantCursor
public boolean constantCursor -
quickBlank
public boolean quickBlank -
tabs
public int tabs -
brackets
-
matchBrackets
-
punct
-
quoteStr
-
buffers
-
bufferIndex
protected int bufferIndex -
buffer
-
message
-
errorMessage
-
nbBindings
protected int nbBindings -
shortcuts
-
editMessage
-
editBuffer
-
searchCaseSensitive
protected boolean searchCaseSensitive -
searchRegexp
protected boolean searchRegexp -
searchBackwards
protected boolean searchBackwards -
searchTerm
-
matchedLength
protected int matchedLength -
patternHistory
-
writeMode
-
cutbuffer
-
mark
protected boolean mark -
highlight
protected boolean highlight -
readNewBuffer
protected boolean readNewBuffer
-
-
Constructor Details
-
Nano
-
Nano
-
Nano
-
Nano
public Nano(org.jline.terminal.Terminal terminal, Path root, Options opts, ConfigurationPath configPath)
-
-
Method Details
-
usage
-
setRestricted
public void setRestricted(boolean restricted) - Specified by:
setRestricted
in interfaceorg.jline.reader.Editor
-
open
- Throws:
IOException
-
open
- Specified by:
open
in interfaceorg.jline.reader.Editor
- Throws:
IOException
-
run
- Specified by:
run
in interfaceorg.jline.reader.Editor
- Throws:
IOException
-
getTitle
-
handle
protected void handle(org.jline.terminal.Terminal.Signal signal) -
bindKeys
protected void bindKeys()
-