Skip to content
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

使用 CodeLineEditingController.edit 方法用 '\n' 加入多行文本时,行号标注错误 #57

Open
EricTianC opened this issue Dec 12, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@EricTianC
Copy link

Describe the bug
使用 CodeLineEditingController.edit 方法用加入用 '\n' 标识的多行文本时,编辑器行号标注错误

Screenshots
image
image

Device:

  • OS: Windows 11
  • Version: re_editor: ^0.6.0
    re_highlight: ^0.0.3
@EricTianC EricTianC added the bug Something isn't working label Dec 12, 2024
@MegatronKing
Copy link
Member

edit函数必须传入单行文本,re_editor性能优化的核心就是编辑时候聚焦于单行而不是全文。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants