links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Brian Byrne
Last updated at 5:04 pm UTC on 16 January 2006
CS undergrad, 2nd year - gatech.

For the love of coders, someone add auto-indent to the squeak browser :)

Just add this line to the top of ParagraphEditor>>dispatchOnCharacter:with:

 char asciiValue = 13 ifTrue: [
   ^ sensor controlKeyPressed
       ifTrue: [self normalCharacter: typeAheadStream]
       ifFalse: [self crWithIndent: typeAheadStream]].