Hello. I would like to modify the text-editing UI in Pharo to add some 
affordances I’m accustomed to from MacOS. Specifically, right now 
command(a.k.a. meta)-left/right-arrow moves one word left/right in Pharo, 
whereas on MacOS this is done with the option(a.k.a. alt)-key, and 
command-left/right-arrow moves to the start/end of the current visual line. 
Another MacOS convention I use a lot and would like in Pharo is triple-click to 
select a whole paragraph. And if I can implement that, I would also like to 
disable the corresponding Pharo convention (double click at the start or end of 
the paragraph).

Some smaller things that I’m also not used to: When moving the text cursor one 
word at a time, Pharo treats white space as words, whereas MacOS skips over 
white space. Conversely, when double-clicking to select a whole word, MacOS 
treats white space between words like a word, whereas Pharo selects the 
adjacent word.

So anyway, I’m wondering what I would have to modify to customize these UI 
conventions. I didn’t see anything relevant in the settings browser. (There was 
a "Skip over white space” option under "Text Editing," but it didn’t affect how 
the move-cursor-one-word-at-a-time keystrokes work, so I don’t know what it 
does.) Does anyone have any pointers on where these behaviors are encoded in 
the system? Or if someone has already posted a package for customizing this 
sort of thing?

     Alex Landraitis

Reply via email to