Syntax Morph menu troubles
Ian Trudel
ian at monk.cgocable.ca
Mon Sep 6 19:30:01 UTC 1999
This also happened in Lex Spoon's Telnet Machine. There was some code like:
-------------
aMenu labels:
'set host name
set port
connect
disconnect'
lines: #()
selections: #(setHostName setPort connect disconnect).
^aMenu
-------------
But I had some CRs problems (from the file I filed in). So, I had to
reformat the code with proper CRs. However, I fixed it using an array,
which doesn't care of CRs. It appears to be a better way to avoid the
problem.
-------------
^aMenu labels: #(
'set host name'
'set port'
'connect'
'disconnect' )
lines: #()
selections: #(setHostName setPort connect disconnect).
-------------
Ian
----------
> De : Dwight Hughes <dwighth at ipa.net>
> A : squeak at cs.uiuc.edu
> Objet : Re: Syntax Morph menu troubles
> Date : lundi 6 septembre 1999 15:09
>
> Sounds like the line endings in the changeset got changed in the file
> you downloaded (the items in a menu are supposed to be separated by
> CRs).
>
> -- Dwight
>
> "Ken G. Brown" wrote:
> >
> > Hi,
> > I'm having trouble getting the menu for Bob's Syntax Morph change set
> > to display vertically, the menu items arrange horizontally side by
> > side running together across the screen. After opening a morphic
> > project, I've filed the Syntax Morph change set
> > (SyntaxMorph.17Aug933am.cs) into a pristine 2.5 image, updated to
> > change set 1419. This is on MacOS 8.6. Has anyone else experienced
> > this? Any tips as to what to try?
> > Thx.
> > Ken G. Brown
More information about the Squeak-dev
mailing list
|