2015-05-31 14:34 GMT+02:00 Cyril Ferlicot <[email protected]>:
> Hi, > I think test into the playground is a bad idea because the playground is a > GTool and glamour has his own shortcut system. > Also I think Playground use Rubric and not TextEditor/Smalltalk Editor. > > Do you know where text/smalltalk editor are used Nicolas ? > Nautilus, old workspace (Workspace new open), MessageBrowser (Textpane in sendersOf/implementorsOf/usersOf - results list). And of course, you can create a TextMorph that uses those editors: "This creates a simple text morph with editor #TextEditor" (Smalltalk ui theme builder newBasicTextEditorFor: Morph getText: #comment setText: nil) openInWindow. "This creates a smalltalk text morph with editor #SmalltalkEditor" (Smalltalk ui theme builder newTextEditorFor: (Morph>>#drawOn:) getText: #sourceCode setText: nil) openInWindow. nicolai > > > Le dimanche 31 mai 2015, Mark Rizun <[email protected]> a écrit : > >> Hi, >> >> Tested in image: 50077 (hope it's not very critical to test on 50075) >> OS: Win 7 >> >> This change is not yet visible, although I defined a postload >>> you will see the change only after >>> TextEditor/SmalltalkEditior initialize >>> >>> >> Ok, I did TextEditor/SmalltalkEditior initialize. >> >> >>> (all alt+ shortcut are removed now, only the >>> ctrl+ shortcuts should work) >>> >>> alt+space / ctrl+space -> select word >>> alt+b/ctrl+b browseIt >>> alt+c/ctrl+c copy >>> alt+x/ctrl+x cut >>> alt+v/ctrl+v paste >>> alt+f/ctrl+f find >>> >>> >> In playground for me all of the above alt shortcuts work. As well as ctr. >> In system browser it's different: >> >> - alt-space, alt-b, alt-f does not work >> - all the others work (c, v, x) >> - all of above ctr shortcuts work >> >> Some "duplicate" shortcuts weren't removed because the shortcut >>> defined with the keymap pragma don't work (at least on windows). >>> >>> For example: >>> >>> ctrl+a/alt+a defined with the action map >>> and ctrl+a defined by keymap pragam >>> this wasn't remove, because ctrl+a does not work on windows vm >>> >>> ctrl+m/alt+m defined by the action map >>> ctrl+m defined by keymap pragma >>> this wasn't remove, because ctrl+m does not work on windows vm >>> >>> >> True, ctr-m does not work on win. >> >> Thanks for your work Nicolai. >> >> Best, >> Mark >> >> > > -- > Cheers > Cyril Ferlicot > >
