Half-Blood Programmer

TritonMate Words: Syntax Highlighting for SMI/MIB

smi_syntax_highlighting by lextm
smi_syntax_highlighting, a photo by lextm on Flickr.

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.

Be Sociable, Share!