Hi, I used eclipse for about 5 years, and liked many aspects of its editor and keyboard shortcuts. However, there are a couple of things about Pharo's ParagraphEditor that correlate to what you want:
> cmd + -> : go to end of line END key > cmd + <- : go to beginning of line HOME key > alt + -> : go to end of the current word Control+[right-arrow], left-arrow > alt + -> : go to beginning of current word You mean alt + <- ?? Control+[left-arrow] > alt + arrow up : switch the line above with the current line (current line > has line number -1, line above has line number +1) In Pharo, you can swap any two _selections_, not just lines. This is much more useful since often expressions span multiple lines. To use: 1) select the first selection 2) select the second selection (the first becomes unselected) 3) press Command+e, to "exchange" them. > alt + arrow down : switch the line below with the current line > cmd + l : delete line (I know this shortcut is used to cancel changes at the > moment. Still, I haven't found a shortcut yet that deletes a single line) I'm not sure how useful it would be for a Smalltalk editor to start putting in "line"-oriented commands but... I've always preferred disabling: wordStyleCursorMovement and then you can delete an "line" easily with the keyboard with the following key-sequence: Shift+Home, Shift+End, Delete > I'd LOVE to see this in Pharo, or at least be able to configure the > shortcuts myself. I think, being able to change the shortcuts is important > anyway because each developer has an own style. > I'd try to come up with a solution myself but I just don't have the time at > the moment. > Thanks for listening to my yapping :) > Max > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project > _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
