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

Cursor position in code block // 代码块光标位置错误 #11259

Open
1 of 2 tasks
ADanglingCat opened this issue Apr 24, 2024 · 1 comment
Open
1 of 2 tasks

Cursor position in code block // 代码块光标位置错误 #11259

ADanglingCat opened this issue Apr 24, 2024 · 1 comment
Labels
need-to-reproduce More clues are required to reproduce the issue.

Comments

@ADanglingCat
Copy link

Search first

  • I searched and no similar issues were found

What Happened?

image 在代码块里, 鼠标单击第6行, 光标却跑到第8行了

Reproduce the Bug

  1. 创建如下代码块
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;

@Test
void groupedAssertions() {
  // In a grouped assertion all assertions are executed, and any
  // failures will be reported together.
  assertAll("person",
            () -> assertEquals("John", person.getFirstName()),
            () -> assertEquals("Doe", person.getLastName())
           );
}
  1. 鼠标点击某一行

Expected Behavior

光标正确聚焦到对应的行

Screenshots

No response

Desktop or Mobile Platform Information

App Version: 0.10.9
Git Revision: c67b8b5
Platform: Mozilla/5.0 (Macintosh Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML like Gecko) Logseq/0.10.9 Chrome/118.0.5993.159 Electron/27.1.3 Safari/537.36
Language: zh-CN
Plugins: logseq-journals-calendar (v0.10.10), logseq-markdown-table (v1.8.0), logseq-catppuccin (v0.6.2), logseq-bonofix-theme (v3.10.4), logseq-emoji-picker-fork (v0.0.6), logseq-unsplash (v1.0.0), logseq-tocgen (v2.13.0), logseq-simpread (v0.1.5), logseq-dev-theme (v1.26.17), logseq-image-uploader (v0.0.12)

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@andelf andelf added the need-to-reproduce More clues are required to reproduce the issue. label Apr 24, 2024
@andelf andelf changed the title 代码块光标位置错误 Cursor position in code block // 代码块光标位置错误 Apr 24, 2024
@andelf
Copy link
Collaborator

andelf commented Apr 24, 2024

Unable to reproduce this.

抱歉无法复现, 请确认:

  • 是否需要新建页面
  • 当前页面其他内容
  • Markdown 源文本
  • 该文件是否来自外部创建

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-to-reproduce More clues are required to reproduce the issue.
Projects
None yet
Development

No branches or pull requests

2 participants