Rope.column

Get the column the given index is on.

struct Rope
const
ptrdiff_t
column
(
Chartype
)
(
size_t index
)

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