Re: Peter EBERLEIN's windows editor wee
- Posted by David Cuny <dcuny at DSS.CA.GOV> Mar 04, 1998
- 763 views
------ =_NextPart_000_01BD478F.D1AB45C0 Content-Transfer-Encoding: quoted-printable Nice work, Pete! > Coloured syntax and other wishes There are only two ways I can think of handling the colored syntax. The = first is a horrible kludge: write the colored text on top of the text = displayed in the MLE by trapping events sent to it, and writing over it = after it changes. The only advantage it has is that it's not the second approach: writing = your own text editor. If you have the Petzold book, take a look at the = TYPER program in Chapter 5. It's a very rudimentary text editor. I'm not = sure how to specify text colour, though. You should be able to combine that with Robert's SYNCOLOR.E routine to = get the appropriate syntax coloring. I'm going to take a stab at a Win32 editor with the requested features, = but probably not this month. :) * David Cuny ------ =_NextPart_000_01BD478F.D1AB45C0