On 29 Mar 2017, at 17:01, Andrei Chis <chisvasileandrei@gmail.com> wrote:On Wed, Mar 29, 2017 at 2:12 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:why does rubric checks for maxVal at first instance?This is the problematic code for Spotter:RubAbstractTextArea>>#drawingBounds^ (self scrollPane isNil or: [ self wrapped ])ifTrue: [self innerBounds]ifFalse: [ self innerBounds topLeft extent: SmallInteger maxVal @ SmallInteger maxVal ]
> On 29 Mar 2017, at 14:07, Andrei Chis <chisvasileandrei@gmail.com> wrote:
>
> Hi,
>
> Right now rubric relies on 'SmallInteger maxVal' to set the drawing bounds when a size is not set for the editor. This has some side-effects, like the text in Spotter not appearing on 64 bit given that some drawing methods from the graphical backend seem to expect 32 bit ranges. We can fix this by introducing #maxVal32 or maybe there could be some range checks in the canvas. Comments?
>
> Cheers,
> Andrei