dr-geo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dr. Geo] [Bug 1864537] Re: GLMCompositePresentation did not understand


From: hilaire
Subject: [Dr. Geo] [Bug 1864537] Re: GLMCompositePresentation did not understand #wrapper
Date: Tue, 25 Feb 2020 18:37:06 -0000

** Tags added: pharo8

** Tags added: script

** Description changed:

  When the user wants to edit a script and when clicking on a script there
  is this error.
  
- The method methodsIn: contains a lot of broken code now: #wrapper and
- #defaultPane are now unknown messages :(
+ The method DrGScriptBrowser>>methodsIn: contains a lot of broken code
+ now: #wrapper and #defaultPane are now unknown messages :(
  
- 
- methodsIn: composite  
-       composite wrapper  title: 'Methods' translated;
-               show: [ :wrapper |
-                       wrapper fastList 
-                               display: [ :aClass | aClass methods collect: [ 
:m | m asRingDefinition ]];
-                               format: [ :aCompiledMethod | aCompiledMethod 
selector asString ] ].
-       composite wrapper title:  'Script data' translated;
-               show: [ :wrapper |
-                       wrapper fastList 
-                               display: [ :aClass | aClass class methods 
collect: [ :m | m asRingDefinition ]];
-                               format: [ :aCompiledMethod | aCompiledMethod 
selector asString ] ].
-       composite 
-               updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance 
];
-               updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
-       composite onChangeOfPort: #activePresentation act: [ :presentation | 
-               (presentation pane port: #activePresentation) value ifNotNil: [ 
:activePresentation | 
-                       ((browser paneNamed: #methods) port: #selection) value: 
(activePresentation defaultPane port: #selection) value ] ].
+ methodsIn: composite
+  composite wrapper  title: 'Methods' translated;
+   show: [ :wrapper |
+    wrapper fastList
+     display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
+     format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
+  composite wrapper title:  'Script data' translated;
+   show: [ :wrapper |
+    wrapper fastList
+     display: [ :aClass | aClass class methods collect: [ :m | m 
asRingDefinition ]];
+     format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
+  composite
+   updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
+   updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
+  composite onChangeOfPort: #activePresentation act: [ :presentation |
+   (presentation pane port: #activePresentation) value ifNotNil: [ 
:activePresentation |
+    ((browser paneNamed: #methods) port: #selection) value: 
(activePresentation defaultPane port: #selection) value ] ].

-- 
You received this bug notification because you are a member of DrGeo
developers, which is subscribed to Dr. Geo II.
Matching subscriptions: Dr. Geo bug report
https://bugs.launchpad.net/bugs/1864537

Title:
  GLMCompositePresentation did not understand #wrapper

Status in Dr. Geo II:
  New

Bug description:
  When the user wants to edit a script and when clicking on a script
  there is this error.

  The method DrGScriptBrowser>>methodsIn: contains a lot of broken code
  now: #wrapper and #defaultPane are now unknown messages :(

  methodsIn: composite
   composite wrapper  title: 'Methods' translated;
    show: [ :wrapper |
     wrapper fastList
      display: [ :aClass | aClass methods collect: [ :m | m asRingDefinition ]];
      format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
   composite wrapper title:  'Script data' translated;
    show: [ :wrapper |
     wrapper fastList
      display: [ :aClass | aClass class methods collect: [ :m | m 
asRingDefinition ]];
      format: [ :aCompiledMethod | aCompiledMethod selector asString ] ].
   composite
    updateOn: MethodModified from: [ SystemAnnouncer uniqueInstance ];
    updateOn: MethodAdded from: [ SystemAnnouncer uniqueInstance ].
   composite onChangeOfPort: #activePresentation act: [ :presentation |
    (presentation pane port: #activePresentation) value ifNotNil: [ 
:activePresentation |
     ((browser paneNamed: #methods) port: #selection) value: 
(activePresentation defaultPane port: #selection) value ] ].

To manage notifications about this bug go to:
https://bugs.launchpad.net/drgeo/+bug/1864537/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]