Skip to content

[Bug]: 通过行号以及列号获取token的Index不太对 #376

@openai0229

Description

@openai0229

Version

the latest

Which SQL?

MySQL

SQL content

create table abcd ( {$空格}  
      {$光标}

)

JavaScript/TypeScript code

No response

What happened?

如果按照行列获取的话,此时光标所处的行数是第二行,但是这个token的起始行是第一行

Relevant log output

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions