Re: [Pharo-dev] Substitution of ' to " in TextEditor>>shiftEnclose

2014-08-27 Thread Nicolas Cellier
Of course, similar code and change in Morphic, see bottom of change report http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-August/160926.html and follow links. This came after http://lists.squeakfoundation.org/pipermail/squeak-dev/2011-August/160923.html But then, there were some comp

Re: [Pharo-dev] Substitution of ' to " in TextEditor>>shiftEnclose

2014-08-27 Thread Nicolas Cellier
I encountered this in Squeak too, because French keyboard is not better than german one :( Nicolas Cellier uploaded a new version of ST80 to project The Trunk: http://source.squeak.org/trunk/ST80-nice.136.mcz Summary Name: ST80-nice.136 Author: nice Time

Re: [Pharo-dev] Substitution of ' to " in TextEditor>>shiftEnclose

2014-08-27 Thread Max Bareis
> > I am curious, because this substitution does not make any sense to > me. The keyCharacter is always the "real" character ( $( instead > of $9 ). Also it seems that this substitution reduces the keyboard > to the en-Layout, therefore breaks the separation of concerns. > > > > I

Re: [Pharo-dev] Substitution of ' to " in TextEditor>>shiftEnclose

2014-08-27 Thread stepharo
is a bug or a feature. For german keyboards it causes that pressing the single Apostroph (which is reached via shift-#) is substituted to ". So enclosing a textblock and pressing ' leads to comments around the block, which is really annoying. I am curious, because this substi

Re: [Pharo-dev] Substitution of ' to " in TextEditor>>shiftEnclose

2014-08-27 Thread Nicolai Hess
2014-08-27 15:12 GMT+02:00 Maximilian Bareis : > Hi, > > I am wondering if the upper part of > > *TextEditor>>shiftEnclose: aKeyboardEvent* > * "Insert or remove bracket characters around the current selection."* > > * | char left right startIndex stopIndex oldSelection which text |* > * char := a

[Pharo-dev] Substitution of ' to " in TextEditor>>shiftEnclose

2014-08-27 Thread Maximilian Bareis
Hi, I am wondering if the upper part of TextEditor>>shiftEnclose: aKeyboardEvent "Insert or remove bracket characters around the current selection." | char left right startIndex stopIndex oldSelection which text | char := aKeyboardEvent keyCharacter. char = $9 if