Hi Bram,
On Thu, Jan 7, 2021 at 1:04 PM Bram Moolenaar wrote:
>
> Yegappan wrote:
>
> > The getpos(), col() and getcurpos() functions currently return the byte
> > index
> > in a line. The setpos() and cursor() functions use the byte index to
> > position
> > the cursor or to set a mark.
> >
> >
Yegappan wrote:
> > > The getpos(), col() and getcurpos() functions currently return the byte
> > > index
> > > in a line. The setpos() and cursor() functions use the byte index to
> > > position
> > > the cursor or to set a mark.
> > >
> > > The language server protocol uses character index ins
Hi Bram,
On Thu, Jan 7, 2021 at 1:04 PM Bram Moolenaar wrote:
>
> Yegappan wrote:
>
> > The getpos(), col() and getcurpos() functions currently return the byte
> > index
> > in a line. The setpos() and cursor() functions use the byte index to
> > position
> > the cursor or to set a mark.
> >
> >
Yegappan wrote:
> The getpos(), col() and getcurpos() functions currently return the byte
> index
> in a line. The setpos() and cursor() functions use the byte index to
> position
> the cursor or to set a mark.
>
> The language server protocol uses character index instead of byte index
> in a l
Hi all,
The getpos(), col() and getcurpos() functions currently return the byte
index
in a line. The setpos() and cursor() functions use the byte index to
position
the cursor or to set a mark.
The language server protocol uses character index instead of byte index
in a line. I see that the variou