1. rectangular area text selection

Hello all,

I recently came across Euphoria (excellent job, congrats extended to
the win32lib and IDE teams). Being new to the language I could use some
help from more experienced people on a little program I am working on.

I need to be able to display a simple text file and then selected with 
the mouse some rectangular areas of the text, getting the size of each.
Any hints are appreciated.

Thanks, DL.

new topic     » topic index » view message » categorize

2. Re: rectangular area text selection

>
>
> posted by: D L <d1eu at yahoo.ca>
>
> Hello all,
>
> I recently came across Euphoria (excellent job, congrats extended to
> the win32lib and IDE teams). Being new to the language I could use some
> help from more experienced people on a little program I am working on.
>
> I need to be able to display a simple text file and then selected with
> the mouse some rectangular areas of the text, getting the size of each.
> Any hints are appreciated.
>
> Thanks, DL.
>

DL,

Just in case, since it would be easier, I'll ask:  do you *really* want
strict *rectangles* from the text displayed, or would it be sufficient to
drag the mouse to select part of a line or one or more lines of text with
optional part of first & last line?  Reason I ask is that there are routines
in Win32Lib that will allow selection & copy portions of text displayed, if
that's what you might want.

Dan Moyer

new topic     » goto parent     » topic index » view message » categorize

3. Re: rectangular area text selection

danielmoyer wrote:
>  
> Just in case, since it would be easier, I'll ask:  do you *really* want
> strict *rectangles* from the text displayed, or would it be sufficient to
> drag the mouse to select part of a line or one or more lines of text with
> optional part of first & last line?  Reason I ask is that there are routines
> in Win32Lib that will allow selection & copy portions of text displayed, if
> that's what you might want.

Dan, I am aware that is easier to select and copy text the way you say,
(I actually tried reading the docs before posting... <pat on my back> ) 
but I *really* need the *rectangular* areas, they are at the essence of
my program. 

All the text/edit controls that I have read about select text sequentially 
but the idea here is to select it "graphically". Note that this also means
that the text has to be displayed as is, without any formatting, i.e.
line wrapping, and wide texts would have to scroll sideways.

Thanks for asking, Denes L.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu