Visual Studio API(Visual Studio用于显示代码的文本框) [英] Visual Studio API (The textbox Visual Studio uses to display the code)

查看:83
本文介绍了Visual Studio API(Visual Studio用于显示代码的文本框)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我想知道在Windows窗体应用程序中是否存在用于使用Visual Studio内置工具(特别是代码文本框)的API或库,以显示一段代码.

I wondered if there is an API or a library for using Visual Studio's built-in tools (the code textbox in particular), in a Windows Forms Application, in order to display a piece of code.

推荐答案

您好,welrocken,

Hi welrocken,

您可以参考下面的文章.
http://www.codeproject.com/Articles/161871/Fast-Colored-语法突出显示文本框

You could reference below article.
http://www.codeproject.com/Articles/161871/Fast-Colored-TextBox-for-syntax-highlighting

或在库下面下载.
https://github.com/jacobslusser/ScintillaNET

Or download below library.
https://github.com/jacobslusser/ScintillaNET

最好的问候,
王丽

Best Regards,
Li Wang


这篇关于Visual Studio API(Visual Studio用于显示代码的文本框)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆