TextDisplay.lineNumberWidth

int lineNumberWidth() const

Gets the line number display width.

Returns

Width in pixels (0 if hidden)
void lineNumberWidth(int width)

Sets the line number display width.

Parameters

widthWidth in pixels (0 to hide line numbers)