[lazarus] New Colorizer
Data Vortex
dvortex at francemel.com
Tue Jul 13 14:11:27 EDT 1999
maybe you can use a TMemo for displaying the text (like XX lines) and have
a series of TString behind that would hold the file content (regarless od
the size, the memo is probably never going to need to show VERY large piece
of code (it will have to know about it) but for 'visible piece of code', it
will never be a lot (probably never more than 1000 lines at once). You just
need to be able to show a 'window' on the text, so just show that in the
memo..
(i hope i'm not generating garbage)
Is that what you are looking for ?
At 12:59 PM 7/13/99 -0500, you wrote:
>My idea was to combine a few components. Perhaps a TMemo and a TCanvas,
but the problem is TMemo won't work because of it's file size limitation.
>
>Also, not sure if using a TCanvas (drawing widget) would be the best idea
or not.
>
>Shane
>
>
>>>> "Baeseman, Cliff" <Cliff.Baeseman at greenheck.com> 07/13 12:16 PM >>>
>How about a frame bound to the left side of a TMemo.. Later we can just add
>code for a click event to blast on to the frame a image or drawing widget
>containing the red dot or whatever...I think you may also be able to adjust
>the frame borders and such to make it appear as sunken...
>
>Cliff
>
>-----Original Message-----
>From: Shane Miller [mailto:SMiller1 at stvgb.org]
>Sent: Tuesday, July 13, 1999 11:55 AM
>To: lazarus at miraclec.com
>Subject: [lazarus] New Colorizer
>
>
>Question:
>I've been staring at my screen now for a while trying to think of the best
>way to create a new colorizer with a gray area to the left of it for
>breakpoints and such.
>Anyone have any idea's they want to share? I figure with this many people,
>someone will probably say something that'll get me going.
>
>The current setup is a TMemo (gtktext) but technically it shouldn't be able
>to colorize stuff. Also, I think gtktext widget suffers from an inability
>to hold large files.
>
>Also, I HATE how it hold's the text in memory. It holds it in one long line
>instead of a list of strings.
>
>Thoughts? It's too quiet in this mailing list today anyways.
>
>Shane
>
>
>>>> Peter Vreman <pfvreman at wins.uva.nl> 07/13 8:12 AM >>>
>> I connected yesterday to the cvs to download the lazarus and ide code.
>>
>> I am running on Linux. Whenver I try to do a make, it complains about a
>> FPCDIR & FPCMAKE not set up. FPCDIR I can figure out, but FPCMAKE ???
>You only need to set the FPCDIR to /usr/lib/fpc/0.99.12/ because there is
>the makefile.fpc located
>
>Peter
>
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
>_________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.miraclec.com/list_archives/lazarus
>
>
-----
Nothing is foolproof to a
sufficiently talented fool.
___ ,,,
"\(6 6)
---oOOo-U-oOOo---
More information about the Lazarus
mailing list