TextInput.column

Get the column the given index (or the cursor, if omitted) is on.

  1. ptrdiff_t column(ptrdiff_t index)
  2. ptrdiff_t column()
    class TextInput
    ptrdiff_t
    column
    (
    Chartype
    )
    ()

Return Value

Type: ptrdiff_t

Return value depends on the type fed into the function. column!dchar will use characters and column!char will use bytes. The type does not have effect on the input index.

Meta