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

Re: [sc-dev] Re: [patch] help guis improvements



I suggested

Platform.case( \osx, {
categoriesSkipThese = categoriesSkipThese.add(SCImageFilter);
});

to avoid possible problem in mac os x.

James suggested also this
\SCImageFilter.asSymbol.notNil ...

i am exclusively on a mac. So if someone can test it in Linux / Windows and report if it is fine ?

Attachment: Help.diff
Description: Binary data



best,
charles

Le 22 déc. 08 à 23:05, Scott Wilson a écrit :

Also when I first open the browser, it looks like this:

<pastedGraphic.tiff>
On 22 Dec 2008, at 14:02, Scott Wilson wrote:


On 22 Dec 2008, at 13:39, Dan Stowell wrote:

is ok, i found a way to do it

2008/12/22 Dan Stowell <danstowell@xxxxxxxxx>:
Hi -

The attached patch improves the rendering of Help.gui and
Help.searchGUI on small screens (ensures it fits on the screen!). It
also removes the SCImageFilter warning on non-OSX platforms, as
discussed with Charles. Grateful if someone could commit.

Thanks
Dan


This seems to have caused a problem. The first time you call Help.tree you get this error:

Help.tree
ERROR: Message 'split' not understood.
RECEIVER:
Instance of SymbolArray {    (1FF4B800, gc=C8, fmt=08, flg=00, set=01)
  indexed slots [4]
      0 : 'CIAffineTransform'
      1 : 'CICrop'
      2 : 'CILanczosScaleTransform'
      3 : 'CIPerspectiveTransform'
}
ARGS:
   Character 62 '>'
CALL STACK:
DoesNotUnderstandError:reportError   17C08FC0
arg this = <instance of DoesNotUnderstandError>
Nil:handleError   1FD02B80
arg this = nil
arg error = <instance of DoesNotUnderstandError>
Thread:handleError   1FCEFB60
arg this = <instance of Thread>
arg error = <instance of DoesNotUnderstandError>
Object:throw   17C08540
arg this = <instance of DoesNotUnderstandError>
Object:doesNotUnderstand   15E31800
arg this = <instance of SymbolArray>
arg selector = 'split'
arg args = [*1]
< FunctionDef in Method Meta_Help:addCatsToTree >   12AC88A0
arg cat = <instance of SymbolArray>
Dictionary:keysValuesArrayDo   1FE508E0
arg this = <instance of IdentityDictionary>
arg argArray = [*64]
arg function = <instance of Function>
var i = 2
var j = 1
var key = nil
var val = nil
var arraySize = nil
Dictionary:keysValuesDo   17C0A7C0
arg this = <instance of IdentityDictionary>
arg function = <instance of Function>
Dictionary:do   15E21390
arg this = <instance of IdentityDictionary>
arg function = <instance of Function>
Meta_Help:addCatsToTree   1FE4EAD0
arg this = class Help
arg class = class SCImageFilter
arg fileslist = <instance of IdentityDictionary>
var subc = nil
var node = nil
ArrayedCollection:do   12AD8B30
arg this = [*2106]
arg function = <instance of Function>
var i = 154
Meta_Help:tree   1FD699D0
arg this = class Help
arg sysext = true
arg userext = true
var classes = [*2106]
var node = nil
var subc = nil
var helpRootLen = nil
var helpExtensions = [*4]
var helpDirs = [*3]
var thisHelpExt = nil
Interpreter:interpretPrintCmdLine   1FD68A30
arg this = <instance of Interpreter>
var res = nil
var func = <instance of Function>
var code = "Help.tree"
Process:interpretPrintCmdLine   12AD88F0
arg this = <instance of Main>