1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 15:26:00 +02:00

Made CursorToLineStart work like VS (and others)

This commit is contained in:
Brian Fiete 2022-01-11 10:58:36 -05:00
parent e7f50985dc
commit bc060ec362

View file

@ -2953,7 +2953,7 @@ namespace Beefy.widgets
return; return;
} }
if ((allowToScreenStart) && (lineChar <= contentIdx)) if ((allowToScreenStart) && (lineChar == contentIdx))
MoveCursorTo(lineIdx, 0); MoveCursorTo(lineIdx, 0);
else else
MoveCursorTo(lineIdx, contentIdx); MoveCursorTo(lineIdx, contentIdx);