Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
Status: New
Owner: ----
Labels: Milestone-2.0 Type-Bug

New issue 7389 by [hidden email]: Behavior not taken into account in  
TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389

If the property behavior is set on a TextModel before sending openWithSpec  
it is ignored.  Consider the following code:

|model|
model := TextModel new
                text: 'aboutToStyle: aBoolean
        <api: #boolean getter: #isAboutToStyle registration:  
#whenAboutToStyleChanged:>
        "Set if the text zone must be styled"
       
        aboutToStyleHolder contents: [ aBoolean ]';
                aboutToStyle: true;
                behavior: TextModel;
                openWithSpec;
                yourself.

If this is executed no text is highlighted. However the value of behaviour  
is set. So if you then execute
'model behavior: model behavior' it will work as exepected.

This is not the same as 7382 as in that case the selection is not even set.


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
Updates:
        Cc: [hidden email] [hidden email]
        Labels: Target-Spec

Comment #1 on issue 7389 by [hidden email]: Behavior not taken into  
account in TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
In reply to this post by pharo
Updates:
        Status: FixReviewNeeded

Comment #3 on issue 7389 by [hidden email]: Behavior not taken into  
account in TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389

Slice in the inbox


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
Updates:
        Status: MonkeyIsChecking

Comment #4 on issue 7389 by [hidden email]: Behavior not taken into  
account in TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389#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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
Updates:
        Status: ValidatedByTheMonkey
        Labels: CheckedIn20520

Comment #5 on issue 7389 by [hidden email]: Behavior not taken into  
account in TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389#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-7389-Behavior-not-taken-into-account-in-TextModel-when-sending-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
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
Updates:
        Status: FixToInclude

Comment #6 on issue 7389 by [hidden email]: Behavior not taken into  
account in TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389

(No comment was entered for this change.)


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 7389 in pharo: Behavior not taken into account in TextModel when sending openWithSpec

pharo
Updates:
        Status: Integrated

Comment #7 on issue 7389 by [hidden email]: Behavior not taken into  
account in TextModel when sending openWithSpec
http://code.google.com/p/pharo/issues/detail?id=7389

in 2.0 521


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker