资源简介
C#实现的比较牛逼的语法高亮着色编辑器,类似于各种开发的编辑器,有这方面需求的可以下载

代码片段和文件信息
using System;
namespace FastColoredTextBoxNS
{
///
/// Item of autocomplete menu
///
public class AutocompleteItem
{
public string Text;
public int ImageIndex = -1;
public object Tag;
string toolTiptitle;
string toolTipText;
string menuText;
public AutocompleteMenu Parent { get; internal set; }
public AutocompleteItem()
{
}
public AutocompleteItem(string text)
{
Text = text;
}
public AutocompleteItem(string text int imageIndex)
: this(text)
{
this.ImageIndex = imageIndex;
}
public AutocompleteItem(string text int imageIndex string menuText)
: this(text imageIndex)
{
this.menuText = menuText;
}
public AutocompleteItem(string text int imageIndex string menuText string toolTiptitle string toolTipText)
: this(text imageIndex menuText)
{
this.toolTiptitle = toolTiptitle;
this.toolTipText = toolTipText;
}
///
/// Returns text for inserting into Textbox
///
public virtual string GetTextForReplace()
{
return Text;
}
///
/// Compares fragment text with this item
///
public virtual CompareResult Compare(string fragmentText)
{
if (Text.StartsWith(fragmentText StringComparison.InvariantCultureIgnoreCase) &&
Text != fragmentText)
return CompareResult.VisibleAndSelected;
return CompareResult.Hidden;
}
///
/// Returns text for display into popup menu
///
public override string ToString()
{
return menuText ?? Text;
}
///
/// This method is called after item inserted into text
///
public virtual void onselected(AutocompleteMenu popupMenu SelectedEventArgs e)
{
;
}
///
/// title for tooltip.
///
/// Return null for disable tooltip for this item
public virtual string ToolTiptitle
{
get { return toolTiptitle; }
set { toolTiptitle = value; }
}
///
/// Tooltip text.
///
/// For display tooltip text ToolTiptitle must be not null
public virtual string ToolTipText
{
get{ return toolTipText; }
set { toolTipText = value; }
}
///
/// Menu text. This text is displayed in the drop-down menu.
///
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
....... 6875 2012-02-28 17:12 FastColoredTextBox\FastColoredTextBox\AutocompleteItem.cs
....... 19680 2012-05-05 09:30 FastColoredTextBox\FastColoredTextBox\AutocompleteMenu.cs
文件 212992 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\bin\Debug\FastColoredTextBox.dll
文件 458240 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\bin\Debug\FastColoredTextBox.pdb
文件 88420 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\bin\Debug\FastColoredTextBox.xm
....... 1176 2012-02-28 17:12 FastColoredTextBox\FastColoredTextBox\Char.cs
....... 6342 2012-05-03 01:47 FastColoredTextBox\FastColoredTextBox\CommandManager.cs
....... 25372 2012-05-05 21:28 FastColoredTextBox\FastColoredTextBox\Commands.cs
....... 7445 2012-02-28 17:12 FastColoredTextBox\FastColoredTextBox\Export.cs
文件 175771 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\FastColoredTextBox.cs
文件 4683 2014-04-24 11:51 FastColoredTextBox\FastColoredTextBox\FastColoredTextBox.csproj
....... 5817 2011-03-12 01:22 FastColoredTextBox\FastColoredTextBox\FastColoredTextBox.resx
....... 13110 2012-03-19 12:02 FastColoredTextBox\FastColoredTextBox\FileTextSource.cs
文件 3390 2012-05-25 09:16 FastColoredTextBox\FastColoredTextBox\FindForm.cs
....... 6658 2011-04-13 13:15 FastColoredTextBox\FastColoredTextBox\FindForm.Designer.cs
....... 5817 2011-04-13 13:15 FastColoredTextBox\FastColoredTextBox\FindForm.resx
....... 665 2012-02-28 17:12 FastColoredTextBox\FastColoredTextBox\GoToForm.cs
....... 4434 2012-02-07 20:24 FastColoredTextBox\FastColoredTextBox\GoToForm.Designer.cs
....... 5814 2012-02-07 20:24 FastColoredTextBox\FastColoredTextBox\GoToForm.resx
....... 2318 2012-02-28 17:12 FastColoredTextBox\FastColoredTextBox\LimitedStack.cs
....... 10251 2012-05-05 09:43 FastColoredTextBox\FastColoredTextBox\Line.cs
....... 2219 2012-02-28 17:12 FastColoredTextBox\FastColoredTextBox\LinesAccessor.cs
....... 5861 2011-03-12 01:02 FastColoredTextBox\FastColoredTextBox\obj\Debug\DesignTimeResolveAssemblyReferences.cache
文件 5287 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 6018 2014-04-24 13:13 FastColoredTextBox\FastColoredTextBox\obj\Debug\FastColoredTextBox.csproj.FileListAbsolute.txt
....... 912 2011-05-25 21:23 FastColoredTextBox\FastColoredTextBox\obj\Debug\FastColoredTextBox.csproj.GenerateResource.Cache
文件 212992 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\obj\Debug\FastColoredTextBox.dll
文件 458240 2014-04-24 13:41 FastColoredTextBox\FastColoredTextBox\obj\Debug\FastColoredTextBox.pdb
文件 180 2014-04-24 11:51 FastColoredTextBox\FastColoredTextBox\obj\Debug\FastColoredTextBoxNS.FastColoredTextBox.resources
文件 180 2014-04-24 11:51 FastColoredTextBox\FastColoredTextBox\obj\Debug\FastColoredTextBoxNS.FindForm.resources
............此处省略348个文件信息
- 上一篇:基于C#和AE的二次开发
- 下一篇:XPTable-winform很强大的表格控件
相关资源
- 智慧城市 智能家居 C# 源代码
- c#获取mobile手机的IMEI和IMSI
- C#实现简单QQ聊天程序
- 操作系统 模拟的 欢迎下载 C#版
- C#写的计算机性能监控程序
- 用C#实现邮件发送,有点类似于outlo
- MVC model层代码生成器 C#
- c#小型图书销售系统
- C# Socket Server Client 通讯应用 完整的服
- c# winform 自动登录 百度账户 源代码
- C#编写的16进制计算器
- C#TCP通信协议
- C# 数据表(Dataset)操作 合并 查询一
- C#语音识别系统speechsdk51,SpeechSDK51L
- 数据库备份还原工具1.0 C# 源码
-
[免费]xm
lDocument 节点遍历C# - EQ2008LEDc#开发实例
- DirectX.Capturec# winform 操作摄像头录像附
- c# 实现的最大最小距离方法对鸢尾花
- C#版保龄球记分代码
- C#自定义控件
- 基于c#的实验室设备管理系统621530
- C# 使用ListView控件实现图片浏览器(源
- C#简单窗体聊天程序
- C#指纹识别系统程序 报告
- c# 高校档案信息管理系统
- c#向word文件插入图片
- C#左侧导航菜单(动态生成)
- C#TCP 通信(TCP发送16进制)
- C# sql实现批量导入数据到数据库
评论
共有 条评论