Package org.eclipse.swt.custom
Interface StyledTextLineSpacingProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Line spacing provider used to customize different line spacing for some lines
of
StyledText
- Since:
- 3.107
-
Method Summary
Modifier and TypeMethodDescriptiongetLineSpacing
(int lineIndex) Returns the line spacing of the given line index and null otherwise.
-
Method Details
-
getLineSpacing
Returns the line spacing of the given line index and null otherwise. In this case, it will use theStyledText.getLineSpacing()
.- Parameters:
lineIndex
- line index.- Returns:
- the line spacing of the given line index and null otherwise. In this
case, it will use the
StyledText.getLineSpacing()
. - Since:
- 3.107
-