### Description Finally narrowed it down to this. Basically what the title says. See the Screenshots section for visuals. <details> <summary>previous titles</summary> - 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 </details> ### To Reproduce 1. Open a text file in CodeEdit - If the file has blank lines at the end, remove them 1. 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 https://github.com/CodeEditApp/CodeEdit/assets/49006567/7758414b-a1db-4f1b-8e58-9fa7282885f5 https://github.com/CodeEditApp/CodeEdit/assets/49006567/6dc2538f-5792-4254-966d-f8eebba0d005
Description
Finally narrowed it down to this.
Basically what the title says. See the Screenshots section for visuals.
previous titles
To Reproduce
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