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 IndentsModelpublic IndentGuideDescriptor getDescriptor(int startLine, int endLine)
IndentsModelgetDescriptor in interface IndentsModelstartLine - 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