text wrapping issue

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

text wrapping issue

Chris Muller-3
Does anyone mind the word-wrapping / truncation issue as depicted in
the lower-right corner of the attached screen-shot?

Simply tweaking the size of the window fixes it, but I've been doing
that for a couple of years now, so it's time to ask.  This issue
exists in 3.9 too, so it's an old problem that probably has Pharo too,
but I don't recall at the moment..



word-wrap-problem.png (23K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: text wrapping issue

Andreas.Raab
On 6/14/2010 3:17 PM, Chris Muller wrote:
> Does anyone mind the word-wrapping / truncation issue as depicted in
> the lower-right corner of the attached screen-shot?
>
> Simply tweaking the size of the window fixes it, but I've been doing
> that for a couple of years now, so it's time to ask.  This issue
> exists in 3.9 too, so it's an old problem that probably has Pharo too,
> but I don't recall at the moment..

Is there an easy way to recreate this problem?

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: text wrapping issue

Chris Muller-3
Yes.  Set

    RealEstateAgent standardSize: 450@550

so that window proportions are a little taller and narrower.

Then, open up DateAndTimeEpochTest in a browser (hierarchy or
package-pane, either one).   _Do not resize_ the window after it
opens.  Then, just select any method.  Arrow down, observing the
right-margin of the code.  On many methods, the code is truncated,
sometimes even in the middle of a character...

 - Chris


On Mon, Jun 14, 2010 at 11:47 PM, Andreas Raab <[hidden email]> wrote:

> On 6/14/2010 3:17 PM, Chris Muller wrote:
>>
>> Does anyone mind the word-wrapping / truncation issue as depicted in
>> the lower-right corner of the attached screen-shot?
>>
>> Simply tweaking the size of the window fixes it, but I've been doing
>> that for a couple of years now, so it's time to ask.  This issue
>> exists in 3.9 too, so it's an old problem that probably has Pharo too,
>> but I don't recall at the moment..
>
> Is there an easy way to recreate this problem?
>
> Cheers,
>  - Andreas
>
>

Reply | Threaded
Open this post in threaded view
|

Re: text wrapping issue

Andreas.Raab
Thanks. Reproducible problems are my favorite :-) I've posted a fix for
this problem - it turns out that PluggableTextMorph's textMorph bounds
could get out of sync with its scroller and when that happened, the
textMorph would be clipped to the scroller's width. This can only happen
when you disable #alwaysShowVScrollBar which is why I couldn't reproduce
it at first but your screenshot showed that your scrollbars weren't
showing which was useful.

Cheers,
   - Andreas

On 6/15/2010 9:16 AM, Chris Muller wrote:

> Yes.  Set
>
>      RealEstateAgent standardSize: 450@550
>
> so that window proportions are a little taller and narrower.
>
> Then, open up DateAndTimeEpochTest in a browser (hierarchy or
> package-pane, either one).   _Do not resize_ the window after it
> opens.  Then, just select any method.  Arrow down, observing the
> right-margin of the code.  On many methods, the code is truncated,
> sometimes even in the middle of a character...
>
>   - Chris
>
>
> On Mon, Jun 14, 2010 at 11:47 PM, Andreas Raab<[hidden email]>  wrote:
>> On 6/14/2010 3:17 PM, Chris Muller wrote:
>>>
>>> Does anyone mind the word-wrapping / truncation issue as depicted in
>>> the lower-right corner of the attached screen-shot?
>>>
>>> Simply tweaking the size of the window fixes it, but I've been doing
>>> that for a couple of years now, so it's time to ask.  This issue
>>> exists in 3.9 too, so it's an old problem that probably has Pharo too,
>>> but I don't recall at the moment..
>>
>> Is there an easy way to recreate this problem?
>>
>> Cheers,
>>   - Andreas
>>
>>
>
>