gui.getTextEditorStructure

Return indentation info of a text.

Prototype

  1. {{ sText, nLine, nFoldingLevel}} = gui.getTextEditorStructure ( hComponent )

Parameters

hComponent - valid GUI component handle


Return values

{{ sText, nLine, nFoldingLevel}} - Lua table with text string, line and folding level numbers (1..n)


Available since ShiVa 2.0