2010/1/12 Alexandre Bergel <alexandre@bergel.eu>
Hi Cédrick,
When I try to copy an object, an error is raised (cf attached picture). Content is not initialized. It remains always nil. You need an initialize method that call #reset and execute 'ParagraphEditor initialize'. A unit test may also be written. If you're ok, I can do it.
oops, that's true. Actually, when starting or shutting down, there's a reset of content and then the affectation but yes, the initialize is better. I published the change. Concerning ParagraphEditor initialize, I think (but not sure) that it would have no effect as I guess first, the class is loaded, then initialized, then the extension methods (I really may be wrong). Anyway, feel free to publish whatever changes you find necessary (especially tests :) . I'll do some too) Cheers,
Cheers, Alexandre
On 12 Jan 2010, at 11:21, Cédrick Béler wrote:
ok.
I added shortcuts, I put menu methods in the extension category to be able to use monticello. Here is the squeaksource account:
MCHttpRepository location: 'http://www.squeaksource.com/ObjectClipboard' user: '' password: ''
To initialize shortcuts, after loading, you need to evaluate : ParagraphEditor initialize
Everybody can submit and even change completly the implementation so as maybe to create a unified clipboard.
Cheers,
2010/1/12 Cédrick Béler <cdrick65@gmail.com>
2010/1/12 Cédrick Béler <cdrick65@gmail.com>
Maybe you can also add shortcuts: Shift-Cmd-c, Shift-Cmd-v
Yes, I'll do it
both are used... but I nevers used them...
cmd + V paste initials cmd + C compare to clipboard
Do you use them ?
BTW, there's a clear problem with menu and shortcuts. For instance, not all hardcoded shortcuts works for keyboard other thant qwerty... :(
-- Cédrick
-- Cédrick _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Cédrick