> * Single/multi-line popups - when you're extracting a method via "refactor > source," you get a huge multi-line popup window, which eats crs, so after > you enter the name and hit return, you are still in the popup and must take > your hands off the keyboard to click "ok."
It also annoys me sometimes too, but a few months back somebody was requesting exactly the opposite. The one-line input field does not work well if the method has more than one argument. I guess I need to build a dedicated editor for method names? > Now, fair enough, this might > actually be a good thing in other circumstances, but - when you reference an > unknown class, you get an "unknown variable" popup, choose "define new > class," click through the category selection, you get a one-line popup to > edit a paragraph-long class definition, lol! So: > - "refactor source->extract method" should be a single-line popup > - and, "define new class->edit class definition" should be a multi-liner. I 100% agree on this, class definition from within the editor totally sucks. Unfortunately this is part of the compiler, not the browser so it requires a change to the parser. I propose the fix below, that also avoids the extra question of asking for the category name. This is unnecessary as it can be edited afterwards in the class definition anyway. http://code.google.com/p/pharo/issues/detail?id=2286 Name: Compiler-LukasRenggli.208 Author: lr Time: 9 April 2010, 8:23:45 am UUID: e0f99e58-08ce-46da-839d-88947b66d668 Ancestors: Compiler-StephaneDucasse.207 - simplify and improve the user experience for class definition while compiling a method Lukas -- Lukas Renggli www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
