SourceView.setIndentOnTab

If %TRUE, when the tab key is pressed and there is a selection, the selected text is indented of one level instead of being replaced with the \t characters. Shift+Tab unindents the selection.

class SourceView
void
setIndentOnTab
(
bool enable
)

Parameters

enable bool

whether to indent a block when tab is pressed.

Meta