Listing 11 shows the code to create a StyledText.
清单11显示了用于创建StyledText的代码。
StyledText supports some additional optional styles.
StyledText支持其他一些可选样式。
StyledText must be defined as one of two mutually exclusive styles.
必须将StyledText定义为以下两种相互排斥的样式之一。
The StyledText example USES a helper class, TextContent, to identify ranges of text with special attributes.
StyledText的例子使用了一个helper类textcontent,以确定具有特殊属性的文本的范围。
This object not only constructs the editor's StyledText widget but also handles any events that it receives.
此对象不仅构建编辑器的StyledText部件,还处理其接收到的任何事件。
Essentially, the CEditor is a StyledText widget that fits into the workbench and gets content from an IEditorInput instance.
本质上,CEditor是一个跟工作台适配,并从IEditorInput实例中获取内容的StyledText小部件。
For more advanced text presentation, where fonts and colors need to be defined, use the StyledText control found in the custom package.
对于更高级的文本表示形式,需要定义字体和颜色,因此可以使用custom包中的StyledText控件。
For more advanced text presentation, where fonts and colors need to be defined, use the StyledText control found in the custom package.
对于更高级的文本表示形式,需要定义字体和颜色,因此可以使用custom包中的StyledText控件。
应用推荐