Finally syntax highlighting is added. Currently we use SharpDevelop's text editor control, and its syntax highlighting engine (line number as well).
Since SharpDevelop does not have an SMI/MIB syntax file, I followed the standard approach to port smi-mib.xml from jEdit. Yes, without doing this you never know #D guys learned from jEdit :)
Here I share the syntax highlighting file, http://code.google.com/p/sharpsnmplib/source/browse/Compiler/smi.xshd so that you may reuse it in your applications.
My name is Lex Li. I love pop music and badminton. Now I live in Shanghai, P.R. China.
Disclaimer
This is a personal web page. The views expressed on this blog are mine and do not necessarily reflect the views of my current employer.
I am currently employed by Morgan Stanley.
I am currently employed by Morgan Stanley.
January 24, 2012
TritonMate Words: Syntax Highlighting for SMI/MIB
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment