Re: Code Editor - Coments wanted
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Apr 15, 2005
- 438 views
On Wed, 6 Apr 2005 20:11:32 +1000, Tony Steward <tony.steward at gmail.com> wrote: >G'Day to all, >I am writing yet another code editor. I know there are plenty of god ones >out there but mine is specifically for EU and works they way I want to work. > >Anyway it is no where near finished, but I would like some feed back on >whether others would find it useful. And any improvements in code or layout. >It is written using the XControls library. I have pinch and pilfered code >from all over the place and am so far generally happy with the result. > >below is the download address: >http://home.exetel.com.au/steward/software/TSCoder.zip > >Looking forward to any comments I've been busy with Edita, it took me a week+ to have a look see. My comments are: There is an idea or two there. I would suggest something more like this: templates={{"Builtin",{ "Searching and Sorting",{ "Compare","i = compare(x1, x2)\n", "Equal","i = equal(x1, x2)\n", "Match","i = match(s1, s2)\n", "Find","i = find(x, s)\n", "Sort","s2 = sort(s1)\n"}, "Maths",{ ... }}, {"Common",{ ... (etc) Probably with some digits in there for the selection/insertion point. I also think you have a severe performance problem; try loading win32lib.ew and paging down to the end of the file. Regards, Pete