Top Description Methods
org.eclipse.swt.custom

public Interface StyledTextLineSpacingProvider

Annotations
@FunctionalInterface

Line spacing provider used to customize different line spacing for some lines of StyledText
Since
3.107

Method Summary

Modifier and TypeMethod and Description
public Integer

Returns:

the line spacing of the given line index and null otherwise. In this case, it will use the StyledText#getLineSpacing().
getLineSpacing
(int
line index.
lineIndex
)

Returns the line spacing of the given line index and null otherwise.

Method Detail

getLineSpacingback to summary
public Integer getLineSpacing(int lineIndex)

Returns the line spacing of the given line index and null otherwise. In this case, it will use the StyledText#getLineSpacing().

Parameters
lineIndex:int

line index.

Returns:Integer

the line spacing of the given line index and null otherwise. In this case, it will use the StyledText#getLineSpacing().

Since
3.107