Ernie Rael wrote:
> The following fails when I click on a line that has tabs preceding the > click position > > def Click() > var d = getmousepos() > win_gotoid(d['winid']) > cursor(d['line'], d['column']) > enddef > > I can not find a function to convert as needed; and/or I'm missing an > option on some function. > > Any help appreciated, That actually looks like a bug. The column is limited to the number of bytes in the line, should be the number of screen columns that the text has. -- hundred-and-one symptoms of being an internet addict: 243. You unsuccessfully try to download a pizza from www.dominos.com. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20220313120830.930511C79E5%40moolenaar.net.
