Package org.jline.builtins
Class Nano
java.lang.Object
org.jline.builtins.Nano
- All Implemented Interfaces:
Editor
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected static enum
protected static enum
protected static class
protected static enum
protected static enum
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BindingReader
protected Nano.Buffer
protected int
protected final List
<Nano.Buffer> boolean
protected final Display
protected final StringBuilder
protected String
protected String
protected boolean
protected 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 Size
boolean
int
protected final Terminal
protected final int
boolean
protected Nano.WriteMode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
bindKeys()
protected List
<AttributedString> getTitle()
protected void
handle
(Terminal.Signal signal) void
void
void
run()
void
setRestricted
(boolean restricted) static String[]
usage()
-
Field Details
-
terminal
-
display
-
bindingReader
-
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
-
-
Method Details
-
usage
-
setRestricted
public void setRestricted(boolean restricted) - Specified by:
setRestricted
in interfaceEditor
-
open
- Throws:
IOException
-
open
- Specified by:
open
in interfaceEditor
- Throws:
IOException
-
run
- Specified by:
run
in interfaceEditor
- Throws:
IOException
-
getTitle
-
handle
-
bindKeys
protected void bindKeys()
-