The Inbox: Collections-ct.848.mcz

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

The Inbox: Collections-ct.848.mcz

commits-2
A new version of Collections was added to project The Inbox:
http://source.squeak.org/inbox/Collections-ct.848.mcz

==================== Summary ====================

Name: Collections-ct.848
Author: ct
Time: 12 August 2019, 1:52:05.273463 pm
UUID: a43047b1-7885-fa49-bfe0-f5bd175d66e4
Ancestors: Collections-fn.847

Add visibility test for Characters

Thanks to jrm for the hint!

=============== Diff against Collections-fn.847 ===============

Item was added:
+ ----- Method: Character>>isInvisible (in category 'testing') -----
+ isInvisible
+
+ ^ (self > 31 or: [#(9 10 13) includes: self asciiValue]) not!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Collections-ct.848.mcz

Tobias Pape

> On 12.08.2019, at 13:52, [hidden email] wrote:
>
> A new version of Collections was added to project The Inbox:
> http://source.squeak.org/inbox/Collections-ct.848.mcz
>
> ==================== Summary ====================
>
> Name: Collections-ct.848
> Author: ct
> Time: 12 August 2019, 1:52:05.273463 pm
> UUID: a43047b1-7885-fa49-bfe0-f5bd175d66e4
> Ancestors: Collections-fn.847
>
> Add visibility test for Characters

To be precise, whether these characters are invisible depends on the Font used…


>
> Thanks to jrm for the hint!
>
> =============== Diff against Collections-fn.847 ===============
>
> Item was added:
> + ----- Method: Character>>isInvisible (in category 'testing') -----
> + isInvisible
> +
> + ^ (self > 31 or: [#(9 10 13) includes: self asciiValue]) not!
>
>



Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Collections-ct.848.mcz

Christoph Thiede

What about naming it #controlCharacters?


Von: Squeak-dev <[hidden email]> im Auftrag von Tobias Pape <[hidden email]>
Gesendet: Montag, 12. August 2019 16:21:20
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] The Inbox: Collections-ct.848.mcz
 

> On 12.08.2019, at 13:52, [hidden email] wrote:
>
> A new version of Collections was added to project The Inbox:
> http://source.squeak.org/inbox/Collections-ct.848.mcz
>
> ==================== Summary ====================
>
> Name: Collections-ct.848
> Author: ct
> Time: 12 August 2019, 1:52:05.273463 pm
> UUID: a43047b1-7885-fa49-bfe0-f5bd175d66e4
> Ancestors: Collections-fn.847
>
> Add visibility test for Characters

To be precise, whether these characters are invisible depends on the Font used…


>
> Thanks to jrm for the hint!
>
> =============== Diff against Collections-fn.847 ===============
>
> Item was added:
> + ----- Method: Character>>isInvisible (in category 'testing') -----
> + isInvisible
> +
> +      ^ (self > 31 or: [#(9 10 13) includes: self asciiValue]) not!
>
>





Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Collections-ct.848.mcz

timrowledge
In reply to this post by Tobias Pape


> On 2019-08-12, at 7:21 AM, Tobias Pape <[hidden email]> wrote:
>
>
>> On 12.08.2019, at 13:52, [hidden email] wrote:
>>
>> A new version of Collections was added to project The Inbox:
>> http://source.squeak.org/inbox/Collections-ct.848.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Collections-ct.848
>> Author: ct
>> Time: 12 August 2019, 1:52:05.273463 pm
>> UUID: a43047b1-7885-fa49-bfe0-f5bd175d66e4
>> Ancestors: Collections-fn.847
>>
>> Add visibility test for Characters
>
> To be precise, whether these characters are invisible depends on the Font used…

Not to mention that a unicode character may be invisible at many more values. How exactly do they handle those? There are large swathes of legit unicode where there is no character point, and many where there is supposed to be a glyph but many fonts lack one.

Sigh. Why can't everyone just stick with good old sensible english lettering? ;-)


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Java:  the best argument for Smalltalk since C++



Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Collections-ct.848.mcz

Tobias Pape

> On 12.08.2019, at 18:46, tim Rowledge <[hidden email]> wrote:
>
>
>
>> On 2019-08-12, at 7:21 AM, Tobias Pape <[hidden email]> wrote:
>>
>>
>>> On 12.08.2019, at 13:52, [hidden email] wrote:
>>>
>>> A new version of Collections was added to project The Inbox:
>>> http://source.squeak.org/inbox/Collections-ct.848.mcz
>>>
>>> ==================== Summary ====================
>>>
>>> Name: Collections-ct.848
>>> Author: ct
>>> Time: 12 August 2019, 1:52:05.273463 pm
>>> UUID: a43047b1-7885-fa49-bfe0-f5bd175d66e4
>>> Ancestors: Collections-fn.847
>>>
>>> Add visibility test for Characters
>>
>> To be precise, whether these characters are invisible depends on the Font used…
>
> Not to mention that a unicode character may be invisible at many more values. How exactly do they handle those? There are large swathes of legit unicode where there is no character point, and many where there is supposed to be a glyph but many fonts lack one.
>
> Sigh. Why can't everyone just stick with good old sensible english lettering? ;-)
>

Hö?

Я не знаю :D

>
> tim




Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Collections-ct.848.mcz

timrowledge


> On 2019-08-12, at 11:30 AM, Tobias Pape <[hidden email]> wrote:
>
>
>> On 12.08.2019, at 18:46, tim Rowledge <[hidden email]> wrote:
>>
>> Sigh. Why can't everyone just stick with good old sensible english lettering? ;-)
>>
>
> Hö?
>
> Я не знаю :D

Oh, yeah. Because some people speak other languages. Shock! Horror! How did we ever let that happen?


tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Strange OpCodes: MTP: MounT Programmer