CSyntaxColorizer: Syntax Highlighting Cl - 项目摘要 |
摘要
| 管理 |
论坛 文档
| 软件包 |
|
|
|
项目描述: |
The CSyntaxColorizer class described here is a fast and versatile class for the syntax highlighting of code. The class is very simple to use, very fast, and highly flexible. The default highlighting mode is VC++, with comments in green, strings in dark blue, and keywords in light blue. The class exposes several methods that can be used for changing these defaults - and color is not the only option. Highlighted words can be made bold, italic, underlined, and more. The exposed methods take a CHARFORMAT structure as a parameter, so whatever text formatting changes can be made with a CHARFORMAT structure can also be made with the keyword, comment, and string formats in CSyntaxColorizer.
CSyntaxColorizer是一个快速而通用的类,用于突出显示语法。这个类简单、快速、灵活。缺省的突出显示模式是VC++,用绿色表示注释,深蓝色表示字符串,亮蓝色表示关键字。这个类展示了可以用于修改这些缺省设置的方法-颜色不是唯一的选择。突出显示的词可以用粗体、斜体、下划线等等。展示的方法使用 CHARFORMAT结构作为参数,这样可以用CHARFORMAT结构提供对任何文本格式的修改,可以是关键字、注释和CSyntaxColorizer中的字符串格式。
来源: http://www.codeguru.com/richedit/SyntaxColorizer.html |
类别: |
|
发布者:
cbd002
|
|
最新发布源码包 |
软件包 |
版本号 |
日期 |
本地下载 |
SyntaxColorizer_demo |
 1.0  |
2004-04-17 |
下载 |
|
|