-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: 通过行号以及列号获取token的Index不太对 #376
Labels
bug
Something isn't working
Comments
或者说是我使用的姿势不对? |
能否提供更多细节帮助复现该问题,比如一个最小 demo 或你使用时的代码。也可以看下这个文档:关于文本位置和文本范围,看是否有帮助, |
create table abcd ( {$这是token的开始
{$这是光标当前的位置}
这是token的结束} ) 这个token从第一行开始的,一直到 周一我再找找我写的demo代码,不过我的代码好像使用Java写的,我是借鉴咱这获取token的index的方法的时候发现的错误 |
okok |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version
the latest
Which SQL?
MySQL
SQL content
JavaScript/TypeScript code
No response
What happened?
如果按照行列获取的话,此时光标所处的行数是第二行,但是这个token的起始行是第一行
Relevant log output
No response
The text was updated successfully, but these errors were encountered: