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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 Text cursor does not show after the last character in the editor, except if the character is a line break #1755

Closed
plbstl opened this issue Jun 13, 2024 · 0 comments 路 Fixed by CodeEditApp/CodeEditTextView#39
Assignees
Labels
bug Something isn't working source editor
Milestone

Comments

@plbstl
Copy link
Contributor

plbstl commented Jun 13, 2024

Description

Finally narrowed it down to this.

Basically what the title says. See the Screenshots section for visuals.

previous titles
  • Cursor does not show on the last line if the file doesn't have a blank line at the EOF
  • Text cursor does not show in the last line of the editor, if the last line contains text
  • Text cursor doesn't show at the last text position if it is not a return character
  • and some more i can't remmeber

To Reproduce

  1. Open a text file in CodeEdit
    • If the file has blank lines at the end, remove them
  2. Place the text cursor at the last line of the file
    • If the file is empty, just start typing

Expected Behavior

CodeEdit should show the text cursor regardless of its location in the editor.

Version Information

CodeEdit: [e.g. 0.0.x-alpha.y]
macOS: 14.5
Xcode: 15.4

Additional Context

No response

Screenshots

no.cursor.in.last.line.when.no.blank.line.after.mov
whitespaces.too.mov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working source editor
Projects
Status: 馃弫 Complete
Development

Successfully merging a pull request may close this issue.

2 participants