Status: New
Owner: ---- Labels: Milestone-2.0 Type-Bug New issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382 Unlike any other method in TextModel, setSelection: only has an effect if you call it after sending openWithSpec to the model. This is because it sets the selection directly on the morph widget. I would expect this code to open a text window with a selection, but it doesn't: TextModel new text: 'some text to test the selection on' ; setSelection: (1 to:6); openWithSpec. _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Cc: [hidden email] [hidden email] Labels: Target-Spec Comment #1 on issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382 (No comment was entered for this change.) _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
In reply to this post by pharo
Updates:
Status: FixReviewNeeded Comment #3 on issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382 Slice in the inbox _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: MonkeyIsChecking Comment #4 on issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382#c4 The Monkey is currently checking this issue. Please don't change it! _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: ValidatedByTheMonkey Labels: CheckedIn20520 Comment #5 on issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382#c5 This Issue has been checked by Ulysse the Monkey 6384 tests passed in 00:01:19s: =============================== CollectionsTests-Arrayed (553) CollectionsTests-Atomic (12) CollectionsTests-Sequenceable (912) CollectionsTests-SplitJoin (27) CollectionsTests-Stack (16) CollectionsTests-Streams (37) CollectionsTests-Strings (611) CollectionsTests-Support (12) CollectionsTests-Unordered (1954) CollectionsTests-Weak (739) CompilerTests (181) KernelTests-Chronology (593) KernelTests-Classes (69) KernelTests-Exception (2) KernelTests-Methods (179) KernelTests-Numbers (276) KernelTests-Objects (86) KernelTests-Pragmas (3) KernelTests-Processes (38) SUnit-Core-Extensions (3) SUnit-Core-Utilities (3) SUnit-Tests-Core (78) ---------------------------------------------------------- Loaded Source: SLICE-Issue-7382-TextModelgtgtsetSelection-has-no-effect-if-called-before-openWithSpec-BenjaminVanRyseghem.1 from http://ss3.gemstone.com/ss/PharoInbox Tested using Pharo-2.0-20520-a on NBCoInterpreter NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Nov 27 2012 NBCogit NativeBoost-CogPlugin-IgorStasenko.15 uuid: 44b6b681-38f1-4a9e-b6ee-8769b499576a Nov 27 2012 https://git.gitorious.org/cogvm/blessed.git Commit: 40ac7e7bdec6fef0e934d2c019b86db996053912 Date: 2012-11-19 18:54:49 +0100 By: Mariano Martinez Peck <[hidden email]> Jenkins build #146 _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: FixToInclude Comment #6 on issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382 (No comment was entered for this change.) _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Updates:
Status: Integrated Comment #7 on issue 7382 by [hidden email]: TextModel>>setSelection: has no effect if called before openWithSpec http://code.google.com/p/pharo/issues/detail?id=7382 in 2.0 521 _______________________________________________ Pharo-bugtracker mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker |
Free forum by Nabble | Edit this page |