Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用阿瓦隆编辑。
我需要在编辑器中查找并突出显示多个字符串。任何想法如何实现这一点。我知道如何找到单个字符串,但我需要找到多个字符串并突出显示所有字符串。
您使用的是 VS 2010 吗?如果是,请下载 SharpDevlop 4.2 代码源并查看 CaretReferencesRenderer.cs 文件(可以在 AddIns-> Display Bindings->AvalonEdit.AddIn 下找到它)。