Re: LSP: cursor positioning on a multi-byte character with composing characters

2023-06-10 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > > > I am updating the Vim9 LSP plugin to support various position > > > encodings (utf-8, utf-16 and utf-32). > > > I ran into a problem with positioning the cursor on a multibyte > > > character with composing characters. > > > > > > The LSP plugin uses the Vim function

Re: LSP: cursor positioning on a multi-byte character with composing characters

2023-06-09 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sat, Jun 3, 2023 at 3:48 PM Bram Moolenaar wrote: > > > Yegappan wrote: > > > I am updating the Vim9 LSP plugin to support various position > > encodings (utf-8, utf-16 and utf-32). > > I ran into a problem with positioning the cursor on a multibyte > > character with composing

Re: LSP: cursor positioning on a multi-byte character with composing characters

2023-06-06 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sat, Jun 3, 2023 at 3:48 PM Bram Moolenaar wrote: > > > Yegappan wrote: > > > I am updating the Vim9 LSP plugin to support various position > > encodings (utf-8, utf-16 and utf-32). > > I ran into a problem with positioning the cursor on a multibyte > > character with composing

Re: LSP: cursor positioning on a multi-byte character with composing characters

2023-06-03 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > I am updating the Vim9 LSP plugin to support various position > encodings (utf-8, utf-16 and utf-32). > I ran into a problem with positioning the cursor on a multibyte > character with composing characters. > > The LSP plugin uses the Vim function setcursorcharpos() to

LSP: cursor positioning on a multi-byte character with composing characters

2023-06-03 Fir de Conversatie Yegappan Lakshmanan
Hi, I am updating the Vim9 LSP plugin to support various position encodings (utf-8, utf-16 and utf-32). I ran into a problem with positioning the cursor on a multibyte character with composing characters. The LSP plugin uses the Vim function setcursorcharpos() to position the cursor. This