public interface ITextReplacerContext
text replacer.| Modifier and Type | Method and Description |
|---|---|
void |
addReplacement(ITextReplacement replacement) |
Integer |
canAutowrap() |
IFormattableDocument |
getDocument() |
AbstractFormatter2 |
getFormatter() |
int |
getIndentation() |
String |
getIndentationString()
Returns the current indentation as a string.
|
String |
getIndentationString(int indentationLevel) |
int |
getLeadingCharsInLineCount() |
Iterable<ITextReplacement> |
getLocalReplacements() |
String |
getNewLinesString(int count) |
ITextReplacerContext |
getPreviousContext() |
List<ITextReplacement> |
getReplacementsUntil(ITextReplacerContext first) |
ITextReplacer |
getReplacer() |
boolean |
isAutowrap() |
boolean |
isInsideFormattedRegion() |
void |
setAutowrap(boolean value) |
void |
setCanAutowrap(Integer value) |
void |
setNextReplacerIsChild() |
ITextReplacerContext |
withDocument(IFormattableDocument document) |
ITextReplacerContext |
withIndentation(int indentation) |
ITextReplacerContext |
withReplacer(ITextReplacer replacer) |
void addReplacement(ITextReplacement replacement)
Integer canAutowrap()
IFormattableDocument getDocument()
AbstractFormatter2 getFormatter()
int getIndentation()
String getIndentationString()
getIndentationString(int),
getIndentation()String getIndentationString(int indentationLevel)
int getLeadingCharsInLineCount()
Iterable<ITextReplacement> getLocalReplacements()
String getNewLinesString(int count)
ITextReplacerContext getPreviousContext()
List<ITextReplacement> getReplacementsUntil(ITextReplacerContext first)
ITextReplacer getReplacer()
boolean isAutowrap()
boolean isInsideFormattedRegion()
void setAutowrap(boolean value)
void setCanAutowrap(Integer value)
void setNextReplacerIsChild()
ITextReplacerContext withDocument(IFormattableDocument document)
ITextReplacerContext withIndentation(int indentation)
ITextReplacerContext withReplacer(ITextReplacer replacer)
Copyright © 2015. All Rights Reserved.