Mantis - Squeak
Viewing Issue Advanced Details
5505 Morphic minor always 11-24-06 18:35 11-28-06 08:59
sumi  
 
normal  
new 3.9  
open  
none    
none  
0005505: [BUG] comment out short-cut etc didn't function properly
Although the world menu -> help... -> command-key help, says that we can use ctrl + " short-cut as commenting out the selection, the key combination seems not work properly.

It seems that the reasons of this malfunction is the expression

'""''(' do: [ :char | cmdMap at: (char asciiValue + 1) put: #enclose:].

in ParagraphEditor class >> #initializeShiftCmdKeyShortcuts has been commented out.

Notes
(0008454)
sumi   
11-28-06 08:59   
I'm sorry. This change makes trouble with Mac environment.
The better line to change is below rather than the commented out expression.


'9[,''' do: [ :char | cmdMap at: (char asciiValue + 1) put: #shiftEnclose: ].


The change to need is adding #($" ${ $<) to the receiver string. such like,


'9[,"{<''' do: [ :char | cmdMap at: (char asciiValue + 1) put: #shiftEnclose: ].


then accept it. Do it "ParagraphEditor initialize" is also necessary.