rust-lang/rust-enhanced

Broken Home/End behavior on Windows with Unix line endings

kvark opened this issue · 0 comments

kvark commented

Sublime Text Version

Sublime Text 4 build 4143

Rust Enhanced Version

v2.25.0

Operating system

A good example is:
OS Name Microsoft Windows 11 Home
Version 10.0.22621 Build 22621

Expected behavior

Home always brings the cursor to the start of the line. End brings it to the end of the line.

Actual behavior

Sometimes the cursor jumps to the start of the previous line, or the end of the next line instead.
Very annoying.

Steps to reproduce

Edit a file in Unix line endings.
Example - original cursor position:
st4-before
Position after hitting Home:
st4-after

References