Rezi
    Preparing search index...

    Function computeAutoIndent

    • Compute auto-indent for newline insertion.

      Parameters

      • lines: readonly string[]

        Current document lines

      • cursor: CursorPosition

        Cursor position

      • tabSize: number = DEFAULT_TAB_SIZE

        Tab size in spaces

      Returns string

      Indent string to prepend to new line