镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

🐞 Line height decreases when no characters exist on line #20

Closed

Description

@0xWDG

Description

The line height decreases if no characters exist on the line.

  • With no text
    image
  • With text
    image

Related issues

Activity

  1. changed the title [-]Line height incorrect.[/-] [+]🐞 Line height incorrect.[/+] on Jun 24, 2022
  2. ben-p-commits commented on Jan 18, 2023

    @ben-p-commits
    Contributor

    @austincondiff , i'll take this one, I'm having fun poking at CETV lately :)

  3. lukepistrol commented on Jan 18, 2023

    @lukepistrol
    Member

    @ben-p-commits assigned it to you

  4. ben-p-commits commented on Jan 18, 2023

    @ben-p-commits
    Contributor

    After doing some digging, I do see a code path for handling the empty text container case when laying out the STLineNumberRulerView in STTextView

    image

    I'm not seeing this bug in the sample app embedded in the dependency... a good sign we can fix this on our end.

  5. ben-p-commits commented on Jan 18, 2023

    @ben-p-commits
    Contributor

    Also confirmed that pulling in the latest main branch work on STTextView doesn't address this.

  6. ben-p-commits commented on Jan 18, 2023

    @ben-p-commits
    Contributor

    @krzyzanowskim - do you have any thoughts on how our usage of STTextView could be causing this?

    I'm stumped. Not sure how our code is influencing this...

  7. austincondiff commented on Feb 16, 2023

    @austincondiff
    Collaborator

    @ben-p-commits I believe the problem was caused when I decreased the font size of the line numbers. Because there is no text, the line collapses on the tallest item which is the smaller line number after removing the last character of the larger code. We may need a minimum height on each line or set the line height of the line number to be equal to the line height of the code.

  8. moved this from 🆕 New to 📋 Todo in CodeEdit Projecton Feb 16, 2023
  9. moved this from 📋 Todo to 🏃‍♂️ In Progress in CodeEdit Projecton Feb 16, 2023
  10. changed the title [-]🐞 Line height incorrect.[/-] [+]🐞 Line height decreases when no characters exist on line[/+] on Feb 16, 2023
  11. moved this from 🏃‍♂️ In Progress to 📋 Todo in CodeEdit Projecton Mar 6, 2023
  12. luah5 commented on Mar 29, 2023

    @luah5
    Member

    a slight edit to #170 could fix this issue.

  13. austincondiff commented on Mar 29, 2023

    @austincondiff
    Collaborator

    @luah5 Did you want to take this one then?

  14. luah5 commented on Mar 29, 2023

    @luah5
    Member

    @luah5 Did you want to take this one then?

    i've barely looked into this but i'll take it, also CETV needs to be updated.

  15. luah5 commented on Apr 25, 2023

    @luah5
    Member

    This might have something to do with @Eliulm's message where he pointed out that the line height overlaps a bit.

  16. thecoolwinter commented on Dec 9, 2023

    @thecoolwinter
    Collaborator

    This has been resolved with #211.

    Screen.Recording.2023-12-09.at.3.09.04.PM.mov
  17. moved this from 📋 Todo to 🏁 Complete in CodeEdit Projecton Dec 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions