Variable: eglot-current-column-function

eglot-current-column-function is an alias for eglot-current-linepos-function, defined in eglot.el.gz.

This variable is obsolete since 29.1; use eglot-current-linepos-function instead.

Value

eglot-utf-16-linepos

Documentation

Function calculating position relative to line beginning.

It is a function of no arguments considering the text from line beginning up to current point. The return value is the number of UTF code units needed to encode that text from the LSP server's perspective. This may be a number of octets, 16-bit words or Unicode code points, depending on whether the LSP server's positionEncoding capability is UTF-8, UTF-16 or UTF-32, respectively. Position of point should remain unaltered if that return value is fed through the corresponding inverse function eglot-move-to-linepos-function (which see).

Aliases

eglot-current-column-function (obsolete since 29.1)