> Those are all text.
> And yes any text editor can do those things, including RB's editfield.

Not properly, though. I told you, RB's editfield sucks for syntax  
styling large amounts of text. In fact large amounts of text unstyled  
make it choke. At least for Mac it does. For the PC it seems to  
handle text better.

> The "special" items that are in the code editor in the RB IDE re the
> code folding, syntax highlighting and all any of the other items that
> are of use ONLY within the context of the RB IDE.

You missed the point that I plainly stated. I said nothing about case  
matching...

> Write your own with MLTE or whatever you want.

Sure... MLTE has some serious problems with it. ATSUI is better, but  
a major pain in the ass to do properly. Even then it's Mac only.

> Or support Brandon and his efforts with the FTC.

I'm not aware of what Brandon is up to.

> I really doubt the canvas that REAL has in the IDE would be of a lot
> of general purpose use but that's just my guess

Maybe RS could just write an editfield that doesn't suck? ;)

I've explained this so many times before, but I'll say it again.  
Firstly it needs to handle large amounts of text, effortlessly, just  
like CodeWarrior does. That just means it DOESN'T try to rewrap the  
entire text before displaying it!! It's possible to use byte-offsets  
instead of line-offsets, or just put the line-counter into it's own  
thread like Apple's TextEdit does.

Secondly, the styling needs to be done "on demand". This makes  
styling super fast. And also, make it simple this time. The previous  
attempt at styling was way overcomplicated.

RB's canvas based editfield isn't really done properly... It isn't as  
fast as it should be, given how fast ATSUI is, and the hit detection  
is slightly off, seeing as it's not using ATSUI calls but instead  
fudging things with graphics.stringwidth. Still, even that quirky  
editfield is better than RB's editfield they give to us!! I'm also  
not certain that approach could work for text that wraps its lines.  
But many kinds of code needs long line wrapped, such as HTML or XML  
which may contain large blocks of plain English text. Using ATSUI  
properly would solve that.

Oh wait, you don't want to listen to me, as I am not high enough up  
your arbitrarily defined social ladder...

Just dismiss my delicious suggestions away. We know you want to.

(BTW this post also addresses Charles's idea on writing his own  
editfield. He won't make one as good as CodeWarrior's, using RB's  
canvas, I'll bet.)


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to