A new version of EToys was added to project The Inbox:
http://source.squeak.org/inbox/EToys-kfr.374.mcz ==================== Summary ==================== Name: EToys-kfr.374 Author: kfr Time: 2 January 2020, 7:49:35.08325 pm UUID: 710cb093-a31e-7f40-96a4-01adcaf3aa3a Ancestors: EToys-nice.373 Fix spelling of symbol. I guess someone smart could make a nice joke about #shrinkWarp :-) =============== Diff against EToys-nice.373 =============== Item was changed: ----- Method: WeekMorph>>title (in category 'all') ----- title "Answer a title with the names of the days." | title extent days | title := AlignmentMorph new layoutInset: 0; color: Color red; listDirection: #leftToRight; + vResizing: #shrinkWrap; - vResizing: #shrinkWarp; height: tileRect height. extent := self tile extent. days := (Week startDay = #Monday) ifTrue: [ #(2 3 4 5 6 7 1) ] ifFalse: [ 1 to: 7 ]. (days reverse collect: [:each | Date nameOfDay: each]) do: [:each | title addMorph: ((self tileLabeled: (each copyFrom: 1 to: 2)) extent: extent)]. ^ title ! |
Someone definitely should implement #shrinkWarp :-)
Maybe we can create a BlackHoleMorph that uses #shrinkWarp to suck nearby objects into its gravitational field. It could have an event horizon that absorbs mouse and keyboard events if you move the pointer too close to the black hole. Dave On Thu, Jan 02, 2020 at 06:50:02PM +0000, [hidden email] wrote: > A new version of EToys was added to project The Inbox: > http://source.squeak.org/inbox/EToys-kfr.374.mcz > > ==================== Summary ==================== > > Name: EToys-kfr.374 > Author: kfr > Time: 2 January 2020, 7:49:35.08325 pm > UUID: 710cb093-a31e-7f40-96a4-01adcaf3aa3a > Ancestors: EToys-nice.373 > > Fix spelling of symbol. I guess someone smart could make a nice joke about #shrinkWarp :-) > > =============== Diff against EToys-nice.373 =============== > > Item was changed: > ----- Method: WeekMorph>>title (in category 'all') ----- > title > "Answer a title with the names of the days." > | title extent days | > title := AlignmentMorph new > layoutInset: 0; > color: Color red; > listDirection: #leftToRight; > + vResizing: #shrinkWrap; > - vResizing: #shrinkWarp; > height: tileRect height. > extent := self tile extent. > > days := (Week startDay = #Monday) > ifTrue: [ #(2 3 4 5 6 7 1) ] > ifFalse: [ 1 to: 7 ]. > > (days reverse collect: [:each | Date nameOfDay: each]) do: > [:each | > title addMorph: > ((self tileLabeled: (each copyFrom: 1 to: 2)) > extent: extent)]. > ^ title > ! > > |
In reply to this post by commits-2
It's time to finally integrate a spellcheck implementation into Trunk ... :-) Christoph Von: Squeak-dev <[hidden email]> im Auftrag von [hidden email] <[hidden email]>
Gesendet: Donnerstag, 2. Januar 2020 19:50:02 An: [hidden email] Betreff: [squeak-dev] The Inbox: EToys-kfr.374.mcz A new version of EToys was added to project The Inbox:
http://source.squeak.org/inbox/EToys-kfr.374.mcz ==================== Summary ==================== Name: EToys-kfr.374 Author: kfr Time: 2 January 2020, 7:49:35.08325 pm UUID: 710cb093-a31e-7f40-96a4-01adcaf3aa3a Ancestors: EToys-nice.373 Fix spelling of symbol. I guess someone smart could make a nice joke about #shrinkWarp :-) =============== Diff against EToys-nice.373 =============== Item was changed: ----- Method: WeekMorph>>title (in category 'all') ----- title "Answer a title with the names of the days." | title extent days | title := AlignmentMorph new layoutInset: 0; color: Color red; listDirection: #leftToRight; + vResizing: #shrinkWrap; - vResizing: #shrinkWarp; height: tileRect height. extent := self tile extent. days := (Week startDay = #Monday) ifTrue: [ #(2 3 4 5 6 7 1) ] ifFalse: [ 1 to: 7 ]. (days reverse collect: [:each | Date nameOfDay: each]) do: [:each | title addMorph: ((self tileLabeled: (each copyFrom: 1 to: 2)) extent: extent)]. ^ title !
Carpe Squeak!
|
> On 2020-01-02, at 12:32 PM, Thiede, Christoph <[hidden email]> wrote: > > It's time to finally integrate a spellcheck implementation into Trunk ... :-) John McIntosh & I did that 15 years ago as part of the Sophie project. Well, we made connections to host spelling check systems, not implemented on in Smalltalk. On a Mac it worked really well since the OS has a pretty good spelling checker provided by default. On Windows (as of 2004 or so) you had to handle *not* having a spell check installed - it came as part of Office. Which, yes, a lot of people had but not all. On *nix... I don't remember. Generically I think it would be great. Implementing a good one in Smalltalk... would be a fascinating student thesis project and I encourage someone to do it. tim -- tim Rowledge; [hidden email]; http://www.rowledge.org/tim Useful random insult:- A gross ignoramus -- 144 times worse than an ordinary ignoramus. |
I did that in VW too in the late 90s. I think that I used GNU aspell if I remember correctly. Using cygwin/mingw makes it available for windows. It is LGPL, so should be OK for distributing a plugin. But here, we're only speaking of Squeak code edition, and Symbol allSymbols should give enough feedback. Le jeu. 2 janv. 2020 à 22:27, tim Rowledge <[hidden email]> a écrit :
|
We also did it with the Hunspell library as a student project in 2013. It was called DicThesaurusRex and Michael Perscheid even announced it on this list for us. Am Do., 2. Jan. 2020 um 22:52 Uhr schrieb Nicolas Cellier <[hidden email]>:
|
Yeah, this could be a great project indeed.
> But here, we're only speaking of Squeak code edition, and Symbol allSymbols should give enough feedback.
Yes, this is correct, but once you only compiled code including a misspelled selector, afaik it will remain forever in the symbol table ...
Best,
Christoph
Von: Squeak-dev <[hidden email]> im Auftrag von Jakob Reschke <[hidden email]>
Gesendet: Donnerstag, 2. Januar 2020 23:03 Uhr An: The general-purpose Squeak developers list Betreff: Re: [squeak-dev] The Inbox: EToys-kfr.374.mcz We also did it with the Hunspell library as a student project in 2013.
It was called DicThesaurusRex and Michael Perscheid even announced it on this list for us.
Am Do., 2. Jan. 2020 um 22:52 Uhr schrieb Nicolas Cellier <[hidden email]>:
Carpe Squeak!
|
In reply to this post by commits-2
This should go in Trunk, because it breaks Objects tool. I would add it my self but I seem to have lost my Trunk password... Best, Karl On Thu, Jan 2, 2020 at 7:50 PM <[hidden email]> wrote: A new version of EToys was added to project The Inbox: |
On Sat, Jan 11, 2020 at 01:48:19PM +0100, karl ramberg wrote:
> This should go in Trunk, because it breaks Objects tool. Merged to trunk. > I would add it my self but I seem to have lost my Trunk password... I think that Chris Muller can reset your password. Dave |
Free forum by Nabble | Edit this page |