开发者

Code Editor in C#

开发者 https://www.devze.com 2023-01-10 19:53 出处:网络
i am writing a small app to manage code snippets , so i want a component to display the code (keyword coloring , lines numbering ...) , so where to get this component and if it doesnt exist how to imp

i am writing a small app to manage code snippets , so i want a component to display the code (keyword coloring , lines numbering ...) , so where to get this component and if it doesnt exist how to implement it .

edit : i dont want to write a 开发者_Python百科code editor , only a component to display code with last features (keyword coloring , lines numbering ...) instead of plain text area thanks


For syntax highlighting check :

Syntax Highlighting in Rich TextBox Control

Syntax highlighting textbox in C#

How To Implement Syntax Highlighting In A WinForms Application

Also you can check there must be some 3rd party controls.


I suggest http://www.codeproject.com/Articles/161871/Fast-Colored-TextBox-for-syntax-highlighting which has a lot of features.

Also, encapsulating http://ace.c9.io/#nav=about would be an option depending on your technology stack

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号