Skip to content

代码块行号错误 #13677

Closed
Closed
@TCOTC

Description

@TCOTC
Contributor

https://ld246.com/article/1735566263318

video.webm
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Activity

changed the title [-]代码块行数错误[/-] [+]代码块行号错误[/+] on Dec 30, 2024
Vanessa219

Vanessa219 commented on Dec 31, 2024

@Vanessa219
Member

3.1.19

added a commit that references this issue on Dec 31, 2024
TCOTC

TCOTC commented on Jan 2, 2025

@TCOTC
ContributorAuthor

某种情况下会有个滚动条(视频 1:00 之后):

video.webm
Vanessa219

Vanessa219 commented on Jan 2, 2025

@Vanessa219
Member

拖拽过程中不会计算行高,要拖拽结束才会。

TCOTC

TCOTC commented on Jan 2, 2025

@TCOTC
ContributorAuthor

我说的是那个代码块内出现的滚动条:

image

Vanessa219

Vanessa219 commented on Jan 3, 2025

@Vanessa219
Member

嗯,这个弄不了,是由于上面的原因导致的。

TCOTC

TCOTC commented on Jan 3, 2025

@TCOTC
ContributorAuthor

我觉得最后一个行号的高度可以设置为 0 ,应该能避免这个问题

Vanessa219

Vanessa219 commented on Jan 4, 2025

@Vanessa219
Member

这样也避免不了这个情况

TCOTC

TCOTC commented on Jan 7, 2025

@TCOTC
ContributorAuthor

我发现这样的情况下行号还是有问题:

video.webm
11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111111111111111111111111111111111111111111
88250

88250 commented on Jan 8, 2025

@88250
Member

我这里可以重现

added a commit that references this issue on Jan 10, 2025
Vanessa219

Vanessa219 commented on Jan 10, 2025

@Vanessa219
Member

我这里重现不了,但修改了一下,还麻烦再看看。

7 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Vanessa219@TCOTC

      Issue actions

        代码块行号错误 · Issue #13677 · siyuan-note/siyuan