Runtime Transcript version

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

Runtime Transcript version

Sebastián Sastre
Hi all, Ian,

    I made a runtime TranscriptShell version, useful for maintenance, and
without *most* of the menues and their respective commands.

    Ian, when I instantiate this modifyed TranscriptShell, one of your
goodies have a conflict because it expects some command to be in a menu. I
patched it to:

IdePrinterExtension>>extendMenuIn: aBrowser before: aSymbol

| menu |

menu := aBrowser view menuBar find: 'File'.

menu indexOfCommand: aSymbol ifAbsent: [^nil]. "Just in case somebody
changes the menu"

....(and the rest of the method you made)......

That, offcourse, is only ok for anyone who doesn't want the print feature on
runtime for the transcript shell,

best regards,

Sebastián


Reply | Threaded
Open this post in threaded view
|

Re: Runtime Transcript version

Ian Bartholomew-19
Sebastián,

>    Ian, when I instantiate this modifyed TranscriptShell, one of your
> goodies have a conflict because it expects some command to be in a menu. I
> patched it to:

OK, thanks.

Because the Dolphin environment is so flexible it's very difficult, if not
impossible, to post goodies that are guaranteed to work in every image they
may be loaded into - who knows what changes people have made to their
working image :-)  You just have to assume that anyone modifying their image
to an extent that breaks external goodies will also be able to modify the
goodies to match - as you have done.

--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.




----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---


Reply | Threaded
Open this post in threaded view
|

Re: Runtime Transcript version

Ian Bartholomew-19
In reply to this post by Sebastián Sastre
Sebastián,

>    Ian, when I instantiate this modifyed TranscriptShell, one of your
> goodies have a conflict because it expects some command to be in a menu. I
> patched it to:

OK, thanks.

Because the Dolphin environment is so flexible it's very difficult, if not
impossible, to post goodies that are guaranteed to work in every image they
may be loaded into - who knows what changes people have made to their
working image :-)  You just have to assume that anyone modifying their image
to an extent that breaks external goodies will also be able to modify the
goodies to match - as you have done.

--
Ian

Use the Reply-To address to contact me.
Mail sent to the From address is ignored.