|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of TextEditor in com.petebevin.markdown |
---|
Methods in com.petebevin.markdown that return TextEditor | |
---|---|
TextEditor |
TextEditor.deleteAll(String pattern)
Remove all occurrences of the given regex pattern, replacing them with the empty string. |
TextEditor |
TextEditor.detabify()
Convert tabs to spaces given the default tab width of 4 spaces. |
TextEditor |
TextEditor.detabify(int tabWidth)
Convert tabs to spaces. |
TextEditor |
TextEditor.indent(int spaces)
Introduce a number of spaces at the start of each line. |
TextEditor |
TextEditor.outdent()
Remove one tab width (4 spaces) from the start of each line. |
TextEditor |
TextEditor.outdent(int spaces)
Remove a number of spaces at the start of each line. |
TextEditor |
TextEditor.replaceAll(Pattern pattern,
Replacement replacement)
Replace all occurrences of the Pattern. |
TextEditor |
TextEditor.replaceAll(String regex,
String replacement)
Replace all occurrences of the regular expression with the replacement. |
TextEditor |
TextEditor.replaceAllLiteral(String regex,
String replacement)
Same as replaceAll(String, String), but does not interpret $1, $2 etc. |
TextEditor |
MarkdownProcessor.runBlockGamut(TextEditor text)
|
TextEditor |
MarkdownProcessor.runSpanGamut(TextEditor text)
|
TextEditor |
TextEditor.trim()
Remove leading and trailing space from the start and end of the buffer. |
Methods in com.petebevin.markdown with parameters of type TextEditor | |
---|---|
TextEditor |
MarkdownProcessor.runBlockGamut(TextEditor text)
|
TextEditor |
MarkdownProcessor.runSpanGamut(TextEditor text)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |