View.getIndentOnTab

bool getIndentOnTab()

Returns whether when the tab key is pressed the current selection should get indented instead of replaced with the \t character.

Returns

true if the selection is indented when tab is pressed.