public class EmptyIndentsModel extends java.lang.Object implements IndentsModel
Constructor and Description |
---|
EmptyIndentsModel() |
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.
|
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