public class IndentsModelImpl extends java.lang.Object implements IndentsModel
Constructor and Description |
---|
IndentsModelImpl(EditorImpl editor) |
Modifier and Type | Method and Description |
---|---|
void |
assumeIndents(java.util.List<IndentGuideDescriptor> descriptors) |
IndentGuideDescriptor |
getCaretIndentGuide() |
IndentGuideDescriptor |
getDescriptor(int startLine,
int endLine)
Tries to return a descriptor (if any) that defines indent guide for the given lines.
|
java.util.List<IndentGuideDescriptor> |
getIndents() |
public IndentsModelImpl(EditorImpl editor)
public java.util.List<IndentGuideDescriptor> getIndents()
public IndentGuideDescriptor getCaretIndentGuide()
getCaretIndentGuide
in interface IndentsModel
public IndentGuideDescriptor getDescriptor(int startLine, int endLine)
IndentsModel
getDescriptor
in interface IndentsModel
startLine
- logical line where target indent guide is startedendLine
- logical line where target indent guide is endednull
otherwisepublic void assumeIndents(java.util.List<IndentGuideDescriptor> descriptors)
assumeIndents
in interface IndentsModel