🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #170

Re: Syntax Highlighting

#170
From: Vimal N. Lad / Gautam N. Lad
Date: Sun, 20 Sep 1998 00:00
17 lines
1577 bytes
Hi,
>    I am writing a text editor and I would like to include C++ syntax
>highlighting in the program. Can i do this with a CEditView or does it have
>to be a CRichEditView ? If anyone could give me an idea of how to do this or
>point me to some source code somewhere, please email me at mpv@mediaone.net.
>Thanks in advance.
Go to www.codeguru.com.  They have a class which handles syntax colouring (it 
should be flexible enough to allow you add your own keywords+colour).

It's in the Edit section.

Bye!

Gautam N. Lad / Vimal N. Lad
- E-mail: vnlad@myna.com
- Website: http://www.geocities.com/SiliconValley/Heights/1107
- ICQ #7196672
Technical Details
Message-ID: <360529e7.0@news.myna.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6u2t0t$8jn$1@ndnws01.ne.highway1.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110a07,201b3dbbdddd9931
X-Google-Attributes: gid110a07,public
X-Google-Thread: 1138df,201b3dbbdddd9931
X-Google-Attributes: gid1138df,public
X-Google-Thread: f959c,201b3dbbdddd9931
X-Google-Attributes: gidf959c,public
X-Google-Thread: 10d4ba,201b3dbbdddd9931
X-Google-Attributes: gid10d4ba,public
X-Google-Thread: 104d65,201b3dbbdddd9931
X-Google-Attributes: gid104d65,public
X-Google-Thread: 114592,201b3dbbdddd9931
X-Google-Attributes: gid114592,public
From: vnlad@myna.com (Vimal N. Lad / Gautam N. Lad)
Subject: Re: Syntax Highlighting
Date: 1998/09/20
Message-ID: <360529e7.0@news.myna.com>
X-Deja-AN: 393010185
References: <6u2t0t$8jn$1@ndnws01.ne.highway1.com>
Newsgroups: alt.comp.lang.learn.c-c++,att.lang.c++,comp.os.ms-windows.programmer.tools.mfc,fj.os.ms-windows.programming,microsoft.public.vc.mfc,microsoft.public.vc.mfcole