| Modifier and Type | Class and Description |
|---|---|
protected class |
Nano.Buffer |
protected static class |
Nano.CursorMovement |
protected static class |
Nano.Operation |
protected static class |
Nano.Parser |
protected static class |
Nano.PatternHistory |
static class |
Nano.SyntaxHighlighter |
protected static class |
Nano.WriteFormat |
protected static class |
Nano.WriteMode |
| Modifier and Type | Field and Description |
|---|---|
protected BindingReader |
bindingReader |
String |
brackets |
protected Nano.Buffer |
buffer |
protected int |
bufferIndex |
protected List<Nano.Buffer> |
buffers |
boolean |
constantCursor |
protected List<String> |
cutbuffer |
protected org.jline.utils.Display |
display |
protected StringBuilder |
editBuffer |
protected String |
editMessage |
protected String |
errorMessage |
protected boolean |
highlight |
protected KeyMap<Nano.Operation> |
keys |
protected boolean |
mark |
String |
matchBrackets |
protected int |
matchedLength |
protected String |
message |
boolean |
mouseSupport |
protected int |
nbBindings |
boolean |
oneMoreLine |
protected Nano.PatternHistory |
patternHistory |
boolean |
printLineNumbers |
String |
punct |
boolean |
quickBlank |
String |
quoteStr |
protected boolean |
readNewBuffer |
protected Path |
root |
protected boolean |
searchBackwards |
protected boolean |
searchCaseSensitive |
protected boolean |
searchRegexp |
protected String |
searchTerm |
protected LinkedHashMap<String,String> |
shortcuts |
protected org.jline.terminal.Size |
size |
boolean |
smoothScrolling |
int |
tabs |
protected org.jline.terminal.Terminal |
terminal |
String |
title |
protected int |
vsusp |
boolean |
wrapping |
protected Nano.WriteMode |
writeMode |
| Constructor and Description |
|---|
Nano(org.jline.terminal.Terminal terminal,
File root) |
Nano(org.jline.terminal.Terminal terminal,
Path root) |
Nano(org.jline.terminal.Terminal terminal,
Path root,
Options opts) |
Nano(org.jline.terminal.Terminal terminal,
Path root,
Options opts,
ConfigurationPath configPath) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
bindKeys() |
protected List<org.jline.utils.AttributedString> |
computeFooter() |
String |
getTitle() |
protected void |
handle(org.jline.terminal.Terminal.Signal signal) |
void |
open(List<String> files) |
void |
open(String... files) |
void |
run() |
void |
setRestricted(boolean restricted) |
static String[] |
usage() |
protected final org.jline.terminal.Terminal terminal
protected final org.jline.utils.Display display
protected final BindingReader bindingReader
protected final org.jline.terminal.Size size
protected final Path root
protected final int vsusp
protected KeyMap<Nano.Operation> keys
public String title
public boolean printLineNumbers
public boolean wrapping
public boolean smoothScrolling
public boolean mouseSupport
public boolean oneMoreLine
public boolean constantCursor
public boolean quickBlank
public int tabs
public String brackets
public String matchBrackets
public String punct
public String quoteStr
protected final List<Nano.Buffer> buffers
protected int bufferIndex
protected Nano.Buffer buffer
protected String message
protected String errorMessage
protected int nbBindings
protected LinkedHashMap<String,String> shortcuts
protected String editMessage
protected final StringBuilder editBuffer
protected boolean searchCaseSensitive
protected boolean searchRegexp
protected boolean searchBackwards
protected String searchTerm
protected int matchedLength
protected Nano.PatternHistory patternHistory
protected Nano.WriteMode writeMode
protected boolean mark
protected boolean highlight
protected boolean readNewBuffer
public Nano(org.jline.terminal.Terminal terminal,
File root)
public Nano(org.jline.terminal.Terminal terminal,
Path root)
public Nano(org.jline.terminal.Terminal terminal,
Path root,
Options opts,
ConfigurationPath configPath)
public static String[] usage()
public void setRestricted(boolean restricted)
setRestricted in interface Editorpublic void open(String... files) throws IOException
IOExceptionpublic void open(List<String> files) throws IOException
open in interface EditorIOExceptionpublic void run()
throws IOException
run in interface EditorIOExceptionpublic String getTitle()
protected List<org.jline.utils.AttributedString> computeFooter()
protected void handle(org.jline.terminal.Terminal.Signal signal)
protected void bindKeys()
Copyright © 2020. All rights reserved.