[Cuis-dev] [IMPROV] Accept for Workspaces
Hernán Wilkinson
hernan.wilkinson at 10pines.com
Thu Mar 16 12:39:40 PDT 2023
ah ok! that makes sense! It's a good idea!
I think it should be integrated :-) ... sadly, I do not have the time to
look at it, for sure Juan will.
Cheers!
Hernan.
On Thu, Mar 16, 2023 at 4:28 PM Gerald Klix <cuis.01 at klix.ch> wrote:
> Hi Hernán,
>
> That's quite simple. I want the workspace's context to be saved on a file.
> That's the behavior I am – or I was once – used to.
>
>
> HTH,
>
> Gerald
>
>
> PS: There is no problem, if the change does not get accepted;
> I will include it only in Haver, then.
>
>
> On 3/16/23 8:22 PM, Hernán Wilkinson wrote:
> > Hi Gerald!
> > I could not see what you sent but I'm writing to you because I do not
> > understand why you would like to "accept" the contents of a workspace...
> > What do you expect to happen when doing that?
> >
> > Thanks
> > Hernan
> >
> > On Thu, Mar 16, 2023 at 8:45 AM Gerald Klix via Cuis-dev <
> > cuis-dev at lists.cuis.st> wrote:
> >
> >> Hi all, Hi Juan,
> >>
> >> I found it a bit annoying ever since I used Cuis, that I can't accept
> >> the contents of a workspace. (This even worked in Smalltalk/V for MS-DOS
> >> back in 1986).
> >>
> >> Please find a simple three method change-set attached,
> >> that fixes this problem.
> >>
> >> If you don't like the "forceSaveContents" stuff you
> >> can define TextModel>>#acceptContentsFrom: like this:
> >>
> >> acceptContentsFrom: aTextModelMorph
> >>
> >> aTextModelMorph owningWindow ifNotNil: [ :ow |
> >> ow hasSaveAs ifTrue: [ ow saveContents ] ]
> >>
> >> and make it use the existing saveAs logic in SystemWindow.
> >>
> >>
> >> HTH and Best Regards,
> >>
> >> Gerald
> >> --
> >> Cuis-dev mailing list
> >> Cuis-dev at lists.cuis.st
> >> https://lists.cuis.st/mailman/listinfo/cuis-dev
> >>
> >
>
>
--
*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20230316/8f47e7a9/attachment.htm>
More information about the Cuis-dev
mailing list