Article View: borland.public.cppbuilder.nativeapi
Article #6151Re: Syntax Highlighting
From: Remy Lebeau (TeamB)
Date: Mon, 06 Jun 2005 17:14
Date: Mon, 06 Jun 2005 17:14
19 lines
1578 bytes
1578 bytes
"Michel Corbin" <"Michel Corbin"> wrote in message news:42a452d4@newsgroups.borland.com... > What is the fastest method to read a few characters > after finding a backslash, Instead of reading characters, have a look at EM_FINDWORDBREAK instead. You could also use EM_SETWORDBREAKPROC to set your own custom callback function that helps you identify such characters. Or, you could not use a RichEdit control at all. RichEdit controls were not designed for syntax highlighting. Use a control that is actualy designed from the ground up specifically for syntax highlighting. Such as SynEdit (http://synedit.sourceforge.net), or any number of other third-party controls that are available. Gambit
Technical Details
Message-ID:
<42a4845f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42a452d4@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,e549c567e259b6cf X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42a452d4@newsgroups.borland.com> Subject: Re: Syntax Highlighting Date: Mon, 6 Jun 2005 10:14:39 -0700 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <42a4845f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118078047 68.69.17.41 (6 Jun 2005 10:14:07 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail