GemTalk / JadeiteForPharo

IDE for GemStone Smalltalk application development in Pharo using Rowan code management
MIT License
0 stars 0 forks source link

"'end" button does not work reliably #104

Closed LisaAlmarode closed 2 months ago

LisaAlmarode commented 2 months ago

If you have some text, e.g. type in a workspace

aaa
bbb
ccc

and your cursor is at the beginning of the bbb row, and you press end, your cursor moves to the end of the ccc row. Lo these many years and many applications and the end of the bbb row has always up to now been where I would have got to.

It seem to work correctly in a pharo playground...

ericwinger commented 2 months ago

This helped complete the fix for earlier bug regarding copying source outside pharo and getting cr's in the text on linux. When you type in a pharo workspace, the Enter key will insert a cr but we use lf's to avoid the above-mentioned problem. Now end/home buttons check for the first cr or lf to cover both types of text. Not sure I'm super-thrilled with the mixing of end of line characters but it seems to work.