fenfire-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fenfire-dev] Ugly copypaste problem


From: Tuomas Lukka
Subject: Re: [Fenfire-dev] Ugly copypaste problem
Date: Thu, 23 Oct 2003 11:37:28 +0300
User-agent: Mutt/1.5.4i

On Thu, Oct 23, 2003 at 10:01:56AM +0300, Matti Katila wrote:
> 
> Selecting text area needs 3 selectable areas:
> asdfasdfaXXXXXXXXXX
> XXXXXXXXXXXXXXXXXXX
> XXXXXXasdfasdfasfas   where X is selected.
> 
> Currently we provide only one area to be selected
> but what's the best choige for those two addition areas:
> copypaste 2 more, using array or List?
> 
> Here is one solution but it's rather ugly, I think.

I agree that it's ugly.

The shape you show is quite special - why not have a special
routine:

        setTextArea(...)

with enough parameters (i.e. 4 x coordinates and 4 y coordinates)
to get the whole area?
        
        Tuomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]