Re: Win32Lib IDE
- Posted by Travis Beaty <travisbeaty at arn.net> Mar 16, 2001
- 762 views
Howdy y'all! Well, this might be out of sync a little with Judith's devilish IDE plans , but I'm the one rewriting the editor. So, as there are a plethora of wish-list items, I suppose I'll try to answer some of them right quick. Okay ... where to start? ----------------------------------- daryl_vdb at HOTMAIL.com wrote: Could you make the code editor display all the routines at once, similar to vb? This could let you scatter (General) code and declarations anywhere in the program, in between procedures. The answer: I'm modeling the editor as close as possible to the VB editor found in VB5. This includes those two cute little buttons at the lower-left hand corner which allow you to switch willy-nilly from routine to full view, and vice versa. In this way, you can do what you've suggested. However, the trick will come in getting that "interspersed" code to stay put using the formatting scheme I've devised to get IDE and the editor to talk to each other. (Like the ruler, this will be a "plug-in," so that I can maintain a distance from the IDE's code ... that way, Judith and I won't have to worry so much about breaking each other's code.) ------------------------------------ Theo also offered a number of requests. No, it's not Christmas time, but start hanging the stocking, Santa Claus is on his way. (No snow in Claude, and tumbleweeds really scuff the skids!) Seriously, though, I will borrow from Mr. Craig's method and maintain a wish list list, which contains features that I'll work on as possible. At this point, my focus is getting the thing running and usable, so that it can be put in the IDE. The upside is that once it's "in the field," I'll have a lot better idea where the problems lie and how to deal with them. The downside is that it will be a barebones minimum, and will in time get worked up to snuff. So I guess I'll beg for patience as the works are coming together. This also brings up a question for the VBesque crowd. If I introduce some of the features which Theo requested, the editor's function will naturally move away from the VB model slightly. However, Judith has mentioned that there is really a push to make the IDE operate, and appear, as close to VB as possible. So there may be a point of future contention here. ----------------------------------- Tone Skoda wrote: I'm interested, will editor be using Richedit? Becuase text editor written in Euphoria ussualy is too slow and to uncomfortable and too hard to write. Pete Eberlein wrote Euphoria editor using Richedit. It's only problem was that it took long to color all the words when loading file. The answer: Yes, at this point the editor will use a Richedit control. The main reason for this is that I can develop a little quicker (I think). On the point of speed, I've noticed that on my old Win95 machine, IDE's current editor was painfully slow ... code a line, go get the paper and a cup of coffee, and it might be done when you get back. That is what prompted me to take on this project. However, on my newer WinME machine, there is almost no appreciable time delay. So it may be more a matter of CPU horsepower than anything else. My original intention was to attempt to speed things up for Win95 machines. But, since Derek has stated that Win95 will not be officially supported, and since this is a win32lib.ew project, I've come to the conclusion that as the editor developer, it might be more prudent for me to adopt this policy as well, whether I agree with it or not. And, there will be syntax coloring as well. I've never worked with Pete Eberlein's program, however, the editor will pull two stunts to speed up the syntax coloring a little: 1. It will attempt to color only the text which is visible in the editor at the given moment. 2. It will color a line only after the cursor has left the line in question. This will speed things up when you type in raw data, and at the same time create a behavior that, as far as I can see, is in keeping with the VB editor. As far as adding new routines, etc., *at this point in the game* most of that will be done via the IDE "project" itself. I don't want to say too much hear, as I wouldn't want to let too many of Judith's cats out of the bag. Where the editor is concerned, however, I'm fairly confident it could swallow EE:CS' code without choking too hard ... the maximum limit in the RichEdit at any one time will be 800k, which could handle win32lib.ew. The idea for this is from an old editor I was working on, and it worked then, so it should work now. Hope ... Hope ... Hope ... ------------------------- Finally, keep in mind that Judith is the leader on this one. If Judith says it's done using Strategy A, then it'll be done that way. I'll leave all timetables and promises in her capable hands! (You're welcome, Judith.) Hehehehe Happy Hunting, Travis Beaty Claude, Texas.