|
详情看这里:http://www.luocong.com/bbs/dispbbs.asp?boardID=2&ID=3467
组件目前的支持:
1. 标签方面:支持HTTP标签和UBB标签
2. 编程语言方面:c、c++、c#、delphi、ilasm、jsnet、masm、vb、vbnet,
其中对c、c++、delphi支持内联汇编的代码着色
样例:
'=====================================================================
' File: WordCount.vb
'
' Summary: Demonstrates how to create a WordCount application
' using various .NET Framework library types.
'
'---------------------------------------------------------------------
' This file is part of the Microsoft .NET Framework SDK Code Samples.
'
' Copyright (C) Microsoft Corporation. All rights reserved.
'
'This source code is intended only as a supplement to Microsoft
'Development Tools and/or on-line documentation. See these other
'materials for detailed information regarding Microsoft code samples.
'
'THIS CODE AND INFORMATION ARE ROVIDED "AS IS" WITHOUT WARRANTY OF ANY
'KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
'IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
'PARTICULAR URPOSE.
'=====================================================================
Option Explicit On
Option Strict On
' Add the classes in the following namespaces to our namespace
Imports System
Imports System.IO
Imports System.Text
Imports System.Threading
Imports System.Security
Imports System.Collections
Imports Microsoft.VisualBasic
Class WordCountArgParser
Inherits ArgParser
' Members identifying command-line argument settings
Private showAlphabeticalWordUsageFlag As Boolean
Private showOccurrenceWordUsageFlag As Boolean
Private outputFileName As String
Private fileEncodingType As Encoding = Encoding.UTF8
Private pathnames As New ArrayList()
& |
|