update 20241225
140
Plugin_Printersettings/AllgFnkt_Plugin.vbproj
Normal file
@@ -0,0 +1,140 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>
|
||||
</ProductVersion>
|
||||
<SchemaVersion>
|
||||
</SchemaVersion>
|
||||
<ProjectGuid>{80BE4E1A-EDDF-4947-B3F7-633901071E95}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>AllgFnkt_Plugin</RootNamespace>
|
||||
<AssemblyName>AllgFnkt_Plugin</AssemblyName>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<MyType>Windows</MyType>
|
||||
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<DefineDebug>true</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<OutputPath>..\TKBOfficeLib\bin\Release\</OutputPath>
|
||||
<DocumentationFile>AllgFnkt_Plugin.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<DefineDebug>false</DefineDebug>
|
||||
<DefineTrace>true</DefineTrace>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\TKBOfficeLib\bin\Release\</OutputPath>
|
||||
<DocumentationFile>AllgFnkt_Plugin.xml</DocumentationFile>
|
||||
<NoWarn>42016,41999,42017,42018,42019,42032,42036,42020,42021,42022</NoWarn>
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<Prefer32Bit>false</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionExplicit>On</OptionExplicit>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionCompare>Binary</OptionCompare>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionStrict>Off</OptionStrict>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<OptionInfer>On</OptionInfer>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Microsoft.Office.Interop.Word, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.VisualBasic.PowerPacks.Vs, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="PluginAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=55399346248d9df5, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\TKBOfficeLib\bin\Release\PluginAPI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Import Include="Microsoft.VisualBasic" />
|
||||
<Import Include="System" />
|
||||
<Import Include="System.Collections" />
|
||||
<Import Include="System.Collections.Generic" />
|
||||
<Import Include="System.Data" />
|
||||
<Import Include="System.Diagnostics" />
|
||||
<Import Include="System.Linq" />
|
||||
<Import Include="System.Xml.Linq" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="clsAllgFnkt.vb" />
|
||||
<Compile Include="frmPrinterSettings.Designer.vb">
|
||||
<DependentUpon>frmPrinterSettings.vb</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="frmPrinterSettings.vb">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Plugin.vb" />
|
||||
<Compile Include="My Project\AssemblyInfo.vb" />
|
||||
<Compile Include="My Project\Application.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Application.myapp</DependentUpon>
|
||||
<DesignTime>True</DesignTime>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Resources.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="My Project\Settings.Designer.vb">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="frmPrinterSettings.resx">
|
||||
<DependentUpon>frmPrinterSettings.vb</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="My Project\Resources.resx">
|
||||
<Generator>VbMyResourcesResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.vb</LastGenOutput>
|
||||
<CustomToolNamespace>My.Resources</CustomToolNamespace>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="My Project\Application.myapp">
|
||||
<Generator>MyApplicationCodeGenerator</Generator>
|
||||
<LastGenOutput>Application.Designer.vb</LastGenOutput>
|
||||
</None>
|
||||
<None Include="My Project\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<CustomToolNamespace>My</CustomToolNamespace>
|
||||
<LastGenOutput>Settings.Designer.vb</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.VisualBasic.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
98
Plugin_Printersettings/AllgFnkt_Plugin.vsdoc
Normal file
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<!-- VSdocman config file for current project/solution.-->
|
||||
<activeProfile>default</activeProfile>
|
||||
<appSettings>
|
||||
<add key="VBdocman_regexFilters"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
||||
<filters />]]></add>
|
||||
<add key="VBdocman_comNonCommented"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comPublic"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comPrivate"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comFriend"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comProtected"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comProtectedFriend"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comMethod"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comStdModule"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comObject"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comForm"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comProperty"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comEvent"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_comVariable"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comConstant"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comEnumeration"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comStructure"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comDelegate"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comInterface"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comAttribute"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comEventDecl"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comDeclare"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comContextID"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comWriteDescription"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_useConditionalCompilation"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_conditionalConstants"><![CDATA[]]></add>
|
||||
<add key="VBdocman_showFormsSeparate"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_showInherited"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_indentMode"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_insertSourceGlobal"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_unbreakSourceLines"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_removeAttributes"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_generateVbSyntax"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_generateCsharpSyntax"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_generateCppSyntax"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_generateJscriptSyntax"><![CDATA[-1]]></add>
|
||||
<add key="VBdocman_supportedPlatforms"><![CDATA[Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition]]></add>
|
||||
<add key="VBdocman_supportedNetFramework"><![CDATA[3.0, 2.0, 1.1, 1.0]]></add>
|
||||
<add key="VBdocman_supportedNetCompactFramework"><![CDATA[2.0, 1.0]]></add>
|
||||
<add key="VBdocman_supportedXnaFramework"><![CDATA[1.0]]></add>
|
||||
<add key="VBdocman_customVar1"><![CDATA[]]></add>
|
||||
<add key="VBdocman_customVar2"><![CDATA[]]></add>
|
||||
<add key="VBdocman_customVar3"><![CDATA[]]></add>
|
||||
<add key="VBdocman_titlePageText"><![CDATA[]]></add>
|
||||
<add key="VBdocman_rootNamespaceText"><![CDATA[]]></add>
|
||||
<add key="VBdocman_rootNamespaceCommentStyle"><![CDATA[2]]></add>
|
||||
<add key="VBdocman_pageFooterText"><![CDATA[Generated by VSdocman]]></add>
|
||||
<add key="VBdocman_outputPath"><![CDATA[$(ProjectDir)VSdoc]]></add>
|
||||
<add key="VBdocman_templateFolder"><![CDATA[$(VSdocmanDir)Templates]]></add>
|
||||
<add key="VBdocman_externalFilesFolder"><![CDATA[]]></add>
|
||||
<add key="VBdocman_fileNamingConvention"><![CDATA[1]]></add>
|
||||
<add key="VBdocman_templateLocale"><![CDATA[en-US]]></add>
|
||||
<add key="VBdocman_templatePath"><![CDATA[chm_msdn2.vbdt]]></add>
|
||||
<add key="VBdocman_enumSorting"><![CDATA[1]]></add>
|
||||
<add key="VBdocman_helpTitle"><![CDATA[AllgFnkt_Plugin Reference]]></add>
|
||||
<add key="VBdocman_customTopics"><![CDATA[<?xml version="1.0" encoding="utf-8"?>
|
||||
<topics>
|
||||
<topic>
|
||||
<type>normal</type>
|
||||
<is-default>yes</is-default>
|
||||
<name>AllgFnkt_Plugin Reference</name>
|
||||
<id>allgfnkt_plugin_reference</id>
|
||||
<comment><![CDATA[<summary></summary>vsdocman_escaped_]_]_></comment>
|
||||
<namespaces />
|
||||
<topics>
|
||||
<topic>
|
||||
<type>placeholder</type>
|
||||
<is-default>no</is-default>
|
||||
<name />
|
||||
<id>4e9cbe69bde64a71b340cbc83c3084a2</id>
|
||||
<comment><![CDATA[vsdocman_escaped_]_]_></comment>
|
||||
<namespaces />
|
||||
<topics />
|
||||
</topic>
|
||||
</topics>
|
||||
</topic>
|
||||
</topics>]]></add>
|
||||
<add key="VBdocman_linkForExternalNotInFramework"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_allowMacrosInComments"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_emptyOutputFolder"><![CDATA[0]]></add>
|
||||
<add key="VBdocman_comModules_My Project...Application.Designer.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_My Project...AssemblyInfo.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_My Project...Resources.Designer.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_My Project...Settings.Designer.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_Plugin.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_clsAllgFnkt.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_frmPrinterSettings.Designer.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_frmPrinterSettings.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_frmRapport.Designer.vb"><![CDATA[On]]></add>
|
||||
<add key="VBdocman_comModules_frmRapport.vb"><![CDATA[On]]></add>
|
||||
</appSettings>
|
||||
</configuration>
|
||||
95
Plugin_Printersettings/AllgFnkt_Plugin.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0"?>
|
||||
<!--
|
||||
Generated by VSdocman, see http://www.helixoft.com
|
||||
-->
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>AllgFnkt_Plugin</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:AllgFnkt_Plugin.frmPrinterSettings_sik">
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings_sik.Dispose(System.Boolean)">
|
||||
<param name="disposing">
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:AllgFnkt_Plugin.clsAllgFnkt">
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.clsAllgFnkt.FormularAktualisieren(System.Object)">
|
||||
<param name="app">
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:AllgFnkt_Plugin.frmPrinterSettings">
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings.#ctor(System.Object@)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:AllgFnkt_Plugin.frmPrinterSettings">frmPrinterSettings</see> class.</summary>
|
||||
<param name="a_wdapp">
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings.SortNodes(System.Windows.Forms.TreeNodeCollection,System.Boolean)">
|
||||
<param name="NodesCollection">
|
||||
</param>
|
||||
<param name="Ascending">
|
||||
If set to <see langword="true" />, then ; otherwise, .</param>
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings.DefaultPrinterName">
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings_sik.#ctor(System.Object@)">
|
||||
<summary>
|
||||
Initializes a new instance of the <see cref="T:AllgFnkt_Plugin.frmPrinterSettings_sik">frmPrinterSettings_sik</see> class.</summary>
|
||||
<param name="a_wdapp">
|
||||
</param>
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings_sik.SortNodes(System.Windows.Forms.TreeNodeCollection,System.Boolean)">
|
||||
<param name="NodesCollection">
|
||||
</param>
|
||||
<param name="Ascending">
|
||||
If set to <see langword="true" />, then ; otherwise, .</param>
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings_sik.DefaultPrinterName">
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.frmPrinterSettings.Dispose(System.Boolean)">
|
||||
<param name="disposing">
|
||||
</param>
|
||||
</member>
|
||||
<member name="T:AllgFnkt_Plugin.Plugin">
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.Plugin.Start(System.Object,System.String,System.Object)">
|
||||
<summary>
|
||||
Startet eine implementierte Funktion: - Formularaktualisierung - Printersettings</summary>
|
||||
<returns>
|
||||
Returnwert aus der Funktion, sofern von der Funktion unterstützt</returns>
|
||||
<param name="App">
|
||||
Applikationsobjekt (z.B. Word)</param>
|
||||
<param name="Fnkt">
|
||||
Aufzurufende Funktion</param>
|
||||
<param name="Parameters">
|
||||
Parameter sofern von der Funktion unterstütz</param>
|
||||
</member>
|
||||
<member name="M:AllgFnkt_Plugin.Plugin.Finalize">
|
||||
</member>
|
||||
<member name="P:AllgFnkt_Plugin.Plugin.PluginName">
|
||||
<summary>
|
||||
Liefert Plugin-Name und Version</summary>
|
||||
</member>
|
||||
<member name="P:AllgFnkt_Plugin.Plugin.IAppdomain">
|
||||
<summary>
|
||||
Gets or sets .</summary>
|
||||
</member>
|
||||
<member name="P:AllgFnkt_Plugin.Plugin.ErrorCode">
|
||||
<summary>
|
||||
Liefer Fehlercode Code ungleich 0 - Detaillierte Meldung in Error-Message</summary>
|
||||
</member>
|
||||
<member name="P:AllgFnkt_Plugin.Plugin.Returnwert">
|
||||
<summary>
|
||||
Liefert ein allfälliges Resultat aus einer Funktion zurück</summary>
|
||||
</member>
|
||||
<member name="P:AllgFnkt_Plugin.Plugin.ErrorMessage">
|
||||
<summary>
|
||||
Fehlermeldung bei iError-Code ungleich 0</summary>
|
||||
</member>
|
||||
<member name="N:AllgFnkt_Plugin">
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
13
Plugin_Printersettings/My Project/Application.Designer.vb
generated
Normal file
@@ -0,0 +1,13 @@
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Dieser Code wurde von einem Tool generiert.
|
||||
' Laufzeitversion:4.0.30319.42000
|
||||
'
|
||||
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
' der Code erneut generiert wird.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
10
Plugin_Printersettings/My Project/Application.myapp
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<MySubMain>false</MySubMain>
|
||||
<SingleInstance>false</SingleInstance>
|
||||
<ShutdownMode>0</ShutdownMode>
|
||||
<EnableVisualStyles>true</EnableVisualStyles>
|
||||
<AuthenticationMode>0</AuthenticationMode>
|
||||
<ApplicationType>1</ApplicationType>
|
||||
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
|
||||
</MyApplicationData>
|
||||
35
Plugin_Printersettings/My Project/AssemblyInfo.vb
Normal file
@@ -0,0 +1,35 @@
|
||||
Imports System
|
||||
Imports System.Reflection
|
||||
Imports System.Runtime.InteropServices
|
||||
|
||||
' Allgemeine Informationen über eine Assembly werden über die folgenden
|
||||
' Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
|
||||
' die mit einer Assembly verknüpft sind.
|
||||
|
||||
' Die Werte der Assemblyattribute überprüfen
|
||||
|
||||
<Assembly: AssemblyTitle("AllgFnkt_Plugin")>
|
||||
<Assembly: AssemblyDescription("")>
|
||||
<Assembly: AssemblyCompany("Microsoft")>
|
||||
<Assembly: AssemblyProduct("AllgFnkt_Plugin")>
|
||||
<Assembly: AssemblyCopyright("Copyright © Microsoft 2011")>
|
||||
<Assembly: AssemblyTrademark("")>
|
||||
|
||||
<Assembly: ComVisible(False)>
|
||||
|
||||
'Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird
|
||||
<Assembly: Guid("70d56a1f-9918-45e2-baf7-9dace78809c1")>
|
||||
|
||||
' Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten:
|
||||
'
|
||||
' Hauptversion
|
||||
' Nebenversion
|
||||
' Buildnummer
|
||||
' Revision
|
||||
'
|
||||
' Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||
' übernehmen, indem Sie "*" eingeben:
|
||||
' <Assembly: AssemblyVersion("1.0.*")>
|
||||
|
||||
<Assembly: AssemblyVersion("1.0.0.0")>
|
||||
<Assembly: AssemblyFileVersion("1.0.0.0")>
|
||||
63
Plugin_Printersettings/My Project/Resources.Designer.vb
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Dieser Code wurde von einem Tool generiert.
|
||||
' Laufzeitversion:4.0.30319.42000
|
||||
'
|
||||
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
' der Code erneut generiert wird.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
Imports System
|
||||
|
||||
Namespace My.Resources
|
||||
|
||||
'Diese Klasse wurde von der StronglyTypedResourceBuilder automatisch generiert
|
||||
'-Klasse über ein Tool wie ResGen oder Visual Studio automatisch generiert.
|
||||
'Um einen Member hinzuzufügen oder zu entfernen, bearbeiten Sie die .ResX-Datei und führen dann ResGen
|
||||
'mit der /str-Option erneut aus, oder Sie erstellen Ihr VS-Projekt neu.
|
||||
'''<summary>
|
||||
''' Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw.
|
||||
'''</summary>
|
||||
<Global.System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0"), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.Microsoft.VisualBasic.HideModuleNameAttribute()> _
|
||||
Friend Module Resources
|
||||
|
||||
Private resourceMan As Global.System.Resources.ResourceManager
|
||||
|
||||
Private resourceCulture As Global.System.Globalization.CultureInfo
|
||||
|
||||
'''<summary>
|
||||
''' Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager
|
||||
Get
|
||||
If Object.ReferenceEquals(resourceMan, Nothing) Then
|
||||
Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("AllgFnkt_Plugin.Resources", GetType(Resources).Assembly)
|
||||
resourceMan = temp
|
||||
End If
|
||||
Return resourceMan
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle
|
||||
''' Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden.
|
||||
'''</summary>
|
||||
<Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Friend Property Culture() As Global.System.Globalization.CultureInfo
|
||||
Get
|
||||
Return resourceCulture
|
||||
End Get
|
||||
Set
|
||||
resourceCulture = value
|
||||
End Set
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
||||
117
Plugin_Printersettings/My Project/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
73
Plugin_Printersettings/My Project/Settings.Designer.vb
generated
Normal file
@@ -0,0 +1,73 @@
|
||||
'------------------------------------------------------------------------------
|
||||
' <auto-generated>
|
||||
' Dieser Code wurde von einem Tool generiert.
|
||||
' Laufzeitversion:4.0.30319.42000
|
||||
'
|
||||
' Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
|
||||
' der Code erneut generiert wird.
|
||||
' </auto-generated>
|
||||
'------------------------------------------------------------------------------
|
||||
|
||||
Option Strict On
|
||||
Option Explicit On
|
||||
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute(), _
|
||||
Global.System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.10.0.0"), _
|
||||
Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Partial Friend NotInheritable Class MySettings
|
||||
Inherits Global.System.Configuration.ApplicationSettingsBase
|
||||
|
||||
Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings()),MySettings)
|
||||
|
||||
#Region "Automatische My.Settings-Speicherfunktion"
|
||||
#If _MyType = "WindowsForms" Then
|
||||
Private Shared addedHandler As Boolean
|
||||
|
||||
Private Shared addedHandlerLockObject As New Object
|
||||
|
||||
<Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), Global.System.ComponentModel.EditorBrowsableAttribute(Global.System.ComponentModel.EditorBrowsableState.Advanced)> _
|
||||
Private Shared Sub AutoSaveSettings(sender As Global.System.Object, e As Global.System.EventArgs)
|
||||
If My.Application.SaveMySettingsOnExit Then
|
||||
My.Settings.Save()
|
||||
End If
|
||||
End Sub
|
||||
#End If
|
||||
#End Region
|
||||
|
||||
Public Shared ReadOnly Property [Default]() As MySettings
|
||||
Get
|
||||
|
||||
#If _MyType = "WindowsForms" Then
|
||||
If Not addedHandler Then
|
||||
SyncLock addedHandlerLockObject
|
||||
If Not addedHandler Then
|
||||
AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings
|
||||
addedHandler = True
|
||||
End If
|
||||
End SyncLock
|
||||
End If
|
||||
#End If
|
||||
Return defaultInstance
|
||||
End Get
|
||||
End Property
|
||||
End Class
|
||||
End Namespace
|
||||
|
||||
Namespace My
|
||||
|
||||
<Global.Microsoft.VisualBasic.HideModuleNameAttribute(), _
|
||||
Global.System.Diagnostics.DebuggerNonUserCodeAttribute(), _
|
||||
Global.System.Runtime.CompilerServices.CompilerGeneratedAttribute()> _
|
||||
Friend Module MySettingsProperty
|
||||
|
||||
<Global.System.ComponentModel.Design.HelpKeywordAttribute("My.Settings")> _
|
||||
Friend ReadOnly Property Settings() As Global.AllgFnkt_Plugin.My.MySettings
|
||||
Get
|
||||
Return Global.AllgFnkt_Plugin.My.MySettings.Default
|
||||
End Get
|
||||
End Property
|
||||
End Module
|
||||
End Namespace
|
||||
7
Plugin_Printersettings/My Project/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)" UseMySettingsClassName="true">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
49
Plugin_Printersettings/Plugin.vb
Normal file
@@ -0,0 +1,49 @@
|
||||
Imports PluginAPI
|
||||
Imports System
|
||||
|
||||
|
||||
Public Class Plugin
|
||||
|
||||
|
||||
Public Function Start(ByVal App As Object, Fnkt As String, Parameters As Object)
|
||||
Try
|
||||
Select Case UCase(Fnkt)
|
||||
Case "FORMULARAKTUALISIEREN"
|
||||
Case "PRINTERSETTINGS"
|
||||
Try
|
||||
Dim f As New frmPrinterSettings(App, Parameters)
|
||||
f.ShowDialog()
|
||||
f.Dispose()
|
||||
f.Dispose()
|
||||
f = Nothing
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
Finalize()
|
||||
Case "PRINT_COLOR"
|
||||
Dim f As New frmPrinterSettings(App, Parameters)
|
||||
f.Set_Printer_To_Color()
|
||||
f.Dispose()
|
||||
f = Nothing
|
||||
Case "PRINT_BW"
|
||||
Dim f As New frmPrinterSettings(App, Parameters)
|
||||
f.Set_Printer_To_BW()
|
||||
f.Dispose()
|
||||
f = Nothing
|
||||
|
||||
Case Else
|
||||
|
||||
Finalize()
|
||||
Exit Function
|
||||
End Select
|
||||
|
||||
Catch ex As Exception
|
||||
|
||||
End Try
|
||||
Finalize()
|
||||
|
||||
End Function
|
||||
|
||||
|
||||
End Class
|
||||
BIN
Plugin_Printersettings/VSdoc/AllgFnkt_Plugin.chm
Normal file
1460
Plugin_Printersettings/VSdoc/AllgFnkt_Plugin.hhc
Normal file
142
Plugin_Printersettings/VSdoc/AllgFnkt_Plugin.hhk
Normal file
@@ -0,0 +1,142 @@
|
||||
<HTML>
|
||||
<!-- Sitemap 1.0 -->
|
||||
<OBJECT type="text/site properties">
|
||||
</OBJECT>
|
||||
|
||||
<UL>
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="AllgFnkt_Plugin Namespace">
|
||||
<param name="Name" value="AllgFnkt_Plugin Namespace">
|
||||
<param name="Local" value="topic_0000000000000017.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="AllgFnkt_Plugin Reference">
|
||||
<param name="Name" value="AllgFnkt_Plugin Reference">
|
||||
<param name="Local" value="topic_0000000000000016.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="DefaultPrinterName Method {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Name" value="DefaultPrinterName Method {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Local" value="topic_000000000000000A.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="DefaultPrinterName Method {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Name" value="DefaultPrinterName Method {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Local" value="topic_0000000000000007.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="Dispose Method {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Name" value="Dispose Method {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Local" value="topic_0000000000000001.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="Dispose Method {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Name" value="Dispose Method {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Local" value="topic_000000000000000C.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="ErrorCode Property">
|
||||
<param name="Name" value="ErrorCode Property">
|
||||
<param name="Local" value="topic_0000000000000012.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="ErrorMessage Property">
|
||||
<param name="Name" value="ErrorMessage Property">
|
||||
<param name="Local" value="topic_0000000000000014.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="Finalize Method">
|
||||
<param name="Name" value="Finalize Method">
|
||||
<param name="Local" value="topic_000000000000000F.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="FormularAktualisieren Method">
|
||||
<param name="Name" value="FormularAktualisieren Method">
|
||||
<param name="Local" value="topic_0000000000000003.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="IAppdomain Property">
|
||||
<param name="Name" value="IAppdomain Property">
|
||||
<param name="Local" value="topic_0000000000000011.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="Plugin Class">
|
||||
<param name="Name" value="Plugin Class">
|
||||
<param name="Local" value="topic_000000000000000D.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="PluginName Property">
|
||||
<param name="Name" value="PluginName Property">
|
||||
<param name="Local" value="topic_0000000000000010.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="Returnwert Property">
|
||||
<param name="Name" value="Returnwert Property">
|
||||
<param name="Local" value="topic_0000000000000013.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="SortNodes Method {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Name" value="SortNodes Method {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Local" value="topic_0000000000000009.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="SortNodes Method {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Name" value="SortNodes Method {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Local" value="topic_0000000000000006.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="Start Method">
|
||||
<param name="Name" value="Start Method">
|
||||
<param name="Local" value="topic_000000000000000E.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="clsAllgFnkt Class">
|
||||
<param name="Name" value="clsAllgFnkt Class">
|
||||
<param name="Local" value="topic_0000000000000002.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="frmPrinterSettings Class">
|
||||
<param name="Name" value="frmPrinterSettings Class">
|
||||
<param name="Local" value="topic_0000000000000004.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="frmPrinterSettings Constructor {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Name" value="frmPrinterSettings Constructor {AllgFnkt_Plugin.frmPrinterSettings}">
|
||||
<param name="Local" value="topic_0000000000000005.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="frmPrinterSettings_sik Class">
|
||||
<param name="Name" value="frmPrinterSettings_sik Class">
|
||||
<param name="Local" value="topic_0000000000000000.html">
|
||||
</OBJECT>
|
||||
|
||||
<LI> <OBJECT type="text/sitemap">
|
||||
<param name="Keyword" value="frmPrinterSettings_sik Constructor {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Name" value="frmPrinterSettings_sik Constructor {AllgFnkt_Plugin.frmPrinterSettings_sik}">
|
||||
<param name="Local" value="topic_0000000000000008.html">
|
||||
</OBJECT>
|
||||
|
||||
|
||||
</UL>
|
||||
|
||||
</HTML>
|
||||
77
Plugin_Printersettings/VSdoc/AllgFnkt_Plugin.hhp
Normal file
@@ -0,0 +1,77 @@
|
||||
[OPTIONS]
|
||||
Compatibility=1.1 or later
|
||||
Compiled file=AllgFnkt_Plugin.chm
|
||||
Contents file=AllgFnkt_Plugin.hhc
|
||||
Default topic=topic_0000000000000016.html
|
||||
Default Window=main
|
||||
Full-text search=Yes
|
||||
Default Font=,8,0
|
||||
Language=0x0409
|
||||
|
||||
[WINDOWS]
|
||||
main="AllgFnkt_Plugin Reference","AllgFnkt_Plugin.hhc","AllgFnkt_Plugin.hhk","topic_0000000000000016.html",,,,,,0x62520,,0x381e,[73,30,525,455],,,,,,,0
|
||||
|
||||
[FILES]
|
||||
msdn2\collall.gif
|
||||
msdn2\collapse.gif
|
||||
msdn2\collapse_all.gif
|
||||
msdn2\copycode.gif
|
||||
msdn2\copycodeHighlight.gif
|
||||
msdn2\drpdown.gif
|
||||
msdn2\drpdown_orange.gif
|
||||
msdn2\expall.gif
|
||||
msdn2\expand_all.gif
|
||||
msdn2\footer.gif
|
||||
|
||||
|
||||
|
||||
[ALIAS]
|
||||
topic_0000000000000017.html=topic_0000000000000017.html
|
||||
topic_0000000000000016.html=topic_0000000000000016.html
|
||||
topic_000000000000000A.html=topic_000000000000000A.html
|
||||
topic_0000000000000007.html=topic_0000000000000007.html
|
||||
topic_0000000000000001.html=topic_0000000000000001.html
|
||||
topic_000000000000000C.html=topic_000000000000000C.html
|
||||
topic_0000000000000012.html=topic_0000000000000012.html
|
||||
topic_0000000000000014.html=topic_0000000000000014.html
|
||||
topic_000000000000000F.html=topic_000000000000000F.html
|
||||
topic_0000000000000003.html=topic_0000000000000003.html
|
||||
topic_0000000000000011.html=topic_0000000000000011.html
|
||||
topic_000000000000000D.html=topic_000000000000000D.html
|
||||
topic_0000000000000010.html=topic_0000000000000010.html
|
||||
topic_0000000000000013.html=topic_0000000000000013.html
|
||||
topic_0000000000000009.html=topic_0000000000000009.html
|
||||
topic_0000000000000006.html=topic_0000000000000006.html
|
||||
topic_000000000000000E.html=topic_000000000000000E.html
|
||||
topic_0000000000000002.html=topic_0000000000000002.html
|
||||
topic_0000000000000004.html=topic_0000000000000004.html
|
||||
topic_0000000000000005.html=topic_0000000000000005.html
|
||||
topic_0000000000000000.html=topic_0000000000000000.html
|
||||
topic_0000000000000008.html=topic_0000000000000008.html
|
||||
|
||||
|
||||
[MAP]
|
||||
#define topic_0000000000000017.html 100
|
||||
#define topic_0000000000000016.html 221
|
||||
#define topic_000000000000000A.html 167
|
||||
#define topic_0000000000000007.html 145
|
||||
#define topic_0000000000000001.html 101
|
||||
#define topic_000000000000000C.html 175
|
||||
#define topic_0000000000000012.html 204
|
||||
#define topic_0000000000000014.html 206
|
||||
#define topic_000000000000000F.html 201
|
||||
#define topic_0000000000000003.html 134
|
||||
#define topic_0000000000000011.html 203
|
||||
#define topic_000000000000000D.html 199
|
||||
#define topic_0000000000000010.html 202
|
||||
#define topic_0000000000000013.html 205
|
||||
#define topic_0000000000000009.html 166
|
||||
#define topic_0000000000000006.html 144
|
||||
#define topic_000000000000000E.html 200
|
||||
#define topic_0000000000000002.html 131
|
||||
#define topic_0000000000000004.html 135
|
||||
#define topic_0000000000000005.html 142
|
||||
#define topic_0000000000000000.html 100
|
||||
#define topic_0000000000000008.html 164
|
||||
|
||||
|
||||
229
Plugin_Printersettings/VSdoc/AllgFnkt_Plugin_dyn_help.xml
Normal file
@@ -0,0 +1,229 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<DynamicHelp xmlns="http://msdn.microsoft.com/vsdata/xsd/vsdh.xsd" xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" xsi:schemaLocation="http://msdn.microsoft.com/vsdata/xsd/vsdh.xsd">
|
||||
<LINKGROUP ID="AllgFnkt_Plugin" Title="AllgFnkt_Plugin Reference Help" Priority="2100">
|
||||
<GLYPH Expanded="vs:/ctxhelp_show.gif" Collapsed="vs:/ctxhelp_hide.gif"/>
|
||||
</LINKGROUP>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000017.html" LinkGroup="AllgFnkt_Plugin">AllgFnkt_Plugin Namespace</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin Reference" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000016.html" LinkGroup="AllgFnkt_Plugin">AllgFnkt_Plugin Reference</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings_sik.DefaultPrinterName" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_000000000000000A.html" LinkGroup="AllgFnkt_Plugin">DefaultPrinterName Method {AllgFnkt_Plugin.frmPrinterSettings_sik}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings.DefaultPrinterName" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000007.html" LinkGroup="AllgFnkt_Plugin">DefaultPrinterName Method {AllgFnkt_Plugin.frmPrinterSettings}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings_sik.Dispose" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000001.html" LinkGroup="AllgFnkt_Plugin">Dispose Method {AllgFnkt_Plugin.frmPrinterSettings_sik}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings.Dispose" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_000000000000000C.html" LinkGroup="AllgFnkt_Plugin">Dispose Method {AllgFnkt_Plugin.frmPrinterSettings}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.ErrorCode" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000012.html" LinkGroup="AllgFnkt_Plugin">ErrorCode Property</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.ErrorMessage" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000014.html" LinkGroup="AllgFnkt_Plugin">ErrorMessage Property</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.Finalize" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_000000000000000F.html" LinkGroup="AllgFnkt_Plugin">Finalize Method</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.clsAllgFnkt.FormularAktualisieren" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000003.html" LinkGroup="AllgFnkt_Plugin">FormularAktualisieren Method</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.IAppdomain" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000011.html" LinkGroup="AllgFnkt_Plugin">IAppdomain Property</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_000000000000000D.html" LinkGroup="AllgFnkt_Plugin">Plugin Class</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.PluginName" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000010.html" LinkGroup="AllgFnkt_Plugin">PluginName Property</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.Returnwert" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000013.html" LinkGroup="AllgFnkt_Plugin">Returnwert Property</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings_sik.SortNodes" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000009.html" LinkGroup="AllgFnkt_Plugin">SortNodes Method {AllgFnkt_Plugin.frmPrinterSettings_sik}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings.SortNodes" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000006.html" LinkGroup="AllgFnkt_Plugin">SortNodes Method {AllgFnkt_Plugin.frmPrinterSettings}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.Plugin.Start" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_000000000000000E.html" LinkGroup="AllgFnkt_Plugin">Start Method</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.clsAllgFnkt" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000002.html" LinkGroup="AllgFnkt_Plugin">clsAllgFnkt Class</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000004.html" LinkGroup="AllgFnkt_Plugin">frmPrinterSettings Class</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings.New" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000005.html" LinkGroup="AllgFnkt_Plugin">frmPrinterSettings Constructor {AllgFnkt_Plugin.frmPrinterSettings}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings_sik" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000000.html" LinkGroup="AllgFnkt_Plugin">frmPrinterSettings_sik Class</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
<Context>
|
||||
<Keywords>
|
||||
<KItem Name="AllgFnkt_Plugin.frmPrinterSettings_sik.New" />
|
||||
</Keywords>
|
||||
<Links>
|
||||
<LItem URL="ms-its:AllgFnkt_Plugin.chm::/topic_0000000000000008.html" LinkGroup="AllgFnkt_Plugin">frmPrinterSettings_sik Constructor {AllgFnkt_Plugin.frmPrinterSettings_sik}</LItem>
|
||||
</Links>
|
||||
</Context>
|
||||
|
||||
|
||||
</DynamicHelp>
|
||||
|
||||
BIN
Plugin_Printersettings/VSdoc/FINAL_CHM_DOC/AllgFnkt_Plugin.chm
Normal file
BIN
Plugin_Printersettings/VSdoc/HelixoftHelpReg.exe
Normal file
165
Plugin_Printersettings/VSdoc/SyntaxHighlighter/LGPLv3.txt
Normal file
@@ -0,0 +1,165 @@
|
||||
GNU LESSER GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
|
||||
This version of the GNU Lesser General Public License incorporates
|
||||
the terms and conditions of version 3 of the GNU General Public
|
||||
License, supplemented by the additional permissions listed below.
|
||||
|
||||
0. Additional Definitions.
|
||||
|
||||
As used herein, "this License" refers to version 3 of the GNU Lesser
|
||||
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
||||
General Public License.
|
||||
|
||||
"The Library" refers to a covered work governed by this License,
|
||||
other than an Application or a Combined Work as defined below.
|
||||
|
||||
An "Application" is any work that makes use of an interface provided
|
||||
by the Library, but which is not otherwise based on the Library.
|
||||
Defining a subclass of a class defined by the Library is deemed a mode
|
||||
of using an interface provided by the Library.
|
||||
|
||||
A "Combined Work" is a work produced by combining or linking an
|
||||
Application with the Library. The particular version of the Library
|
||||
with which the Combined Work was made is also called the "Linked
|
||||
Version".
|
||||
|
||||
The "Minimal Corresponding Source" for a Combined Work means the
|
||||
Corresponding Source for the Combined Work, excluding any source code
|
||||
for portions of the Combined Work that, considered in isolation, are
|
||||
based on the Application, and not on the Linked Version.
|
||||
|
||||
The "Corresponding Application Code" for a Combined Work means the
|
||||
object code and/or source code for the Application, including any data
|
||||
and utility programs needed for reproducing the Combined Work from the
|
||||
Application, but excluding the System Libraries of the Combined Work.
|
||||
|
||||
1. Exception to Section 3 of the GNU GPL.
|
||||
|
||||
You may convey a covered work under sections 3 and 4 of this License
|
||||
without being bound by section 3 of the GNU GPL.
|
||||
|
||||
2. Conveying Modified Versions.
|
||||
|
||||
If you modify a copy of the Library, and, in your modifications, a
|
||||
facility refers to a function or data to be supplied by an Application
|
||||
that uses the facility (other than as an argument passed when the
|
||||
facility is invoked), then you may convey a copy of the modified
|
||||
version:
|
||||
|
||||
a) under this License, provided that you make a good faith effort to
|
||||
ensure that, in the event an Application does not supply the
|
||||
function or data, the facility still operates, and performs
|
||||
whatever part of its purpose remains meaningful, or
|
||||
|
||||
b) under the GNU GPL, with none of the additional permissions of
|
||||
this License applicable to that copy.
|
||||
|
||||
3. Object Code Incorporating Material from Library Header Files.
|
||||
|
||||
The object code form of an Application may incorporate material from
|
||||
a header file that is part of the Library. You may convey such object
|
||||
code under terms of your choice, provided that, if the incorporated
|
||||
material is not limited to numerical parameters, data structure
|
||||
layouts and accessors, or small macros, inline functions and templates
|
||||
(ten or fewer lines in length), you do both of the following:
|
||||
|
||||
a) Give prominent notice with each copy of the object code that the
|
||||
Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the object code with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
4. Combined Works.
|
||||
|
||||
You may convey a Combined Work under terms of your choice that,
|
||||
taken together, effectively do not restrict modification of the
|
||||
portions of the Library contained in the Combined Work and reverse
|
||||
engineering for debugging such modifications, if you also do each of
|
||||
the following:
|
||||
|
||||
a) Give prominent notice with each copy of the Combined Work that
|
||||
the Library is used in it and that the Library and its use are
|
||||
covered by this License.
|
||||
|
||||
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
||||
document.
|
||||
|
||||
c) For a Combined Work that displays copyright notices during
|
||||
execution, include the copyright notice for the Library among
|
||||
these notices, as well as a reference directing the user to the
|
||||
copies of the GNU GPL and this license document.
|
||||
|
||||
d) Do one of the following:
|
||||
|
||||
0) Convey the Minimal Corresponding Source under the terms of this
|
||||
License, and the Corresponding Application Code in a form
|
||||
suitable for, and under terms that permit, the user to
|
||||
recombine or relink the Application with a modified version of
|
||||
the Linked Version to produce a modified Combined Work, in the
|
||||
manner specified by section 6 of the GNU GPL for conveying
|
||||
Corresponding Source.
|
||||
|
||||
1) Use a suitable shared library mechanism for linking with the
|
||||
Library. A suitable mechanism is one that (a) uses at run time
|
||||
a copy of the Library already present on the user's computer
|
||||
system, and (b) will operate properly with a modified version
|
||||
of the Library that is interface-compatible with the Linked
|
||||
Version.
|
||||
|
||||
e) Provide Installation Information, but only if you would otherwise
|
||||
be required to provide such information under section 6 of the
|
||||
GNU GPL, and only to the extent that such information is
|
||||
necessary to install and execute a modified version of the
|
||||
Combined Work produced by recombining or relinking the
|
||||
Application with a modified version of the Linked Version. (If
|
||||
you use option 4d0, the Installation Information must accompany
|
||||
the Minimal Corresponding Source and Corresponding Application
|
||||
Code. If you use option 4d1, you must provide the Installation
|
||||
Information in the manner specified by section 6 of the GNU GPL
|
||||
for conveying Corresponding Source.)
|
||||
|
||||
5. Combined Libraries.
|
||||
|
||||
You may place library facilities that are a work based on the
|
||||
Library side by side in a single library together with other library
|
||||
facilities that are not Applications and are not covered by this
|
||||
License, and convey such a combined library under terms of your
|
||||
choice, if you do both of the following:
|
||||
|
||||
a) Accompany the combined library with a copy of the same work based
|
||||
on the Library, uncombined with any other library facilities,
|
||||
conveyed under the terms of this License.
|
||||
|
||||
b) Give prominent notice with the combined library that part of it
|
||||
is a work based on the Library, and explaining where to find the
|
||||
accompanying uncombined form of the same work.
|
||||
|
||||
6. Revised Versions of the GNU Lesser General Public License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions
|
||||
of the GNU Lesser General Public License from time to time. Such new
|
||||
versions will be similar in spirit to the present version, but may
|
||||
differ in detail to address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Library as you received it specifies that a certain numbered version
|
||||
of the GNU Lesser General Public License "or any later version"
|
||||
applies to it, you have the option of following the terms and
|
||||
conditions either of that published version or of any later version
|
||||
published by the Free Software Foundation. If the Library as you
|
||||
received it does not specify a version number of the GNU Lesser
|
||||
General Public License, you may choose any version of the GNU Lesser
|
||||
General Public License ever published by the Free Software Foundation.
|
||||
|
||||
If the Library as you received it specifies that a proxy can decide
|
||||
whether future versions of the GNU Lesser General Public License shall
|
||||
apply, that proxy's public statement of acceptance of any version is
|
||||
permanent authorization for you to choose that version for the
|
||||
Library.
|
||||
61
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushAS3.js
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.AS3 = function()
|
||||
{
|
||||
// Created by Peter Atoria @ http://iAtoria.com
|
||||
|
||||
var inits = 'class interface function package';
|
||||
|
||||
var keywords = '-Infinity ...rest Array as AS3 Boolean break case catch const continue Date decodeURI ' +
|
||||
'decodeURIComponent default delete do dynamic each else encodeURI encodeURIComponent escape ' +
|
||||
'extends false final finally flash_proxy for get if implements import in include Infinity ' +
|
||||
'instanceof int internal is isFinite isNaN isXMLName label namespace NaN native new null ' +
|
||||
'Null Number Object object_proxy override parseFloat parseInt private protected public ' +
|
||||
'return set static String super switch this throw true try typeof uint undefined unescape ' +
|
||||
'use void while with'
|
||||
;
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
||||
{ regex: new RegExp(this.getKeywords(inits), 'gm'), css: 'color3' }, // initializations
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
||||
{ regex: new RegExp('var', 'gm'), css: 'variable' }, // variable
|
||||
{ regex: new RegExp('trace', 'gm'), css: 'color1' } // trace
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.AS3.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.AS3.aliases = ['actionscript3', 'as3'];
|
||||
66
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushBash.js
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Bash = function()
|
||||
{
|
||||
var keywords = 'if fi then elif else for do done until while break continue case function return in eq ne gt lt ge le';
|
||||
var commands = 'alias apropos awk basename bash bc bg builtin bzip2 cal cat cd cfdisk chgrp chmod chown chroot' +
|
||||
'cksum clear cmp comm command cp cron crontab csplit cut date dc dd ddrescue declare df ' +
|
||||
'diff diff3 dig dir dircolors dirname dirs du echo egrep eject enable env ethtool eval ' +
|
||||
'exec exit expand export expr false fdformat fdisk fg fgrep file find fmt fold format ' +
|
||||
'free fsck ftp gawk getopts grep groups gzip hash head history hostname id ifconfig ' +
|
||||
'import install join kill less let ln local locate logname logout look lpc lpr lprint ' +
|
||||
'lprintd lprintq lprm ls lsof make man mkdir mkfifo mkisofs mknod more mount mtools ' +
|
||||
'mv netstat nice nl nohup nslookup open op passwd paste pathchk ping popd pr printcap ' +
|
||||
'printenv printf ps pushd pwd quota quotacheck quotactl ram rcp read readonly renice ' +
|
||||
'remsync rm rmdir rsync screen scp sdiff sed select seq set sftp shift shopt shutdown ' +
|
||||
'sleep sort source split ssh strace su sudo sum symlink sync tail tar tee test time ' +
|
||||
'times touch top traceroute trap tr true tsort tty type ulimit umask umount unalias ' +
|
||||
'uname unexpand uniq units unset unshar useradd usermod users uuencode uudecode v vdir ' +
|
||||
'vi watch wc whereis which who whoami Wget xargs yes'
|
||||
;
|
||||
|
||||
this.findMatches = function(regexList, code)
|
||||
{
|
||||
code = code.replace(/>/g, '>').replace(/</g, '<');
|
||||
this.code = code;
|
||||
return SyntaxHighlighter.Highlighter.prototype.findMatches.apply(this, [regexList, code]);
|
||||
};
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
||||
{ regex: new RegExp(this.getKeywords(commands), 'gm'), css: 'functions' } // commands
|
||||
];
|
||||
}
|
||||
|
||||
SyntaxHighlighter.brushes.Bash.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Bash.aliases = ['bash', 'shell'];
|
||||
71
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushCSharp.js
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
|
||||
/* modified by Helixoft */
|
||||
|
||||
SyntaxHighlighter.brushes.CSharp = function()
|
||||
{
|
||||
var keywords = 'abstract as base bool break byte case catch char checked class const ' +
|
||||
'continue decimal default delegate do double else enum event explicit ' +
|
||||
'extern false finally fixed float for foreach get goto if implicit in int ' +
|
||||
'interface internal is lock long namespace new null object operator out ' +
|
||||
'override params private protected public readonly ref return sbyte sealed set ' +
|
||||
'short sizeof stackalloc static string struct switch this throw true try ' +
|
||||
'typeof uint ulong unchecked unsafe ushort using virtual void while';
|
||||
|
||||
function fixComments(match, regexInfo)
|
||||
{
|
||||
var css = (match[0].indexOf("///") == 0)
|
||||
? 'color1'
|
||||
: 'comments'
|
||||
;
|
||||
|
||||
return [new SyntaxHighlighter.Match(match[0], match.index, css)];
|
||||
}
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /\<.*?\>/gm, css: 'skipTag' }, // HTML tag, don't decorate, Helixoft
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, func : fixComments }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: /@"(?:[^"]|"")*"/g, css: 'string' }, // @-quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /^\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // c# keyword
|
||||
{ regex: /\bpartial(?=\s+(?:class|interface|struct)\b)/g, css: 'keyword' }, // contextual keyword: 'partial'
|
||||
{ regex: /\byield(?=\s+(?:return|break)\b)/g, css: 'keyword' } // contextual keyword: 'yield'
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.CSharp.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.CSharp.aliases = ['c#', 'c-sharp', 'csharp'];
|
||||
|
||||
102
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushColdFusion.js
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.ColdFusion = function()
|
||||
{
|
||||
// Contributed by Jen
|
||||
// http://www.jensbits.com/2009/05/14/coldfusion-brush-for-syntaxhighlighter-plus
|
||||
|
||||
var funcs = 'Abs ACos AddSOAPRequestHeader AddSOAPResponseHeader AjaxLink AjaxOnLoad ArrayAppend ArrayAvg ArrayClear ArrayDeleteAt ' +
|
||||
'ArrayInsertAt ArrayIsDefined ArrayIsEmpty ArrayLen ArrayMax ArrayMin ArraySet ArraySort ArraySum ArraySwap ArrayToList ' +
|
||||
'Asc ASin Atn BinaryDecode BinaryEncode BitAnd BitMaskClear BitMaskRead BitMaskSet BitNot BitOr BitSHLN BitSHRN BitXor ' +
|
||||
'Ceiling CharsetDecode CharsetEncode Chr CJustify Compare CompareNoCase Cos CreateDate CreateDateTime CreateObject ' +
|
||||
'CreateODBCDate CreateODBCDateTime CreateODBCTime CreateTime CreateTimeSpan CreateUUID DateAdd DateCompare DateConvert ' +
|
||||
'DateDiff DateFormat DatePart Day DayOfWeek DayOfWeekAsString DayOfYear DaysInMonth DaysInYear DE DecimalFormat DecrementValue ' +
|
||||
'Decrypt DecryptBinary DeleteClientVariable DeserializeJSON DirectoryExists DollarFormat DotNetToCFType Duplicate Encrypt ' +
|
||||
'EncryptBinary Evaluate Exp ExpandPath FileClose FileCopy FileDelete FileExists FileIsEOF FileMove FileOpen FileRead ' +
|
||||
'FileReadBinary FileReadLine FileSetAccessMode FileSetAttribute FileSetLastModified FileWrite Find FindNoCase FindOneOf ' +
|
||||
'FirstDayOfMonth Fix FormatBaseN GenerateSecretKey GetAuthUser GetBaseTagData GetBaseTagList GetBaseTemplatePath ' +
|
||||
'GetClientVariablesList GetComponentMetaData GetContextRoot GetCurrentTemplatePath GetDirectoryFromPath GetEncoding ' +
|
||||
'GetException GetFileFromPath GetFileInfo GetFunctionList GetGatewayHelper GetHttpRequestData GetHttpTimeString ' +
|
||||
'GetK2ServerDocCount GetK2ServerDocCountLimit GetLocale GetLocaleDisplayName GetLocalHostIP GetMetaData GetMetricData ' +
|
||||
'GetPageContext GetPrinterInfo GetProfileSections GetProfileString GetReadableImageFormats GetSOAPRequest GetSOAPRequestHeader ' +
|
||||
'GetSOAPResponse GetSOAPResponseHeader GetTempDirectory GetTempFile GetTemplatePath GetTickCount GetTimeZoneInfo GetToken ' +
|
||||
'GetUserRoles GetWriteableImageFormats Hash Hour HTMLCodeFormat HTMLEditFormat IIf ImageAddBorder ImageBlur ImageClearRect ' +
|
||||
'ImageCopy ImageCrop ImageDrawArc ImageDrawBeveledRect ImageDrawCubicCurve ImageDrawLine ImageDrawLines ImageDrawOval ' +
|
||||
'ImageDrawPoint ImageDrawQuadraticCurve ImageDrawRect ImageDrawRoundRect ImageDrawText ImageFlip ImageGetBlob ImageGetBufferedImage ' +
|
||||
'ImageGetEXIFTag ImageGetHeight ImageGetIPTCTag ImageGetWidth ImageGrayscale ImageInfo ImageNegative ImageNew ImageOverlay ImagePaste ' +
|
||||
'ImageRead ImageReadBase64 ImageResize ImageRotate ImageRotateDrawingAxis ImageScaleToFit ImageSetAntialiasing ImageSetBackgroundColor ' +
|
||||
'ImageSetDrawingColor ImageSetDrawingStroke ImageSetDrawingTransparency ImageSharpen ImageShear ImageShearDrawingAxis ImageTranslate ' +
|
||||
'ImageTranslateDrawingAxis ImageWrite ImageWriteBase64 ImageXORDrawingMode IncrementValue InputBaseN Insert Int IsArray IsBinary ' +
|
||||
'IsBoolean IsCustomFunction IsDate IsDDX IsDebugMode IsDefined IsImage IsImageFile IsInstanceOf IsJSON IsLeapYear IsLocalHost ' +
|
||||
'IsNumeric IsNumericDate IsObject IsPDFFile IsPDFObject IsQuery IsSimpleValue IsSOAPRequest IsStruct IsUserInAnyRole IsUserInRole ' +
|
||||
'IsUserLoggedIn IsValid IsWDDX IsXML IsXmlAttribute IsXmlDoc IsXmlElem IsXmlNode IsXmlRoot JavaCast JSStringFormat LCase Left Len ' +
|
||||
'ListAppend ListChangeDelims ListContains ListContainsNoCase ListDeleteAt ListFind ListFindNoCase ListFirst ListGetAt ListInsertAt ' +
|
||||
'ListLast ListLen ListPrepend ListQualify ListRest ListSetAt ListSort ListToArray ListValueCount ListValueCountNoCase LJustify Log ' +
|
||||
'Log10 LSCurrencyFormat LSDateFormat LSEuroCurrencyFormat LSIsCurrency LSIsDate LSIsNumeric LSNumberFormat LSParseCurrency LSParseDateTime ' +
|
||||
'LSParseEuroCurrency LSParseNumber LSTimeFormat LTrim Max Mid Min Minute Month MonthAsString Now NumberFormat ParagraphFormat ParseDateTime ' +
|
||||
'Pi PrecisionEvaluate PreserveSingleQuotes Quarter QueryAddColumn QueryAddRow QueryConvertForGrid QueryNew QuerySetCell QuotedValueList Rand ' +
|
||||
'Randomize RandRange REFind REFindNoCase ReleaseComObject REMatch REMatchNoCase RemoveChars RepeatString Replace ReplaceList ReplaceNoCase ' +
|
||||
'REReplace REReplaceNoCase Reverse Right RJustify Round RTrim Second SendGatewayMessage SerializeJSON SetEncoding SetLocale SetProfileString ' +
|
||||
'SetVariable Sgn Sin Sleep SpanExcluding SpanIncluding Sqr StripCR StructAppend StructClear StructCopy StructCount StructDelete StructFind ' +
|
||||
'StructFindKey StructFindValue StructGet StructInsert StructIsEmpty StructKeyArray StructKeyExists StructKeyList StructKeyList StructNew ' +
|
||||
'StructSort StructUpdate Tan TimeFormat ToBase64 ToBinary ToScript ToString Trim UCase URLDecode URLEncodedFormat URLSessionFormat Val ' +
|
||||
'ValueList VerifyClient Week Wrap Wrap WriteOutput XmlChildPos XmlElemNew XmlFormat XmlGetNodeType XmlNew XmlParse XmlSearch XmlTransform ' +
|
||||
'XmlValidate Year YesNoFormat';
|
||||
|
||||
var keywords = 'cfabort cfajaximport cfajaxproxy cfapplet cfapplication cfargument cfassociate cfbreak cfcache cfcalendar ' +
|
||||
'cfcase cfcatch cfchart cfchartdata cfchartseries cfcol cfcollection cfcomponent cfcontent cfcookie cfdbinfo ' +
|
||||
'cfdefaultcase cfdirectory cfdiv cfdocument cfdocumentitem cfdocumentsection cfdump cfelse cfelseif cferror ' +
|
||||
'cfexchangecalendar cfexchangeconnection cfexchangecontact cfexchangefilter cfexchangemail cfexchangetask ' +
|
||||
'cfexecute cfexit cffeed cffile cfflush cfform cfformgroup cfformitem cfftp cffunction cfgrid cfgridcolumn ' +
|
||||
'cfgridrow cfgridupdate cfheader cfhtmlhead cfhttp cfhttpparam cfif cfimage cfimport cfinclude cfindex ' +
|
||||
'cfinput cfinsert cfinterface cfinvoke cfinvokeargument cflayout cflayoutarea cfldap cflocation cflock cflog ' +
|
||||
'cflogin cfloginuser cflogout cfloop cfmail cfmailparam cfmailpart cfmenu cfmenuitem cfmodule cfNTauthenticate ' +
|
||||
'cfobject cfobjectcache cfoutput cfparam cfpdf cfpdfform cfpdfformparam cfpdfparam cfpdfsubform cfpod cfpop ' +
|
||||
'cfpresentation cfpresentationslide cfpresenter cfprint cfprocessingdirective cfprocparam cfprocresult ' +
|
||||
'cfproperty cfquery cfqueryparam cfregistry cfreport cfreportparam cfrethrow cfreturn cfsavecontent cfschedule ' +
|
||||
'cfscript cfsearch cfselect cfset cfsetting cfsilent cfslider cfsprydataset cfstoredproc cfswitch cftable ' +
|
||||
'cftextarea cfthread cfthrow cftimer cftooltip cftrace cftransaction cftree cftreeitem cftry cfupdate cfwddx ' +
|
||||
'cfwindow cfxml cfzip cfzipparam';
|
||||
|
||||
var operators = 'all and any between cross in join like not null or outer some';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: new RegExp('--(.*)$', 'gm'), css: 'comments' }, // one line and multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // single quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // functions
|
||||
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
||||
];
|
||||
}
|
||||
|
||||
SyntaxHighlighter.brushes.ColdFusion.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.ColdFusion.aliases = ['coldfusion','cf'];
|
||||
102
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushCpp.js
vendored
Normal file
@@ -0,0 +1,102 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Cpp = function()
|
||||
{
|
||||
// Copyright 2006 Shin, YoungJin
|
||||
|
||||
/* modified by Helixoft (added .NET managed C++ keywords) */
|
||||
|
||||
var datatypes = 'ATOM BOOL BOOLEAN BYTE CHAR COLORREF DWORD DWORDLONG DWORD_PTR ' +
|
||||
'DWORD32 DWORD64 FLOAT HACCEL HALF_PTR HANDLE HBITMAP HBRUSH ' +
|
||||
'HCOLORSPACE HCONV HCONVLIST HCURSOR HDC HDDEDATA HDESK HDROP HDWP ' +
|
||||
'HENHMETAFILE HFILE HFONT HGDIOBJ HGLOBAL HHOOK HICON HINSTANCE HKEY ' +
|
||||
'HKL HLOCAL HMENU HMETAFILE HMODULE HMONITOR HPALETTE HPEN HRESULT ' +
|
||||
'HRGN HRSRC HSZ HWINSTA HWND INT INT_PTR INT32 INT64 LANGID LCID LCTYPE ' +
|
||||
'LGRPID LONG LONGLONG LONG_PTR LONG32 LONG64 LPARAM LPBOOL LPBYTE LPCOLORREF ' +
|
||||
'LPCSTR LPCTSTR LPCVOID LPCWSTR LPDWORD LPHANDLE LPINT LPLONG LPSTR LPTSTR ' +
|
||||
'LPVOID LPWORD LPWSTR LRESULT PBOOL PBOOLEAN PBYTE PCHAR PCSTR PCTSTR PCWSTR ' +
|
||||
'PDWORDLONG PDWORD_PTR PDWORD32 PDWORD64 PFLOAT PHALF_PTR PHANDLE PHKEY PINT ' +
|
||||
'PINT_PTR PINT32 PINT64 PLCID PLONG PLONGLONG PLONG_PTR PLONG32 PLONG64 POINTER_32 ' +
|
||||
'POINTER_64 PSHORT PSIZE_T PSSIZE_T PSTR PTBYTE PTCHAR PTSTR PUCHAR PUHALF_PTR ' +
|
||||
'PUINT PUINT_PTR PUINT32 PUINT64 PULONG PULONGLONG PULONG_PTR PULONG32 PULONG64 ' +
|
||||
'PUSHORT PVOID PWCHAR PWORD PWSTR SC_HANDLE SC_LOCK SERVICE_STATUS_HANDLE SHORT ' +
|
||||
'SIZE_T SSIZE_T TBYTE TCHAR UCHAR UHALF_PTR UINT UINT_PTR UINT32 UINT64 ULONG ' +
|
||||
'ULONGLONG ULONG_PTR ULONG32 ULONG64 USHORT USN VOID WCHAR WORD WPARAM WPARAM WPARAM ' +
|
||||
'char bool short int __int32 __int64 __int8 __int16 long float double __wchar_t ' +
|
||||
'clock_t _complex _dev_t _diskfree_t div_t ldiv_t _exception _EXCEPTION_POINTERS ' +
|
||||
'FILE _finddata_t _finddatai64_t _wfinddata_t _wfinddatai64_t __finddata64_t ' +
|
||||
'__wfinddata64_t _FPIEEE_RECORD fpos_t _HEAPINFO _HFILE lconv intptr_t ' +
|
||||
'jmp_buf mbstate_t _off_t _onexit_t _PNH ptrdiff_t _purecall_handler ' +
|
||||
'sig_atomic_t size_t _stat __stat64 _stati64 terminate_function ' +
|
||||
'time_t __time64_t _timeb __timeb64 tm uintptr_t _utimbuf ' +
|
||||
'va_list wchar_t wctrans_t wctype_t wint_t signed';
|
||||
|
||||
var keywords = 'break case catch class const __finally __exception __try ' +
|
||||
'const_cast continue private public protected __declspec ' +
|
||||
'default delete deprecated dllexport dllimport do dynamic_cast ' +
|
||||
'else enum explicit extern if for friend goto inline ' +
|
||||
'mutable naked namespace new noinline noreturn nothrow ' +
|
||||
'register reinterpret_cast return selectany ' +
|
||||
'sizeof static static_cast struct switch template this ' +
|
||||
'thread throw true false try typedef typeid typename union ' +
|
||||
'using uuid virtual void volatile whcar_t while abstract sealed property interface';
|
||||
|
||||
var functions = 'assert isalnum isalpha iscntrl isdigit isgraph islower isprint' +
|
||||
'ispunct isspace isupper isxdigit tolower toupper errno localeconv ' +
|
||||
'setlocale acos asin atan atan2 ceil cos cosh exp fabs floor fmod ' +
|
||||
'frexp ldexp log log10 modf pow sin sinh sqrt tan tanh jmp_buf ' +
|
||||
'longjmp setjmp raise signal sig_atomic_t va_arg va_end va_start ' +
|
||||
'clearerr fclose feof ferror fflush fgetc fgetpos fgets fopen ' +
|
||||
'fprintf fputc fputs fread freopen fscanf fseek fsetpos ftell ' +
|
||||
'fwrite getc getchar gets perror printf putc putchar puts remove ' +
|
||||
'rename rewind scanf setbuf setvbuf sprintf sscanf tmpfile tmpnam ' +
|
||||
'ungetc vfprintf vprintf vsprintf abort abs atexit atof atoi atol ' +
|
||||
'bsearch calloc div exit free getenv labs ldiv malloc mblen mbstowcs ' +
|
||||
'mbtowc qsort rand realloc srand strtod strtol strtoul system ' +
|
||||
'wcstombs wctomb memchr memcmp memcpy memmove memset strcat strchr ' +
|
||||
'strcmp strcoll strcpy strcspn strerror strlen strncat strncmp ' +
|
||||
'strncpy strpbrk strrchr strspn strstr strtok strxfrm asctime ' +
|
||||
'clock ctime difftime gmtime localtime mktime strftime time';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /\<.*?\>/gm, css: 'skipTag' }, // HTML tag, don't decorate, Helixoft
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /^ *#.*/gm, css: 'preprocessor' },
|
||||
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'color1' },
|
||||
{ regex: new RegExp(this.getKeywords(functions), 'gm'), css: 'functions' },
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Cpp.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Cpp.aliases = ['cpp', 'c'];
|
||||
93
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushCss.js
vendored
Normal file
@@ -0,0 +1,93 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.CSS = function()
|
||||
{
|
||||
function getKeywordsCSS(str)
|
||||
{
|
||||
return '\\b([a-z_]|)' + str.replace(/ /g, '(?=:)\\b|\\b([a-z_\\*]|\\*|)') + '(?=:)\\b';
|
||||
};
|
||||
|
||||
function getValuesCSS(str)
|
||||
{
|
||||
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
|
||||
};
|
||||
|
||||
var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' +
|
||||
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
|
||||
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
|
||||
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
|
||||
'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' +
|
||||
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
|
||||
'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
|
||||
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
|
||||
'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' +
|
||||
'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' +
|
||||
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
|
||||
'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' +
|
||||
'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' +
|
||||
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
|
||||
|
||||
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
|
||||
'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+
|
||||
'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+
|
||||
'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+
|
||||
'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+
|
||||
'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+
|
||||
'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+
|
||||
'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+
|
||||
'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+
|
||||
'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+
|
||||
'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+
|
||||
'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+
|
||||
'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+
|
||||
'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow';
|
||||
|
||||
var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\#[a-fA-F0-9]{3,6}/g, css: 'value' }, // html colors
|
||||
{ regex: /(-?\d+)(\.\d+)?(px|em|pt|\:|\%|)/g, css: 'value' }, // sizes
|
||||
{ regex: /!important/g, css: 'color3' }, // !important
|
||||
{ regex: new RegExp(getKeywordsCSS(keywords), 'gm'), css: 'keyword' }, // keywords
|
||||
{ regex: new RegExp(getValuesCSS(values), 'g'), css: 'value' }, // values
|
||||
{ regex: new RegExp(this.getKeywords(fonts), 'g'), css: 'color1' } // fonts
|
||||
];
|
||||
|
||||
this.forHtmlScript({
|
||||
left: /(<|<)\s*style.*?(>|>)/gi,
|
||||
right: /(<|<)\/\s*style\s*(>|>)/gi
|
||||
});
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.CSS.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.CSS.aliases = ['css'];
|
||||
57
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushDelphi.js
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Delphi = function()
|
||||
{
|
||||
var keywords = 'abs addr and ansichar ansistring array as asm begin boolean byte cardinal ' +
|
||||
'case char class comp const constructor currency destructor div do double ' +
|
||||
'downto else end except exports extended false file finalization finally ' +
|
||||
'for function goto if implementation in inherited int64 initialization ' +
|
||||
'integer interface is label library longint longword mod nil not object ' +
|
||||
'of on or packed pansichar pansistring pchar pcurrency pdatetime pextended ' +
|
||||
'pint64 pointer private procedure program property pshortstring pstring ' +
|
||||
'pvariant pwidechar pwidestring protected public published raise real real48 ' +
|
||||
'record repeat set shl shortint shortstring shr single smallint string then ' +
|
||||
'threadvar to true try type unit until uses val var varirnt while widechar ' +
|
||||
'widestring with word write writeln xor';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /\(\*[\s\S]*?\*\)/gm, css: 'comments' }, // multiline comments (* *)
|
||||
{ regex: /{(?!\$)[\s\S]*?}/gm, css: 'comments' }, // multiline comments { }
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /\{\$[a-zA-Z]+ .+\}/g, css: 'color1' }, // compiler Directives and Region tags
|
||||
{ regex: /\b[\d\.]+\b/g, css: 'value' }, // numbers 12345
|
||||
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // numbers $F5D3
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Delphi.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Delphi.aliases = ['delphi', 'pascal', 'pas'];
|
||||
43
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushDiff.js
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Diff = function()
|
||||
{
|
||||
this.regexList = [
|
||||
{ regex: /^\+\+\+.*$/gm, css: 'color2' },
|
||||
{ regex: /^\-\-\-.*$/gm, css: 'color2' },
|
||||
{ regex: /^\s.*$/gm, css: 'color1' },
|
||||
{ regex: /^@@.*@@$/gm, css: 'variable' },
|
||||
{ regex: /^\+[^\+]{1}.*$/gm, css: 'string' },
|
||||
{ regex: /^\-[^\-]{1}.*$/gm, css: 'comments' }
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Diff.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Diff.aliases = ['diff', 'patch'];
|
||||
54
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushErlang.js
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Erlang = function()
|
||||
{
|
||||
// Contributed by Jean-Lou Dupont
|
||||
// http://jldupont.blogspot.com/2009/06/erlang-syntax-highlighter.html
|
||||
|
||||
// According to: http://erlang.org/doc/reference_manual/introduction.html#1.5
|
||||
var keywords = 'after and andalso band begin bnot bor bsl bsr bxor '+
|
||||
'case catch cond div end fun if let not of or orelse '+
|
||||
'query receive rem try when xor'+
|
||||
// additional
|
||||
' module export import define';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: new RegExp("[A-Z][A-Za-z0-9_]+", 'g'), css: 'constants' },
|
||||
{ regex: new RegExp("\\%.+", 'gm'), css: 'comments' },
|
||||
{ regex: new RegExp("\\?[A-Za-z0-9_]+", 'g'), css: 'preprocessor' },
|
||||
{ regex: new RegExp("[a-z0-9_]+:[a-z0-9_]+", 'g'), css: 'functions' },
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Erlang.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Erlang.aliases = ['erl', 'erlang'];
|
||||
69
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushGroovy.js
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Groovy = function()
|
||||
{
|
||||
// Contributed by Andres Almiray
|
||||
// http://jroller.com/aalmiray/entry/nice_source_code_syntax_highlighter
|
||||
|
||||
var keywords = 'as assert break case catch class continue def default do else extends finally ' +
|
||||
'if in implements import instanceof interface new package property return switch ' +
|
||||
'throw throws try while public protected private static';
|
||||
var types = 'void boolean byte char short int long float double';
|
||||
var constants = 'null';
|
||||
var methods = 'allProperties count get size '+
|
||||
'collect each eachProperty eachPropertyName eachWithIndex find findAll ' +
|
||||
'findIndexOf grep inject max min reverseEach sort ' +
|
||||
'asImmutable asSynchronized flatten intersect join pop reverse subMap toList ' +
|
||||
'padRight padLeft contains eachMatch toCharacter toLong toUrl tokenize ' +
|
||||
'eachFile eachFileRecurse eachB yte eachLine readBytes readLine getText ' +
|
||||
'splitEachLine withReader append encodeBase64 decodeBase64 filterLine ' +
|
||||
'transformChar transformLine withOutputStream withPrintWriter withStream ' +
|
||||
'withStreams withWriter withWriterAppend write writeLine '+
|
||||
'dump inspect invokeMethod print println step times upto use waitForOrKill '+
|
||||
'getText';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /""".*"""/g, css: 'string' }, // GStrings
|
||||
{ regex: new RegExp('\\b([\\d]+(\\.[\\d]+)?|0x[a-f0-9]+)\\b', 'gi'), css: 'value' }, // numbers
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // goovy keyword
|
||||
{ regex: new RegExp(this.getKeywords(types), 'gm'), css: 'color1' }, // goovy/java type
|
||||
{ regex: new RegExp(this.getKeywords(constants), 'gm'), css: 'constants' }, // constants
|
||||
{ regex: new RegExp(this.getKeywords(methods), 'gm'), css: 'functions' } // methods
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
||||
}
|
||||
|
||||
SyntaxHighlighter.brushes.Groovy.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Groovy.aliases = ['groovy'];
|
||||
59
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushJScript.js
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
|
||||
/* modified by Helixoft */
|
||||
|
||||
SyntaxHighlighter.brushes.JScript = function()
|
||||
{
|
||||
var keywords = 'break case catch continue ' +
|
||||
'default delete do else false ' +
|
||||
'for function if in instanceof ' +
|
||||
'new null return super switch ' +
|
||||
'this throw true try typeof var while with ' +
|
||||
'int float object short long DateTime decimal byte char double boolean ' +
|
||||
'private protected public internal static final abstract const readonly ' +
|
||||
'class implements interface'
|
||||
;
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /\<.*?\>/gm, css: 'skipTag' }, // HTML tag, don't decorate, Helixoft
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\s*#.*/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keywords
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.scriptScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.JScript.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.JScript.aliases = ['js', 'jscript', 'javascript'];
|
||||
59
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushJava.js
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Java = function()
|
||||
{
|
||||
var keywords = 'abstract assert boolean break byte case catch char class const ' +
|
||||
'continue default do double else enum extends ' +
|
||||
'false final finally float for goto if implements import ' +
|
||||
'instanceof int interface long native new null ' +
|
||||
'package private protected public return ' +
|
||||
'short static strictfp super switch synchronized this throw throws true ' +
|
||||
'transient try void volatile while';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: /\/\*([^\*][\s\S]*)?\*\//gm, css: 'comments' }, // multiline comments
|
||||
{ regex: /\/\*(?!\*\/)\*[\s\S]*?\*\//gm, css: 'preprocessor' }, // documentation comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /\b([\d]+(\.[\d]+)?|0x[a-f0-9]+)\b/gi, css: 'value' }, // numbers
|
||||
{ regex: /(?!\@interface\b)\@[\$\w]+\b/g, css: 'color1' }, // annotation @anno
|
||||
{ regex: /\@interface\b/g, css: 'color2' }, // @interface keyword
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // java keyword
|
||||
];
|
||||
|
||||
this.forHtmlScript({
|
||||
left : /(<|<)%[@!=]?/g,
|
||||
right : /%(>|>)/g
|
||||
});
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Java.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Java.aliases = ['java'];
|
||||
60
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushJavaFX.js
vendored
Normal file
@@ -0,0 +1,60 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.JavaFX = function()
|
||||
{
|
||||
// Contributed by Patrick Webster
|
||||
// http://patrickwebster.blogspot.com/2009/04/javafx-brush-for-syntaxhighlighter.html
|
||||
var datatypes = 'Boolean Byte Character Double Duration '
|
||||
+ 'Float Integer Long Number Short String Void'
|
||||
;
|
||||
|
||||
var keywords = 'abstract after and as assert at before bind bound break catch class '
|
||||
+ 'continue def delete else exclusive extends false finally first for from '
|
||||
+ 'function if import in indexof init insert instanceof into inverse last '
|
||||
+ 'lazy mixin mod nativearray new not null on or override package postinit '
|
||||
+ 'protected public public-init public-read replace return reverse sizeof '
|
||||
+ 'step super then this throw true try tween typeof var where while with '
|
||||
+ 'attribute let private readonly static trigger'
|
||||
;
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' },
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' },
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
||||
{ regex: /(-?\.?)(\b(\d*\.?\d+|\d+\.?\d*)(e[+-]?\d+)?|0x[a-f\d]+)\b\.?/gi, css: 'color2' }, // numbers
|
||||
{ regex: new RegExp(this.getKeywords(datatypes), 'gm'), css: 'variable' }, // datatypes
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
||||
];
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.JavaFX.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.JavaFX.aliases = ['jfx', 'javafx'];
|
||||
74
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushPerl.js
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Perl = function()
|
||||
{
|
||||
// Contributed by David Simmons-Duffin and Marty Kube
|
||||
|
||||
var funcs =
|
||||
'abs accept alarm atan2 bind binmode chdir chmod chomp chop chown chr ' +
|
||||
'chroot close closedir connect cos crypt defined delete each endgrent ' +
|
||||
'endhostent endnetent endprotoent endpwent endservent eof exec exists ' +
|
||||
'exp fcntl fileno flock fork format formline getc getgrent getgrgid ' +
|
||||
'getgrnam gethostbyaddr gethostbyname gethostent getlogin getnetbyaddr ' +
|
||||
'getnetbyname getnetent getpeername getpgrp getppid getpriority ' +
|
||||
'getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwuid ' +
|
||||
'getservbyname getservbyport getservent getsockname getsockopt glob ' +
|
||||
'gmtime grep hex index int ioctl join keys kill lc lcfirst length link ' +
|
||||
'listen localtime lock log lstat map mkdir msgctl msgget msgrcv msgsnd ' +
|
||||
'oct open opendir ord pack pipe pop pos print printf prototype push ' +
|
||||
'quotemeta rand read readdir readline readlink readpipe recv rename ' +
|
||||
'reset reverse rewinddir rindex rmdir scalar seek seekdir select semctl ' +
|
||||
'semget semop send setgrent sethostent setnetent setpgrp setpriority ' +
|
||||
'setprotoent setpwent setservent setsockopt shift shmctl shmget shmread ' +
|
||||
'shmwrite shutdown sin sleep socket socketpair sort splice split sprintf ' +
|
||||
'sqrt srand stat study substr symlink syscall sysopen sysread sysseek ' +
|
||||
'system syswrite tell telldir time times tr truncate uc ucfirst umask ' +
|
||||
'undef unlink unpack unshift utime values vec wait waitpid warn write';
|
||||
|
||||
var keywords =
|
||||
'bless caller continue dbmclose dbmopen die do dump else elsif eval exit ' +
|
||||
'for foreach goto if import last local my next no our package redo ref ' +
|
||||
'require return sub tie tied unless untie until use wantarray while';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: new RegExp('#[^!].*$', 'gm'), css: 'comments' },
|
||||
{ regex: new RegExp('^\\s*#!.*$', 'gm'), css: 'preprocessor' }, // shebang
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' },
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' },
|
||||
{ regex: new RegExp('(\\$|@|%)\\w+', 'g'), css: 'variable' },
|
||||
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
||||
}
|
||||
|
||||
SyntaxHighlighter.brushes.Perl.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Perl.aliases = ['perl', 'Perl', 'pl'];
|
||||
91
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushPhp.js
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Php = function()
|
||||
{
|
||||
var funcs = 'abs acos acosh addcslashes addslashes ' +
|
||||
'array_change_key_case array_chunk array_combine array_count_values array_diff '+
|
||||
'array_diff_assoc array_diff_key array_diff_uassoc array_diff_ukey array_fill '+
|
||||
'array_filter array_flip array_intersect array_intersect_assoc array_intersect_key '+
|
||||
'array_intersect_uassoc array_intersect_ukey array_key_exists array_keys array_map '+
|
||||
'array_merge array_merge_recursive array_multisort array_pad array_pop array_product '+
|
||||
'array_push array_rand array_reduce array_reverse array_search array_shift '+
|
||||
'array_slice array_splice array_sum array_udiff array_udiff_assoc '+
|
||||
'array_udiff_uassoc array_uintersect array_uintersect_assoc '+
|
||||
'array_uintersect_uassoc array_unique array_unshift array_values array_walk '+
|
||||
'array_walk_recursive atan atan2 atanh base64_decode base64_encode base_convert '+
|
||||
'basename bcadd bccomp bcdiv bcmod bcmul bindec bindtextdomain bzclose bzcompress '+
|
||||
'bzdecompress bzerrno bzerror bzerrstr bzflush bzopen bzread bzwrite ceil chdir '+
|
||||
'checkdate checkdnsrr chgrp chmod chop chown chr chroot chunk_split class_exists '+
|
||||
'closedir closelog copy cos cosh count count_chars date decbin dechex decoct '+
|
||||
'deg2rad delete ebcdic2ascii echo empty end ereg ereg_replace eregi eregi_replace error_log '+
|
||||
'error_reporting escapeshellarg escapeshellcmd eval exec exit exp explode extension_loaded '+
|
||||
'feof fflush fgetc fgetcsv fgets fgetss file_exists file_get_contents file_put_contents '+
|
||||
'fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype '+
|
||||
'floatval flock floor flush fmod fnmatch fopen fpassthru fprintf fputcsv fputs fread fscanf '+
|
||||
'fseek fsockopen fstat ftell ftok getallheaders getcwd getdate getenv gethostbyaddr gethostbyname '+
|
||||
'gethostbynamel getimagesize getlastmod getmxrr getmygid getmyinode getmypid getmyuid getopt '+
|
||||
'getprotobyname getprotobynumber getrandmax getrusage getservbyname getservbyport gettext '+
|
||||
'gettimeofday gettype glob gmdate gmmktime ini_alter ini_get ini_get_all ini_restore ini_set '+
|
||||
'interface_exists intval ip2long is_a is_array is_bool is_callable is_dir is_double '+
|
||||
'is_executable is_file is_finite is_float is_infinite is_int is_integer is_link is_long '+
|
||||
'is_nan is_null is_numeric is_object is_readable is_real is_resource is_scalar is_soap_fault '+
|
||||
'is_string is_subclass_of is_uploaded_file is_writable is_writeable mkdir mktime nl2br '+
|
||||
'parse_ini_file parse_str parse_url passthru pathinfo readlink realpath rewind rewinddir rmdir '+
|
||||
'round str_ireplace str_pad str_repeat str_replace str_rot13 str_shuffle str_split '+
|
||||
'str_word_count strcasecmp strchr strcmp strcoll strcspn strftime strip_tags stripcslashes '+
|
||||
'stripos stripslashes stristr strlen strnatcasecmp strnatcmp strncasecmp strncmp strpbrk '+
|
||||
'strpos strptime strrchr strrev strripos strrpos strspn strstr strtok strtolower strtotime '+
|
||||
'strtoupper strtr strval substr substr_compare';
|
||||
|
||||
var keywords = 'and or xor array as break case ' +
|
||||
'cfunction class const continue declare default die do else ' +
|
||||
'elseif enddeclare endfor endforeach endif endswitch endwhile ' +
|
||||
'extends for foreach function include include_once global if ' +
|
||||
'new old_function return static switch use require require_once ' +
|
||||
'var while abstract interface public implements extends private protected throw';
|
||||
|
||||
var constants = '__FILE__ __LINE__ __METHOD__ __FUNCTION__ __CLASS__';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\$\w+/g, css: 'variable' }, // variables
|
||||
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' }, // common functions
|
||||
{ regex: new RegExp(this.getKeywords(constants), 'gmi'), css: 'constants' }, // constants
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // keyword
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.phpScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Php.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Php.aliases = ['php'];
|
||||
35
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushPlain.js
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Plain = function()
|
||||
{
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Plain.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Plain.aliases = ['text', 'plain'];
|
||||
76
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushPowerShell.js
vendored
Normal file
@@ -0,0 +1,76 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.PowerShell = function()
|
||||
{
|
||||
// Contributes by B.v.Zanten, Getronics
|
||||
// http://confluence.atlassian.com/display/CONFEXT/New+Code+Macro
|
||||
|
||||
var keywords = 'Add-Content Add-History Add-Member Add-PSSnapin Clear(-Content)? Clear-Item ' +
|
||||
'Clear-ItemProperty Clear-Variable Compare-Object ConvertFrom-SecureString Convert-Path ' +
|
||||
'ConvertTo-Html ConvertTo-SecureString Copy(-Item)? Copy-ItemProperty Export-Alias ' +
|
||||
'Export-Clixml Export-Console Export-Csv ForEach(-Object)? Format-Custom Format-List ' +
|
||||
'Format-Table Format-Wide Get-Acl Get-Alias Get-AuthenticodeSignature Get-ChildItem Get-Command ' +
|
||||
'Get-Content Get-Credential Get-Culture Get-Date Get-EventLog Get-ExecutionPolicy ' +
|
||||
'Get-Help Get-History Get-Host Get-Item Get-ItemProperty Get-Location Get-Member ' +
|
||||
'Get-PfxCertificate Get-Process Get-PSDrive Get-PSProvider Get-PSSnapin Get-Service ' +
|
||||
'Get-TraceSource Get-UICulture Get-Unique Get-Variable Get-WmiObject Group-Object ' +
|
||||
'Import-Alias Import-Clixml Import-Csv Invoke-Expression Invoke-History Invoke-Item ' +
|
||||
'Join-Path Measure-Command Measure-Object Move(-Item)? Move-ItemProperty New-Alias ' +
|
||||
'New-Item New-ItemProperty New-Object New-PSDrive New-Service New-TimeSpan ' +
|
||||
'New-Variable Out-Default Out-File Out-Host Out-Null Out-Printer Out-String Pop-Location ' +
|
||||
'Push-Location Read-Host Remove-Item Remove-ItemProperty Remove-PSDrive Remove-PSSnapin ' +
|
||||
'Remove-Variable Rename-Item Rename-ItemProperty Resolve-Path Restart-Service Resume-Service ' +
|
||||
'Select-Object Select-String Set-Acl Set-Alias Set-AuthenticodeSignature Set-Content ' +
|
||||
'Set-Date Set-ExecutionPolicy Set-Item Set-ItemProperty Set-Location Set-PSDebug ' +
|
||||
'Set-Service Set-TraceSource Set(-Variable)? Sort-Object Split-Path Start-Service ' +
|
||||
'Start-Sleep Start-Transcript Stop-Process Stop-Service Stop-Transcript Suspend-Service ' +
|
||||
'Tee-Object Test-Path Trace-Command Update-FormatData Update-TypeData Where(-Object)? ' +
|
||||
'Write-Debug Write-Error Write(-Host)? Write-Output Write-Progress Write-Verbose Write-Warning';
|
||||
var alias = 'ac asnp clc cli clp clv cpi cpp cvpa diff epal epcsv fc fl ' +
|
||||
'ft fw gal gc gci gcm gdr ghy gi gl gm gp gps group gsv ' +
|
||||
'gsnp gu gv gwmi iex ihy ii ipal ipcsv mi mp nal ndr ni nv oh rdr ' +
|
||||
'ri rni rnp rp rsnp rv rvpa sal sasv sc select si sl sleep sort sp ' +
|
||||
'spps spsv sv tee cat cd cp h history kill lp ls ' +
|
||||
'mount mv popd ps pushd pwd r rm rmdir echo cls chdir del dir ' +
|
||||
'erase rd ren type % \\?';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /#.*$/gm, css: 'comments' }, // one line comments
|
||||
{ regex: /\$[a-zA-Z0-9]+\b/g, css: 'value' }, // variables $Computer1
|
||||
{ regex: /\-[a-zA-Z]+\b/g, css: 'keyword' }, // Operators -not -and -eq
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' },
|
||||
{ regex: new RegExp(this.getKeywords(alias), 'gmi'), css: 'keyword' }
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.PowerShell.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.PowerShell.aliases = ['powershell', 'ps'];
|
||||
66
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushPython.js
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Python = function()
|
||||
{
|
||||
// Contributed by Gheorghe Milas and Ahmad Sherif
|
||||
|
||||
var keywords = 'and assert break class continue def del elif else ' +
|
||||
'except exec finally for from global if import in is ' +
|
||||
'lambda not or pass print raise return try yield while';
|
||||
|
||||
var funcs = '__import__ abs all any apply basestring bin bool buffer callable ' +
|
||||
'chr classmethod cmp coerce compile complex delattr dict dir ' +
|
||||
'divmod enumerate eval execfile file filter float format frozenset ' +
|
||||
'getattr globals hasattr hash help hex id input int intern ' +
|
||||
'isinstance issubclass iter len list locals long map max min next ' +
|
||||
'object oct open ord pow print property range raw_input reduce ' +
|
||||
'reload repr reversed round set setattr slice sorted staticmethod ' +
|
||||
'str sum super tuple type type unichr unicode vars xrange zip';
|
||||
|
||||
var special = 'None True False self cls class_';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' },
|
||||
{ regex: /^\s*@\w+/gm, css: 'decorator' },
|
||||
{ regex: /(['\"]{3})([^\1])*?\1/gm, css: 'comments' },
|
||||
{ regex: /"(?!")(?:\.|\\\"|[^\""\n])*"/gm, css: 'string' },
|
||||
{ regex: /'(?!')(?:\.|(\\\')|[^\''\n])*'/gm, css: 'string' },
|
||||
{ regex: /\+|\-|\*|\/|\%|=|==/gm, css: 'keyword' },
|
||||
{ regex: /\b\d+\.?\w*/g, css: 'value' },
|
||||
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'functions' },
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' },
|
||||
{ regex: new RegExp(this.getKeywords(special), 'gm'), css: 'color1' }
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Python.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Python.aliases = ['py', 'python'];
|
||||
57
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushRuby.js
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Ruby = function()
|
||||
{
|
||||
// Contributed by Erik Peterson.
|
||||
|
||||
var keywords = 'alias and BEGIN begin break case class def define_method defined do each else elsif ' +
|
||||
'END end ensure false for if in module new next nil not or raise redo rescue retry return ' +
|
||||
'self super then throw true undef unless until when while yield';
|
||||
|
||||
var builtins = 'Array Bignum Binding Class Continuation Dir Exception FalseClass File::Stat File Fixnum Fload ' +
|
||||
'Hash Integer IO MatchData Method Module NilClass Numeric Object Proc Range Regexp String Struct::TMS Symbol ' +
|
||||
'ThreadGroup Thread Time TrueClass';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLinePerlComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: /\b[A-Z0-9_]+\b/g, css: 'constants' }, // constants
|
||||
{ regex: /:[a-z][A-Za-z0-9_]*/g, css: 'color2' }, // symbols
|
||||
{ regex: /(\$|@@|@)\w+/g, css: 'variable bold' }, // $global, @instance, and @@class variables
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
||||
{ regex: new RegExp(this.getKeywords(builtins), 'gm'), css: 'color1' } // builtins
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Ruby.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Ruby.aliases = ['ruby', 'rails', 'ror', 'rb'];
|
||||
53
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushScala.js
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Scala = function()
|
||||
{
|
||||
// Contributed by Yegor Jbanov and David Bernard.
|
||||
|
||||
var keywords = 'val sealed case def true trait implicit forSome import match object null finally super ' +
|
||||
'override try lazy for var catch throw type extends class while with new final yield abstract ' +
|
||||
'else do if return protected private this package false';
|
||||
|
||||
var keyops = '[_:=><%#@]+';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: SyntaxHighlighter.regexLib.singleLineCComments, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineCComments, css: 'comments' }, // multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // multi-line strings
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double-quoted string
|
||||
{ regex: SyntaxHighlighter.regexLib.singleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /0x[a-f0-9]+|\d+(\.\d+)?/gi, css: 'value' }, // numbers
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' }, // keywords
|
||||
{ regex: new RegExp(keyops, 'gm'), css: 'keyword' } // scala keyword
|
||||
];
|
||||
}
|
||||
|
||||
SyntaxHighlighter.brushes.Scala.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Scala.aliases = ['scala'];
|
||||
68
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushSql.js
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Sql = function()
|
||||
{
|
||||
var funcs = 'abs avg case cast coalesce convert count current_timestamp ' +
|
||||
'current_user day isnull left lower month nullif replace right ' +
|
||||
'session_user space substring sum system_user upper user year';
|
||||
|
||||
var keywords = 'absolute action add after alter as asc at authorization begin bigint ' +
|
||||
'binary bit by cascade char character check checkpoint close collate ' +
|
||||
'column commit committed connect connection constraint contains continue ' +
|
||||
'create cube current current_date current_time cursor database date ' +
|
||||
'deallocate dec decimal declare default delete desc distinct double drop ' +
|
||||
'dynamic else end end-exec escape except exec execute false fetch first ' +
|
||||
'float for force foreign forward free from full function global goto grant ' +
|
||||
'group grouping having hour ignore index inner insensitive insert instead ' +
|
||||
'int integer intersect into is isolation key last level load local max min ' +
|
||||
'minute modify move name national nchar next no numeric of off on only ' +
|
||||
'open option order out output partial password precision prepare primary ' +
|
||||
'prior privileges procedure public read real references relative repeatable ' +
|
||||
'restrict return returns revoke rollback rollup rows rule schema scroll ' +
|
||||
'second section select sequence serializable set size smallint static ' +
|
||||
'statistics table temp temporary then time timestamp to top transaction ' +
|
||||
'translation trigger true truncate uncommitted union unique update values ' +
|
||||
'varchar varying view when where with work';
|
||||
|
||||
var operators = 'all and any between cross in join like not null or outer some';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /--(.*)$/gm, css: 'comments' }, // one line and multiline comments
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineDoubleQuotedString, css: 'string' }, // double quoted strings
|
||||
{ regex: SyntaxHighlighter.regexLib.multiLineSingleQuotedString, css: 'string' }, // single quoted strings
|
||||
{ regex: new RegExp(this.getKeywords(funcs), 'gmi'), css: 'color2' }, // functions
|
||||
{ regex: new RegExp(this.getKeywords(operators), 'gmi'), css: 'color1' }, // operators and such
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gmi'), css: 'keyword' } // keyword
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Sql.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Sql.aliases = ['sql'];
|
||||
|
||||
62
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushVb.js
vendored
Normal file
@@ -0,0 +1,62 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
|
||||
/* modified by Helixoft */
|
||||
|
||||
SyntaxHighlighter.brushes.Vb = function()
|
||||
{
|
||||
var keywords = 'AddHandler AddressOf AndAlso Alias And Ansi As Assembly Auto ' +
|
||||
'Boolean ByRef Byte ByVal Call Case Catch CBool CByte CChar CDate ' +
|
||||
'CDec CDbl Char CInt Class CLng CObj Const CShort CSng CStr CType ' +
|
||||
'Date Decimal Declare Default Delegate Dim DirectCast Do Double Each ' +
|
||||
'Else ElseIf End Enum Erase Error Event Exit False Finally For Friend ' +
|
||||
'Function Get GetType GoSub GoTo Handles If Implements Imports In ' +
|
||||
'Inherits Integer Interface Is Let Lib Like Long Loop Me Mod Module ' +
|
||||
'MustInherit MustOverride MyBase MyClass Namespace New Next Not Nothing ' +
|
||||
'NotInheritable NotOverridable Object On Option Optional Or OrElse ' +
|
||||
'Overloads Overridable Overrides ParamArray Preserve Private Property ' +
|
||||
'Protected Public RaiseEvent ReadOnly ReDim REM RemoveHandler Resume ' +
|
||||
'Return Select Set Shadows Shared Short Single Static Step Stop String ' +
|
||||
'Structure Sub SyncLock Then Throw To True Try TypeOf Unicode Until ' +
|
||||
'Variant When While With WithEvents WriteOnly Xor';
|
||||
|
||||
this.regexList = [
|
||||
{ regex: /\<.*?\>/gm, css: 'skipTag' }, // HTML tag, don't decorate, Helixoft
|
||||
{ regex: /'.*$/gm, css: 'comments' }, // one line comments
|
||||
{ regex: SyntaxHighlighter.regexLib.doubleQuotedString, css: 'string' }, // strings
|
||||
{ regex: /^\s*#.*$/gm, css: 'preprocessor' }, // preprocessor tags like #region and #endregion
|
||||
{ regex: new RegExp(this.getKeywords(keywords), 'gm'), css: 'keyword' } // vb keyword
|
||||
];
|
||||
|
||||
this.forHtmlScript(SyntaxHighlighter.regexLib.aspScriptTags);
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Vb.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Vb.aliases = ['vb', 'vbnet'];
|
||||
71
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shBrushXml.js
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
SyntaxHighlighter.brushes.Xml = function()
|
||||
{
|
||||
function process(match, regexInfo)
|
||||
{
|
||||
var constructor = SyntaxHighlighter.Match,
|
||||
code = match[0],
|
||||
tag = new XRegExp('(<|<)[\\s\\/\\?]*(?<name>[:\\w-\\.]+)', 'xg').exec(code),
|
||||
result = []
|
||||
;
|
||||
|
||||
if (match.attributes != null)
|
||||
{
|
||||
var attributes,
|
||||
regex = new XRegExp('(?<name> [\\w:\\-\\.]+)' +
|
||||
'\\s*=\\s*' +
|
||||
'(?<value> ".*?"|\'.*?\'|\\w+)',
|
||||
'xg');
|
||||
|
||||
while ((attributes = regex.exec(code)) != null)
|
||||
{
|
||||
result.push(new constructor(attributes.name, match.index + attributes.index, 'color1'));
|
||||
result.push(new constructor(attributes.value, match.index + attributes.index + attributes[0].indexOf(attributes.value), 'string'));
|
||||
}
|
||||
}
|
||||
|
||||
if (tag != null)
|
||||
result.push(
|
||||
new constructor(tag.name, match.index + tag[0].indexOf(tag.name), 'keyword')
|
||||
);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
this.regexList = [
|
||||
{ regex: new XRegExp('(\\<|<)\\!\\[[\\w\\s]*?\\[(.|\\s)*?\\]\\](\\>|>)', 'gm'), css: 'color2' }, // <![ ... [ ... ]]>
|
||||
{ regex: SyntaxHighlighter.regexLib.xmlComments, css: 'comments' }, // <!-- ... -->
|
||||
{ regex: new XRegExp('(<|<)[\\s\\/\\?]*(\\w+)(?<attributes>.*?)[\\s\\/\\?]*(>|>)', 'sg'), func: process }
|
||||
];
|
||||
};
|
||||
|
||||
SyntaxHighlighter.brushes.Xml.prototype = new SyntaxHighlighter.Highlighter();
|
||||
SyntaxHighlighter.brushes.Xml.aliases = ['xml', 'xhtml', 'xslt', 'html'];
|
||||
30
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shCore.js
vendored
Normal file
30
Plugin_Printersettings/VSdoc/SyntaxHighlighter/scripts/shLegacy.js
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1 y={d:{}};y.d={F:6(S,l,q,k,m,n){6 J(z,Y){1 V=16 15("^"+Y+"\\\\[(?<o>\\\\w+)\\\\]$","14"),x=2;h(1 i=0;i<z.g;i++){7((x=V.17(z[i]))!=2){4 x.o}}4 2};6 3(r,U){4 r!=2?r:U};6 9(s){4 s!=2?s.13():2};1 f=S.18(":"),E=f[0],c={},u={"p":"p"};C={"p":"1a"},v=2,5=d.5;h(1 i 19 f){c[f[i]]="p"}l=9(3(l,5.O));q=9(3(q,5.T));k=9(3(k,5.A));n=9(3(n,5.W));m=9(3(m,5["K-L"]));v={1b:E,O:3(C[c.12],l),T:3(C[c.1g],q),A:3(u[c.A],k),W:3(u[c.1t],n),"K-L":3(J(f,"1q"),m)};4 v},1x:6(B,I,D,H,N,M){6 Z(){1 a=1r;h(1 i=0;i<a.g;i++){7(a[i]===2){10}7(G(a[i])=="1s"&&a[i]!=""){4 a[i]+""}7(G(a[i])=="1c"&&a[i].o!=""){4 a[i].o+""}}4 2};6 t(Q,R,11){1 j=1w.1v(11);h(1 i=0;i<j.g;i++){7(j[i].1u("1p")==R){Q.1n(j[i])}}};1 b=[],1o=2,1f={},1e="1d";t(b,B,"1h");t(b,B,"1i");7(b.g===0){4}h(1 i=0;i<b.g;i++){1 8=b[i],e=Z(8.X["1m"],8.1l,8.X["P"],8.P),1k="";7(e===2){10}e=y.d.F(e,I,D,H,N,M);d.1j(e,8)}}};',62,96,'|var|null|defaultValue|return|defaults|function|if|_26|asString||_21|_11|SyntaxHighlighter|_27|_f|length|for||_1f|_4|_2|_5|_6|value|true|_3|_c|_e|findTagsByName|_12|result||_a|dp|_7|collapse|_14|reverse|_16|_10|parseParams|typeof|_17|_15|getValue|first|line|_19|_18|gutter|language|_1c|_1d|_1|toolbar|_d|_9|ruler|attributes|_8|findValue|continue|_1e|nogutter|toString|gi|XRegExp|new|exec|split|in|false|brush|object|innerHTML|_24|_23|nocontrols|pre|textarea|highlight|_28|className|class|push|_22|name|firstline|arguments|string|showcolumns|getAttribute|getElementsByTagName|document|HighlightAll'.split('|'),0,{}))
|
||||
2077
Plugin_Printersettings/VSdoc/SyntaxHighlighter/src/shCore.js
vendored
Normal file
172
Plugin_Printersettings/VSdoc/SyntaxHighlighter/src/shLegacy.js
vendored
Normal file
@@ -0,0 +1,172 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
var dp = {
|
||||
SyntaxHighlighter : {}
|
||||
};
|
||||
|
||||
dp.SyntaxHighlighter = {
|
||||
parseParams: function(
|
||||
input,
|
||||
showGutter,
|
||||
showControls,
|
||||
collapseAll,
|
||||
firstLine,
|
||||
showColumns
|
||||
)
|
||||
{
|
||||
function getValue(list, name)
|
||||
{
|
||||
var regex = new XRegExp('^' + name + '\\[(?<value>\\w+)\\]$', 'gi'),
|
||||
match = null
|
||||
;
|
||||
|
||||
for (var i = 0; i < list.length; i++)
|
||||
if ((match = regex.exec(list[i])) != null)
|
||||
return match.value;
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
function defaultValue(value, def)
|
||||
{
|
||||
return value != null ? value : def;
|
||||
};
|
||||
|
||||
function asString(value)
|
||||
{
|
||||
return value != null ? value.toString() : null;
|
||||
};
|
||||
|
||||
var parts = input.split(':'),
|
||||
brushName = parts[0],
|
||||
options = {},
|
||||
straight = { 'true' : 'true' }
|
||||
reverse = { 'true' : 'false' },
|
||||
result = null,
|
||||
defaults = SyntaxHighlighter.defaults
|
||||
;
|
||||
|
||||
for (var i in parts)
|
||||
options[parts[i]] = 'true';
|
||||
|
||||
showGutter = asString(defaultValue(showGutter, defaults.gutter));
|
||||
showControls = asString(defaultValue(showControls, defaults.toolbar));
|
||||
collapseAll = asString(defaultValue(collapseAll, defaults.collapse));
|
||||
showColumns = asString(defaultValue(showColumns, defaults.ruler));
|
||||
firstLine = asString(defaultValue(firstLine, defaults['first-line']));
|
||||
|
||||
result = {
|
||||
brush : brushName,
|
||||
gutter : defaultValue(reverse[options.nogutter], showGutter),
|
||||
toolbar : defaultValue(reverse[options.nocontrols], showControls),
|
||||
collapse : defaultValue(straight[options.collapse], collapseAll),
|
||||
ruler : defaultValue(straight[options.showcolumns], showColumns),
|
||||
'first-line' : defaultValue(getValue(parts, 'firstline'), firstLine)
|
||||
};
|
||||
|
||||
return result;
|
||||
},
|
||||
|
||||
HighlightAll: function(
|
||||
name,
|
||||
showGutter /* optional */,
|
||||
showControls /* optional */,
|
||||
collapseAll /* optional */,
|
||||
firstLine /* optional */,
|
||||
showColumns /* optional */
|
||||
)
|
||||
{
|
||||
function findValue()
|
||||
{
|
||||
var a = arguments;
|
||||
|
||||
for (var i = 0; i < a.length; i++)
|
||||
{
|
||||
if (a[i] === null)
|
||||
continue;
|
||||
|
||||
if (typeof(a[i]) == 'string' && a[i] != '')
|
||||
return a[i] + '';
|
||||
|
||||
if (typeof(a[i]) == 'object' && a[i].value != '')
|
||||
return a[i].value + '';
|
||||
}
|
||||
|
||||
return null;
|
||||
};
|
||||
|
||||
function findTagsByName(list, name, tagName)
|
||||
{
|
||||
var tags = document.getElementsByTagName(tagName);
|
||||
|
||||
for (var i = 0; i < tags.length; i++)
|
||||
if (tags[i].getAttribute('name') == name)
|
||||
list.push(tags[i]);
|
||||
}
|
||||
|
||||
var elements = [],
|
||||
highlighter = null,
|
||||
registered = {},
|
||||
propertyName = 'innerHTML'
|
||||
;
|
||||
|
||||
// for some reason IE doesn't find <pre/> by name, however it does see them just fine by tag name...
|
||||
findTagsByName(elements, name, 'pre');
|
||||
findTagsByName(elements, name, 'textarea');
|
||||
|
||||
if (elements.length === 0)
|
||||
return;
|
||||
|
||||
for (var i = 0; i < elements.length; i++)
|
||||
{
|
||||
var element = elements[i],
|
||||
params = findValue(
|
||||
element.attributes['class'], element.className,
|
||||
element.attributes['language'], element.language
|
||||
),
|
||||
language = ''
|
||||
;
|
||||
|
||||
if (params === null)
|
||||
continue;
|
||||
|
||||
params = dp.SyntaxHighlighter.parseParams(
|
||||
params,
|
||||
showGutter,
|
||||
showControls,
|
||||
collapseAll,
|
||||
firstLine,
|
||||
showColumns
|
||||
);
|
||||
|
||||
SyntaxHighlighter.highlight(params, element);
|
||||
}
|
||||
}
|
||||
};
|
||||
BIN
Plugin_Printersettings/VSdoc/SyntaxHighlighter/styles/help.png
Normal file
|
After Width: | Height: | Size: 786 B |
|
After Width: | Height: | Size: 615 B |
|
After Width: | Height: | Size: 603 B |
|
After Width: | Height: | Size: 309 B |
|
After Width: | Height: | Size: 731 B |
330
Plugin_Printersettings/VSdoc/SyntaxHighlighter/styles/shCore.css
Normal file
@@ -0,0 +1,330 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
.syntaxhighlighter,
|
||||
.syntaxhighlighter div,
|
||||
.syntaxhighlighter code,
|
||||
.syntaxhighlighter table,
|
||||
.syntaxhighlighter table td,
|
||||
.syntaxhighlighter table tr,
|
||||
.syntaxhighlighter table tbody
|
||||
{
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
border: 0 !important;
|
||||
outline: 0 !important;
|
||||
background: none !important;
|
||||
text-align: left !important;
|
||||
float: none !important;
|
||||
vertical-align: baseline !important;
|
||||
position: static !important;
|
||||
left: auto !important;
|
||||
top: auto !important;
|
||||
right: auto !important;
|
||||
bottom: auto !important;
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
line-height: 1.1em !important;
|
||||
font-family: "Consolas", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace !important;
|
||||
font-weight: normal !important;
|
||||
font-style: normal !important;
|
||||
font-size: 1em !important;
|
||||
min-height: inherit !important; /* For IE8, FF & WebKit */
|
||||
min-height: auto !important; /* For IE7 */
|
||||
}
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
width: 99% !important; /* 99% fixes IE8 horizontal scrollbar */
|
||||
margin: 1em 0 1em 0 !important;
|
||||
padding: 1px !important; /* adds a little border on top and bottom */
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .bold
|
||||
{
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .italic
|
||||
{
|
||||
font-style: italic !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line
|
||||
{
|
||||
}
|
||||
|
||||
.syntaxhighlighter .no-wrap .line .content
|
||||
{
|
||||
white-space: pre !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line table
|
||||
{
|
||||
border-collapse: collapse !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line td
|
||||
{
|
||||
vertical-align: top !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
width: 3em !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .number code
|
||||
{
|
||||
width: 2.7em !important;
|
||||
padding-right: .3em !important;
|
||||
text-align: right !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
padding-left: .5em !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .line .spaces
|
||||
{
|
||||
}
|
||||
|
||||
/* Disable border and margin on the lines when no gutter option is set */
|
||||
.syntaxhighlighter.nogutter .line .content
|
||||
{
|
||||
border-left: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .bar
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .bar.show
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .bar
|
||||
{
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
/* Adjust some properties when collapsed */
|
||||
|
||||
.syntaxhighlighter.collapsed .lines
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .lines.no-wrap
|
||||
{
|
||||
overflow: auto !important;
|
||||
overflow-y: hidden !important;
|
||||
}
|
||||
|
||||
/* Styles for the toolbar */
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
position: absolute !important;
|
||||
right: 0px !important;
|
||||
top: 0px !important;
|
||||
font-size: 1px !important;
|
||||
padding: 8px 8px 8px 0 !important; /* in px because images don't scale with ems */
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .toolbar
|
||||
{
|
||||
font-size: 80% !important;
|
||||
padding: .2em 0 .5em .5em !important;
|
||||
position: static !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a.item,
|
||||
.syntaxhighlighter .toolbar .item
|
||||
{
|
||||
display: block !important;
|
||||
float: left !important;
|
||||
margin-left: 8px !important;
|
||||
background-repeat: no-repeat !important;
|
||||
overflow: hidden !important;
|
||||
text-indent: -5000px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .toolbar .item
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.collapsed .toolbar .item.expandSource
|
||||
{
|
||||
background-image: url(magnifier.png) !important;
|
||||
display: inline !important;
|
||||
text-indent: 0 !important;
|
||||
width: auto !important;
|
||||
float: none !important;
|
||||
height: 16px !important;
|
||||
padding-left: 20px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.viewSource
|
||||
{
|
||||
background-image: url(page_white_code.png) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.printSource
|
||||
{
|
||||
background-image: url(printer.png) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.copyToClipboard
|
||||
{
|
||||
text-indent: 0 !important;
|
||||
background: none !important;
|
||||
overflow: visible !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar .item.about
|
||||
{
|
||||
background-image: url(help.png) !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Print view.
|
||||
* Colors are based on the default theme without background.
|
||||
*/
|
||||
|
||||
.syntaxhighlighter.printing,
|
||||
.syntaxhighlighter.printing .line.alt1 .content,
|
||||
.syntaxhighlighter.printing .line.alt2 .content,
|
||||
.syntaxhighlighter.printing .line.highlighted .number,
|
||||
.syntaxhighlighter.printing .line.highlighted.alt1 .content,
|
||||
.syntaxhighlighter.printing .line.highlighted.alt2 .content,
|
||||
{
|
||||
background: none !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter.printing .line .number
|
||||
{
|
||||
color: #bbb !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
/* Toolbar when visible */
|
||||
.syntaxhighlighter.printing .toolbar
|
||||
{
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing a
|
||||
{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .plain,
|
||||
.syntaxhighlighter.printing .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .comments,
|
||||
.syntaxhighlighter.printing .comments a
|
||||
{
|
||||
color: #008200 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .string,
|
||||
.syntaxhighlighter.printing .string a
|
||||
{
|
||||
color: blue !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .keyword
|
||||
{
|
||||
color: #069 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .preprocessor
|
||||
{
|
||||
color: gray !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .functions
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .script
|
||||
{
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .color1,
|
||||
.syntaxhighlighter.printing .color1 a
|
||||
{
|
||||
color: #808080 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .color2,
|
||||
.syntaxhighlighter.printing .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .color3,
|
||||
.syntaxhighlighter.printing .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/************************************
|
||||
* Default Syntax Highlighter theme.
|
||||
*
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #e0e0e0 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #afafaf !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #6CE26C !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
border: #E7E5DC solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #a0a0a0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #008200 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: blue !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #069 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: gray !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: yellow !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #808080 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
@@ -0,0 +1,176 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/**
|
||||
* Django SyntaxHighlighter theme
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #0B2F20 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #497958 !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #41A83E !important;
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #0a2b1d !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #336442 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #336442 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #245032 !important;
|
||||
border: #0B2F20 solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #C4B14A !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: #FFE862 !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #F8F8F8 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #336442 !important;
|
||||
font-style: italic !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: #9DF39F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #96DD3B !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #91BB9E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #F7E741 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #E0E8FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: #497958 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #EB939A !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #91BB9E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: #EDEF7D !important;
|
||||
}
|
||||
@@ -0,0 +1,190 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/**
|
||||
* Eclipse IDE SyntaxHighlighter color theme
|
||||
* (C) Code-House
|
||||
* http://blog.code-house.org/2009/10/xml-i-adnotacje-kod-ogolnego-przeznaczenia-i-jpa/
|
||||
*/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #c3defe !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #c3defe !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #787878 !important;
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 1px solid #d4d0c8 !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #fff !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
border: #E7E5DC solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #a0a0a0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #3f5fbf !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: #2a00ff !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #7f0055 !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #646464 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: yellow !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #808080 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
|
||||
|
||||
.xml .keyword {
|
||||
color: #3f7f7f !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.xml .color1,
|
||||
.xml .color1 a{
|
||||
color: #7f007f !important;
|
||||
}
|
||||
|
||||
.xml .string {
|
||||
font-style: italic !important;
|
||||
color: #2a00ff !important;
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/**
|
||||
* Emacs SyntaxHighlighter theme based on theme by Joshua Emmons
|
||||
* http://www.skia.net/
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #000000 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #D3D3D3 !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #990000 !important;
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #0f0f0f !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #435A5F !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #435A5F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #000000 !important;
|
||||
border: #000000 solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #646763 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: #9CCFF4 !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #D3D3D3 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #FF7D27 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: #FF9E7B !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #00FFFF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #AEC4DE !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #81CEF9 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #FF9E7B !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: #990000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #EBDB8D !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #FF7D27 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: #AEC4DE !important;
|
||||
}
|
||||
@@ -0,0 +1,177 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/**
|
||||
* Fade to Grey SyntaxHighlighter theme based on theme by Brasten Sager
|
||||
* http://www.ibrasten.com/
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #121212 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #C3C3C3 !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #3185B9 !important;
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #000000 !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #3A3A00 !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #3A3A00 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #000000 !important;
|
||||
border: #000000 solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #808080 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: #96DAFF !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #696854 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: #E3E658 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #D01D33 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #435A5F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #898989 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #AAAAAA !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #96DAFF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: #C3C3C3 !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #FFC074 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #4A8CDB !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: #96DAFF !important;
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/**
|
||||
* Midnight SyntaxHighlighter theme based on theme by J.D. Myers
|
||||
* http://webdesign.lsnjd.com/
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #0F192A !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #38566F !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #435A5F !important;
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
background-color: #0F192A !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #0F192A !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #253E5A !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #253E5A !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #0F192A !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #38566F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: #8AA6C1 !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #D1EDFF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #428BDD !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: #1DC116 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #B43D3D !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #8AA6C1 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #F7E741 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #E0E8FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: #404040 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #F8BB00 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
@@ -0,0 +1,209 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* MSDN lightweight Syntax Highlighter theme.
|
||||
*
|
||||
* by Helixoft
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter,
|
||||
.syntaxhighlighter div,
|
||||
.syntaxhighlighter code,
|
||||
.syntaxhighlighter table,
|
||||
.syntaxhighlighter table td,
|
||||
.syntaxhighlighter table tr,
|
||||
.syntaxhighlighter table tbody
|
||||
{
|
||||
line-height: normal !important;
|
||||
font-family: Consolas,Courier,monospace !important;
|
||||
font-style: normal !important;
|
||||
font-weight: normal !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
margin: 0.3em 0 0.4em 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #e0e0e0 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #afafaf !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 0px !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
border: #E7E5DC solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #a0a0a0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
|
||||
|
||||
.syntaxhighlighter a,
|
||||
.syntaxhighlighter a:link,
|
||||
.syntaxhighlighter a:visited
|
||||
{
|
||||
text-decoration: underline !important;
|
||||
color: #0000FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter a:hover
|
||||
{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: rgb(0,128,0) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: rgb(163,21,21) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword,
|
||||
.syntaxhighlighter .keyword a
|
||||
{
|
||||
color: #0000FF !important;
|
||||
/*font-weight: bold !important;*/
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #0000FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: yellow !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #0000FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
@@ -0,0 +1,175 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
/**
|
||||
* RDark SyntaxHighlighter theme based on theme by Radu Dineiu
|
||||
* http://www.vim.org/scripts/script.php?script_id=1732
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* Interface elements.
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: #1B2426 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 3px solid #435A5F !important;
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
background-color: #1B2426 !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: #1B2426 !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
background-color: #435A5F !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #435A5F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #1B2426 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #646763 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: #E0E8FF !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #B9BDB6 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: #878A85 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: #5CE638 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword
|
||||
{
|
||||
color: #5BA1CF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #435A5F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #E0E8FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: #435A5F !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #E0E8FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #FFFFFF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: #FFAA3E !important;
|
||||
}
|
||||
@@ -0,0 +1,208 @@
|
||||
/**
|
||||
* SyntaxHighlighter
|
||||
* http://alexgorbatchev.com/
|
||||
*
|
||||
* SyntaxHighlighter is donationware. If you are using it, please donate.
|
||||
* http://alexgorbatchev.com/wiki/SyntaxHighlighter:Donate
|
||||
*
|
||||
* @version
|
||||
* 2.1.364 (October 15 2009)
|
||||
*
|
||||
* @copyright
|
||||
* Copyright (C) 2004-2009 Alex Gorbatchev.
|
||||
*
|
||||
* @license
|
||||
* This file is part of SyntaxHighlighter.
|
||||
*
|
||||
* SyntaxHighlighter is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* SyntaxHighlighter is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with SyntaxHighlighter. If not, see <http://www.gnu.org/copyleft/lesser.html>.
|
||||
*/
|
||||
|
||||
/************************************
|
||||
* Visual Studio Syntax Highlighter theme.
|
||||
*
|
||||
* by Helixoft
|
||||
************************************/
|
||||
|
||||
.syntaxhighlighter,
|
||||
.syntaxhighlighter div,
|
||||
.syntaxhighlighter code,
|
||||
.syntaxhighlighter table,
|
||||
.syntaxhighlighter table td,
|
||||
.syntaxhighlighter table tr,
|
||||
.syntaxhighlighter table tbody
|
||||
{
|
||||
font-family: Monospace, Courier New, Courier !important;
|
||||
line-height: normal !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
font-size: 105% !important;
|
||||
margin: 0.3em 0 0.4em 0 !important;
|
||||
}
|
||||
|
||||
|
||||
.syntaxhighlighter
|
||||
{
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Highlighed line number */
|
||||
.syntaxhighlighter .line.highlighted .number
|
||||
{
|
||||
color: black !important;
|
||||
}
|
||||
|
||||
/* Highlighed line */
|
||||
.syntaxhighlighter .line.highlighted.alt1,
|
||||
.syntaxhighlighter .line.highlighted.alt2
|
||||
{
|
||||
background-color: #e0e0e0 !important;
|
||||
}
|
||||
|
||||
/* Gutter line numbers */
|
||||
.syntaxhighlighter .line .number
|
||||
{
|
||||
color: #afafaf !important;
|
||||
}
|
||||
|
||||
/* Add border to the lines */
|
||||
.syntaxhighlighter .line .content
|
||||
{
|
||||
border-left: 0px !important;
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter.printing .line .content
|
||||
{
|
||||
border: 0 !important;
|
||||
}
|
||||
|
||||
/* First line */
|
||||
.syntaxhighlighter .line.alt1
|
||||
{
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
/* Second line */
|
||||
.syntaxhighlighter .line.alt2
|
||||
{
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar
|
||||
{
|
||||
background-color: #F8F8F8 !important;
|
||||
border: #E7E5DC solid 1px !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a
|
||||
{
|
||||
color: #a0a0a0 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .toolbar a:hover
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
|
||||
|
||||
.syntaxhighlighter a,
|
||||
.syntaxhighlighter a:link,
|
||||
.syntaxhighlighter a:visited
|
||||
{
|
||||
text-decoration: underline !important;
|
||||
color: #0000FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter a:hover
|
||||
{
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/************************************
|
||||
* Actual syntax highlighter colors.
|
||||
************************************/
|
||||
.syntaxhighlighter .plain,
|
||||
.syntaxhighlighter .plain a
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .comments,
|
||||
.syntaxhighlighter .comments a
|
||||
{
|
||||
color: rgb(0,128,0) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .string,
|
||||
.syntaxhighlighter .string a
|
||||
{
|
||||
color: rgb(163,21,21) !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .keyword,
|
||||
.syntaxhighlighter .keyword a
|
||||
{
|
||||
color: #0000FF !important;
|
||||
/*font-weight: bold !important;*/
|
||||
}
|
||||
|
||||
.syntaxhighlighter .preprocessor
|
||||
{
|
||||
color: #0000FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .variable
|
||||
{
|
||||
color: #a70 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .value
|
||||
{
|
||||
color: #090 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .functions
|
||||
{
|
||||
color: #000 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .constants
|
||||
{
|
||||
color: #0066CC !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .script
|
||||
{
|
||||
background-color: yellow !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color1,
|
||||
.syntaxhighlighter .color1 a
|
||||
{
|
||||
color: #0000FF !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color2,
|
||||
.syntaxhighlighter .color2 a
|
||||
{
|
||||
color: #ff1493 !important;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .color3,
|
||||
.syntaxhighlighter .color3 a
|
||||
{
|
||||
color: red !important;
|
||||
}
|
||||
BIN
Plugin_Printersettings/VSdoc/msdn2/CFW.gif
Normal file
|
After Width: | Height: | Size: 588 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/collall.gif
Normal file
|
After Width: | Height: | Size: 75 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/collapse.gif
Normal file
|
After Width: | Height: | Size: 197 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/collapse_all.gif
Normal file
|
After Width: | Height: | Size: 197 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/copycode.gif
Normal file
|
After Width: | Height: | Size: 578 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/copycodeHighlight.gif
Normal file
|
After Width: | Height: | Size: 578 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/drpdown.gif
Normal file
|
After Width: | Height: | Size: 221 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/drpdown_orange.gif
Normal file
|
After Width: | Height: | Size: 366 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/expall.gif
Normal file
|
After Width: | Height: | Size: 78 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/expand_all.gif
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/footer.gif
Normal file
|
After Width: | Height: | Size: 49 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendclass.gif
Normal file
|
After Width: | Height: | Size: 594 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/frienddelegate.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendenum.gif
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendevent.gif
Normal file
|
After Width: | Height: | Size: 562 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendfield.gif
Normal file
|
After Width: | Height: | Size: 559 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendinterface.gif
Normal file
|
After Width: | Height: | Size: 559 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendmethod.gif
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendproperty.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Plugin_Printersettings/VSdoc/msdn2/friendstructure.gif
Normal file
|
After Width: | Height: | Size: 609 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/help_contents.gif
Normal file
|
After Width: | Height: | Size: 617 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/help_index.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Plugin_Printersettings/VSdoc/msdn2/help_search.gif
Normal file
|
After Width: | Height: | Size: 579 B |
584
Plugin_Printersettings/VSdoc/msdn2/msdn2.css
Normal file
@@ -0,0 +1,584 @@
|
||||
/* MSDN stuff */
|
||||
img.toggle
|
||||
{
|
||||
border: 0px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
img#languageFilterImage
|
||||
{
|
||||
border: 0px;
|
||||
margin-left: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img#membersOptionsFilterImage
|
||||
{
|
||||
border: 0px;
|
||||
margin-left: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
img#toggleAllImage
|
||||
{
|
||||
margin-left: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
/* diagrams */
|
||||
.class-diagram img {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
||||
/* reset basic styles changed by default.css from H&M */
|
||||
body, table /* Normal */
|
||||
{
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
* font-size: small; /* IE only, default font size in IE6+ is not medium but small */
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
background-color: #FFFFFF;
|
||||
color: #000000;
|
||||
font-family: Verdana, Arial, Helvetica, sans-serif;
|
||||
font-size: medium;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
dl
|
||||
{
|
||||
margin-top: 15px;
|
||||
margin-bottom:5px;
|
||||
padding-left: 1px;
|
||||
}
|
||||
|
||||
|
||||
dd
|
||||
{
|
||||
margin-left: 0px;
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
ul
|
||||
{
|
||||
margin-top:0px;
|
||||
margin-bottom:0px;
|
||||
margin-left: 17px;
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
ul ul
|
||||
{
|
||||
margin-bottom: 4px;
|
||||
margin-left: 17px;
|
||||
margin-top: 3px;
|
||||
list-style-type: disc;
|
||||
}
|
||||
|
||||
ol
|
||||
{
|
||||
margin-top:0px;
|
||||
margin-bottom:0px;
|
||||
margin-left: 28px;
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
ol ol
|
||||
{
|
||||
margin-bottom: 4px;
|
||||
margin-left: 28px;
|
||||
margin-top: 3px;
|
||||
list-style-type: lower-alpha;
|
||||
}
|
||||
|
||||
li
|
||||
{
|
||||
margin-top:-2px;
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
p
|
||||
{
|
||||
margin-top: 10px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
a
|
||||
{
|
||||
color: #0000FF;
|
||||
}
|
||||
|
||||
a:visited
|
||||
{
|
||||
color: #DD7C3B;
|
||||
}
|
||||
|
||||
a:hover
|
||||
{
|
||||
color: #3366FF;
|
||||
}
|
||||
|
||||
|
||||
/* XLinks */
|
||||
MSHelp\:link
|
||||
{
|
||||
text-decoration: underline;
|
||||
color: #0000ff;
|
||||
hoverColor: #3366ff;
|
||||
filterString: ;
|
||||
}
|
||||
|
||||
|
||||
code
|
||||
{
|
||||
font-family: Monospace, Courier New, Courier;
|
||||
font-size: 105%;
|
||||
color: #000066;
|
||||
}
|
||||
|
||||
span.parameter {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
div#mainSection
|
||||
{
|
||||
font-size: 70%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div#mainBody
|
||||
{
|
||||
* font-size: 90%; /* Interpreted only by IE */
|
||||
margin-left: 15px;
|
||||
margin-top: 10px;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
div#mainBody p, div#mainBody ol, div#mainBody ul, div#mainBody dl
|
||||
{
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
div#header
|
||||
{
|
||||
background-color: #FFFFFF;
|
||||
padding-top: 0px;
|
||||
padding-bottom: 0px;
|
||||
padding-left: 0px;
|
||||
padding-right: 0px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div#header table
|
||||
{
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div#header table td
|
||||
{
|
||||
color: #0000FF;
|
||||
font-size: 70%;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
padding-right: 20px;
|
||||
}
|
||||
|
||||
div#header table tr#headerTableRow3 td
|
||||
{
|
||||
padding-bottom: 2px;
|
||||
padding-top: 5px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
div#header table#bottomTable
|
||||
{
|
||||
border-top-color: #FFFFFF;
|
||||
border-top-style: solid;
|
||||
border-top-width: 1px;
|
||||
text-align: left;
|
||||
padding-left: 15px;
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
|
||||
td.nsrBottom
|
||||
{
|
||||
height: 10px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
img#devlangsDropdownImage
|
||||
{
|
||||
border: 0px;
|
||||
margin-left: 0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
||||
/* Dropdown areas */
|
||||
|
||||
#devlangsMenu {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #f3cbb5;
|
||||
background: #FCECE4;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-left: 4px;
|
||||
padding-right:8px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
#memberOptionsMenu {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #f3cbb5;
|
||||
background: #FCECE4;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-left: 4px;
|
||||
padding-right:8px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
#memberFrameworksMenu {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #f3cbb5;
|
||||
background: #FCECE4;
|
||||
padding-top: 4px;
|
||||
padding-bottom: 4px;
|
||||
padding-left: 4px;
|
||||
padding-right:8px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
|
||||
div#mainSection table td.imageCell
|
||||
{
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
|
||||
div#mainBody div.alert, div#mainBody div.code, div#mainBody div.tableSection
|
||||
{
|
||||
width:98.9%;
|
||||
}
|
||||
|
||||
div#mainBody div.section div.alert, div#mainBody div.section div.code,
|
||||
div#mainBody div.section div.tableSection
|
||||
{
|
||||
width:100%;
|
||||
}
|
||||
|
||||
div#mainBody div.section ul div.alert, div#mainBody div.section ul div.code,
|
||||
div#mainBody div.section ul div.tableSection, div#mainBody div.section ol div.alert,
|
||||
div#mainBody div.section ol div.code, div#mainBody div.section ol div.tableSection
|
||||
{
|
||||
width:100%;
|
||||
}
|
||||
|
||||
div.code p
|
||||
{
|
||||
margin-top:5px;
|
||||
margin-bottom:8px;
|
||||
}
|
||||
dd p
|
||||
{
|
||||
margin-top:4px;
|
||||
margin-bottom:4px;
|
||||
}
|
||||
div.tableSection p
|
||||
{
|
||||
margin-top:1px;
|
||||
margin-bottom:4px;
|
||||
}
|
||||
li p
|
||||
{
|
||||
margin-top:2px;
|
||||
margin-bottom:2px;
|
||||
}
|
||||
div.section dl
|
||||
{
|
||||
margin-top:8px;
|
||||
margin-bottom:1px;
|
||||
padding-left:1px;
|
||||
}
|
||||
div.section dd p
|
||||
{
|
||||
margin-top:2px;
|
||||
margin-bottom:2px;
|
||||
}
|
||||
|
||||
|
||||
div.code table
|
||||
{
|
||||
border: 0px;
|
||||
font-size: 95%;
|
||||
margin-bottom: 5px;
|
||||
margin-top:-.4em;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
div.code table th
|
||||
{
|
||||
background: #EFEFF7;
|
||||
border-bottom-color: #C8CDDE;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
color: #000066;
|
||||
font-weight: bold;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
div.code table td
|
||||
{
|
||||
background: #F7F7FF;
|
||||
border-top-color: #FFFFFF;
|
||||
border-top-style: solid;
|
||||
border-top-width: 1px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
span#runningHeaderText
|
||||
{
|
||||
color: #8C8C8C;
|
||||
font-size: 90%;
|
||||
padding-left: 13px;
|
||||
}
|
||||
|
||||
span#nsrTitle
|
||||
{
|
||||
color: #000000;
|
||||
font-size: 160%;
|
||||
font-weight: 400;
|
||||
font-family: arial;
|
||||
}
|
||||
|
||||
/* Applies to second row in the upper table of the non-scrolling header region. */
|
||||
div#header table tr#headerTableRow2 td
|
||||
{
|
||||
padding-left: 13px;
|
||||
}
|
||||
|
||||
|
||||
div#footer
|
||||
{
|
||||
font-size: 80%;
|
||||
margin-top: 0px;
|
||||
margin-bottom: 0px;
|
||||
margin-left: 0px;
|
||||
margin-right: 0px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 6px;
|
||||
padding-left: 5px;
|
||||
padding-right: 2px;
|
||||
}
|
||||
|
||||
|
||||
div.section
|
||||
{
|
||||
margin-left:0px;
|
||||
padding-top: 2px;
|
||||
padding-bottom: 2px;
|
||||
padding-left: 16px;
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
|
||||
.heading
|
||||
{
|
||||
font-weight: bold;
|
||||
margin-top: 18px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
h1.heading
|
||||
{
|
||||
color: #000000;
|
||||
font-size: 130%;
|
||||
}
|
||||
|
||||
.subHeading
|
||||
{
|
||||
font-weight: bold;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
h3.subHeading
|
||||
{
|
||||
color: #000000;
|
||||
font-size: 120%;
|
||||
font-weight:800;
|
||||
}
|
||||
|
||||
h4.subHeading
|
||||
{
|
||||
color: #000000;
|
||||
font-size: 110%;
|
||||
font-weight:800;
|
||||
}
|
||||
|
||||
|
||||
img.copyCodeImage
|
||||
{
|
||||
border: 0px;
|
||||
margin: 1px;
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
|
||||
/* Tables in main text */
|
||||
div#mainSection table
|
||||
{
|
||||
border: 0px;
|
||||
font-size: 100%;
|
||||
/*width: 98.9%; */
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
div#mainSection table tr
|
||||
{
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
div#mainSection table th
|
||||
{
|
||||
background-color: #EFEFF7;
|
||||
border-bottom: 1px solid #C8CDDE;
|
||||
border-right: 1px solid #D5D5D3;
|
||||
color: #000066;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div#mainSection table td
|
||||
{
|
||||
background-color: #F7F7FF;
|
||||
border-bottom: 1px solid #D5D5D3;
|
||||
border-right: 1px solid #D5D5D3;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
div#mainSection table td.imageCell
|
||||
{
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
div.code table
|
||||
{
|
||||
border: 0px;
|
||||
font-size: 95%;
|
||||
margin-bottom: 5px;
|
||||
width: 100%
|
||||
}
|
||||
|
||||
div.code table th
|
||||
{
|
||||
background: #EFEFF7;
|
||||
border-bottom-color: #C8CDDE;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
color: #000066;
|
||||
font-weight: bold;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
}
|
||||
|
||||
div.code table td
|
||||
{
|
||||
background: #F7F7FF;
|
||||
border-top-color: #FFFFFF;
|
||||
border-top-style: solid;
|
||||
border-top-width: 1px;
|
||||
padding-left: 5px;
|
||||
padding-right: 5px;
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
|
||||
span.copyCode
|
||||
{
|
||||
color: #0000ff;
|
||||
font-size: 90%;
|
||||
font-weight: normal;
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
float: right;
|
||||
display: inline;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
|
||||
div.code pre
|
||||
{
|
||||
font-family: Monospace, Courier New, Courier;
|
||||
font-size: 105%;
|
||||
color: #000066;
|
||||
white-space: pre-wrap; /* css-3 */
|
||||
white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
|
||||
white-space: -pre-wrap; /* Opera 4-6 */
|
||||
white-space: -o-pre-wrap; /* Opera 7 */
|
||||
word-wrap: break-word; /* Internet Explorer 5.5+ */
|
||||
direction: ltr;
|
||||
}
|
||||
|
||||
|
||||
.languageFilter
|
||||
{
|
||||
color: #0000FF;
|
||||
cursor:pointer;
|
||||
text-decoration:underline;
|
||||
padding-bottom:4px;
|
||||
}
|
||||
|
||||
|
||||
#languageSpan {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #C8CDDE;
|
||||
background: #d4dfff;
|
||||
padding: 4px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
#membersOptionsSpan {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
border-color: #C8CDDE;
|
||||
background: #d4dfff;
|
||||
padding: 4px;
|
||||
font-size: 70%;
|
||||
}
|
||||
|
||||
|
||||
div.footerLine {
|
||||
margin: 0px;
|
||||
width: 100%;
|
||||
padding: 0px;
|
||||
}
|
||||
937
Plugin_Printersettings/VSdoc/msdn2/msdn2.js
Normal file
@@ -0,0 +1,937 @@
|
||||
/***********************************************
|
||||
* PAGE INIT
|
||||
***********************************************/
|
||||
|
||||
/**
|
||||
* Splitting the screen
|
||||
*/
|
||||
function SplitScreen (nonScrollingRegionId, scrollingRegionId) {
|
||||
this.nonScrollingRegion = document.getElementById(nonScrollingRegionId);
|
||||
this.scrollingRegion = document.getElementById(scrollingRegionId);
|
||||
|
||||
document.body.style.margin = "0px";
|
||||
document.body.style.overflow = "hidden";
|
||||
this.scrollingRegion.style.overflow = "auto";
|
||||
|
||||
this.resize(null);
|
||||
|
||||
registerEventHandler(window, 'resize', getInstanceDelegate(this, "resize"));
|
||||
// clean itself on document unload
|
||||
registerEventHandler(window, 'unload', getInstanceDelegate(this, "dispose"));
|
||||
}
|
||||
|
||||
SplitScreen.prototype.resize = function(e) {
|
||||
var scrollRegionHeight = document.body.clientHeight - this.nonScrollingRegion.offsetHeight;
|
||||
if (scrollRegionHeight < 0) {
|
||||
scrollRegionHeight = 0;
|
||||
}
|
||||
this.scrollingRegion.style.height = scrollRegionHeight;
|
||||
this.scrollingRegion.style.width = document.body.clientWidth;
|
||||
}
|
||||
|
||||
|
||||
SplitScreen.prototype.dispose = function(e) {
|
||||
try {
|
||||
this.nonScrollingRegion = null;
|
||||
this.scrollingRegion = null;
|
||||
//remove events so if external document is open in window, it will not be affected
|
||||
unregisterEventHandler(window, 'load', init);
|
||||
unregisterEventHandler(window, 'resize', getInstanceDelegate(this, "resize"));
|
||||
unregisterEventHandler(window, 'unload', getInstanceDelegate(this, "dispose"));
|
||||
|
||||
// This is not neccessary. In IE (6 at least) the "scrolling" attribute from frameset's HTML
|
||||
// is always used when new page is loaded in the frame.
|
||||
document.body.style.overflow = "auto";
|
||||
document.body.style.height = "100%";
|
||||
document.body.scroll="yes";
|
||||
window.frameElement.scrolling = "auto";
|
||||
} catch (ex) {}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Event handler attachment
|
||||
function registerEventHandler (element, event, handler) {
|
||||
if (element.attachEvent) {
|
||||
element.attachEvent('on' + event, handler);
|
||||
} else if (element.addEventListener) {
|
||||
element.addEventListener(event, handler, false);
|
||||
} else {
|
||||
element[event] = handler;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Event handler detachment
|
||||
function unregisterEventHandler(element, event, handler) {
|
||||
if (typeof element.removeEventListener == "function")
|
||||
element.removeEventListener(event, handler, false);
|
||||
else
|
||||
element.detachEvent("on" + event, handler);
|
||||
}
|
||||
|
||||
|
||||
function getInstanceDelegate (obj, methodName) {
|
||||
return( function(e) {
|
||||
e = e || window.event;
|
||||
return obj[methodName](e);
|
||||
} );
|
||||
}
|
||||
|
||||
|
||||
//element manipulation, functions with limited functionality defined not to throw errors on the page
|
||||
//window.onload=init;
|
||||
registerEventHandler(window, 'load', init);
|
||||
|
||||
|
||||
|
||||
function init()
|
||||
{
|
||||
try {
|
||||
fixImages();
|
||||
fixMoniker();
|
||||
fixMsdnLinks();
|
||||
loadLangFilter();
|
||||
showSelectedLanguages();
|
||||
|
||||
var langDropDown = document.getElementById("devlangsDropdown");
|
||||
var langMenu = document.getElementById("devlangsMenu");
|
||||
registerEventHandler(langDropDown,'mouseover', showLangFilter);
|
||||
registerEventHandler(langDropDown,'mouseout', hideLangFilter);
|
||||
registerEventHandler(langMenu,'mouseover', showLangFilter);
|
||||
registerEventHandler(langMenu,'mouseout', hideLangFilter);
|
||||
}
|
||||
catch (e) {}
|
||||
try {
|
||||
expandAll(document.getElementById("toggleAllImage"));
|
||||
} catch (e2) {}
|
||||
// split screen
|
||||
try {
|
||||
// hide frame scrollbar in HTML output (not in CHM or Help2)
|
||||
if (window.name=="vbdocright") {
|
||||
//it's HTML output in frame
|
||||
document.body.scroll="no";
|
||||
window.frameElement.scrolling = "no";
|
||||
}
|
||||
|
||||
var screen = new SplitScreen('header', 'mainSection');
|
||||
}
|
||||
catch (e3) {}
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
* END PAGE INIT
|
||||
***********************************************/
|
||||
|
||||
|
||||
|
||||
/***********************************************
|
||||
* LANGUAGE FILTER
|
||||
***********************************************/
|
||||
|
||||
function loadLangFilter() {
|
||||
var inputTags = document.getElementsByTagName("input");
|
||||
var i;
|
||||
for (i=0; i<inputTags.length; i++) {
|
||||
switch (inputTags[i].getAttribute("id")) {
|
||||
case "VisualBasicCheckbox":
|
||||
inputTags[i].checked = Boolean(loadSetting("showVB", true));
|
||||
break;
|
||||
case "CSharpCheckbox":
|
||||
inputTags[i].checked = Boolean(loadSetting("showCsharp", true));
|
||||
break;
|
||||
case "ManagedCPlusPlusCheckbox":
|
||||
inputTags[i].checked = Boolean(loadSetting("showCpp", true));
|
||||
break;
|
||||
case "JScriptCheckbox":
|
||||
inputTags[i].checked = Boolean(loadSetting("showJscript", true));
|
||||
break;
|
||||
case "JSharpCheckbox":
|
||||
inputTags[i].checked = Boolean(loadSetting("showJsharp", true));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function saveLangFilter() {
|
||||
var inputTags = document.getElementsByTagName("input");
|
||||
var i;
|
||||
for (i=0; i<inputTags.length; i++) {
|
||||
switch (inputTags[i].getAttribute("id")) {
|
||||
case "VisualBasicCheckbox":
|
||||
saveSetting("showVB", inputTags[i].checked);
|
||||
break;
|
||||
case "CSharpCheckbox":
|
||||
saveSetting("showCsharp", inputTags[i].checked);
|
||||
break;
|
||||
case "ManagedCPlusPlusCheckbox":
|
||||
saveSetting("showCpp", inputTags[i].checked);
|
||||
break;
|
||||
case "JScriptCheckbox":
|
||||
saveSetting("showJscript", inputTags[i].checked);
|
||||
break;
|
||||
case "JSharpCheckbox":
|
||||
saveSetting("showJsharp", inputTags[i].checked);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function showLangFilter() {
|
||||
var langDropDown = document.getElementById("devlangsDropdown");
|
||||
var langMenu = document.getElementById("devlangsMenu");
|
||||
|
||||
var pos = getElementPosition(langDropDown);
|
||||
langMenu.style.left = pos[0];
|
||||
langMenu.style.top = pos[1] + langDropDown.offsetHeight - 1;
|
||||
langMenu.style.visibility = "visible";
|
||||
}
|
||||
|
||||
function hideLangFilter() {
|
||||
var langMenu = document.getElementById("devlangsMenu");
|
||||
langMenu.style.visibility = "hidden";
|
||||
}
|
||||
|
||||
|
||||
function getElementPosition (element) {
|
||||
var eleft = 0;
|
||||
var etop = 0;
|
||||
|
||||
do {
|
||||
eleft += element.offsetLeft;
|
||||
etop += element.offsetTop;
|
||||
element = element.offsetParent;
|
||||
} while (element);
|
||||
|
||||
return [eleft, etop];
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Hides/shows the language sections according to language filter
|
||||
*/
|
||||
function SetLanguageEx(key) {
|
||||
showSelectedLanguages();
|
||||
saveLangFilter();
|
||||
|
||||
// call also original method from MSDN if available
|
||||
try {
|
||||
SetLanguage(key);
|
||||
} catch (ex) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Hides/shows the language sections according to language filter
|
||||
*/
|
||||
function showSelectedLanguages() {
|
||||
try {
|
||||
var showVB = true;
|
||||
var showCsharp = true;
|
||||
var showCpp = true;
|
||||
var showJscript = true;
|
||||
var showJsharp = true;
|
||||
var showXaml = true;
|
||||
var selectedCount = 0;
|
||||
var allCount = 0;
|
||||
|
||||
var inputTags = document.getElementsByTagName("input");
|
||||
var i;
|
||||
for (i=0; i<inputTags.length; i++) {
|
||||
switch (inputTags[i].getAttribute("id")) {
|
||||
case "VisualBasicCheckbox":
|
||||
allCount++;
|
||||
if (!inputTags[i].checked) {
|
||||
showVB = false;
|
||||
} else {
|
||||
selectedCount++;
|
||||
}
|
||||
showHideTag(document.getElementById("devlangsMenuVisualBasicLabel"), showVB);
|
||||
break;
|
||||
case "CSharpCheckbox":
|
||||
allCount++;
|
||||
if (!inputTags[i].checked) {
|
||||
showCsharp = false;
|
||||
} else {
|
||||
selectedCount++;
|
||||
}
|
||||
showHideTag(document.getElementById("devlangsMenuCSharpLabel"), showCsharp);
|
||||
break;
|
||||
case "ManagedCPlusPlusCheckbox":
|
||||
allCount++;
|
||||
if (!inputTags[i].checked) {
|
||||
showCpp = false;
|
||||
} else {
|
||||
selectedCount++;
|
||||
}
|
||||
showHideTag(document.getElementById("devlangsMenuManagedCPlusPlusLabel"), showCpp);
|
||||
break;
|
||||
case "JScriptCheckbox":
|
||||
allCount++;
|
||||
if (!inputTags[i].checked) {
|
||||
showJscript = false;
|
||||
} else {
|
||||
selectedCount++;
|
||||
}
|
||||
showHideTag(document.getElementById("devlangsMenuJScriptLabel"), showJscript);
|
||||
break;
|
||||
case "JSharpCheckbox":
|
||||
allCount++;
|
||||
if (!inputTags[i].checked) {
|
||||
showJsharp = false;
|
||||
} else {
|
||||
selectedCount++;
|
||||
}
|
||||
showHideTag(document.getElementById("devlangsMenuJSharpLabel"), showJsharp);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// update filter text
|
||||
showHideTag(document.getElementById("devlangsMenuAllLabel"), false);
|
||||
showHideTag(document.getElementById("devlangsMenuMultipleLabel"), false);
|
||||
if (selectedCount > 1) {
|
||||
showHideTag(document.getElementById("devlangsMenuVisualBasicLabel"), false);
|
||||
showHideTag(document.getElementById("devlangsMenuCSharpLabel"), false);
|
||||
showHideTag(document.getElementById("devlangsMenuManagedCPlusPlusLabel"), false);
|
||||
showHideTag(document.getElementById("devlangsMenuJSharpLabel"), false);
|
||||
showHideTag(document.getElementById("devlangsMenuJScriptLabel"), false);
|
||||
|
||||
if (selectedCount == allCount) {
|
||||
showHideTag(document.getElementById("devlangsMenuAllLabel"), true);
|
||||
} else {
|
||||
showHideTag(document.getElementById("devlangsMenuMultipleLabel"), true);
|
||||
}
|
||||
}
|
||||
|
||||
var sTags = document.getElementsByTagName("span");
|
||||
for (i=0; i<sTags.length; i++) {
|
||||
switch (sTags[i].getAttribute("codeLanguage")) {
|
||||
case "VisualBasicDeclaration":
|
||||
case "VisualBasic":
|
||||
showHideTag(sTags[i], showVB);
|
||||
break;
|
||||
case "CSharp":
|
||||
showHideTag(sTags[i], showCsharp);
|
||||
break;
|
||||
case "ManagedCPlusPlus":
|
||||
showHideTag(sTags[i], showCpp);
|
||||
break;
|
||||
case "JScript":
|
||||
showHideTag(sTags[i], showJscript);
|
||||
break;
|
||||
case "JSharp":
|
||||
showHideTag(sTags[i], showJsharp);
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (ex) {}
|
||||
}
|
||||
|
||||
|
||||
function showHideTag(tag, visible) {
|
||||
try {
|
||||
if (visible) {
|
||||
tag.style.display = "";
|
||||
} else {
|
||||
tag.style.display = "none";
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***********************************************
|
||||
* END LANGUAGE FILTER
|
||||
***********************************************/
|
||||
|
||||
|
||||
|
||||
|
||||
/***********************************************
|
||||
* COPY CODE
|
||||
***********************************************/
|
||||
|
||||
function ChangeCopyCodeIcon(spanItem) {
|
||||
try {
|
||||
var imageItem = getCopyCodeImageItem(spanItem);
|
||||
if (imageItem.src == document.getElementById("copyImage").src) {
|
||||
imageItem.src = document.getElementById("copyHoverImage").src;
|
||||
} else {
|
||||
imageItem.src = document.getElementById("copyImage").src;
|
||||
}
|
||||
} catch (ex) {}
|
||||
}
|
||||
|
||||
|
||||
function getCopyCodeImageItem(spanItem) {
|
||||
var kids = spanItem.childNodes;
|
||||
for (var i = 0; i < kids.length; i++) {
|
||||
if (kids[i].className == "copyCodeImage") {
|
||||
return kids[i];
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
function CopyCode(item) {
|
||||
try {
|
||||
// find table element
|
||||
var table = item.parentNode;
|
||||
while (table && (table.nodeName.toLowerCase() != "table")) {
|
||||
table = table.parentNode;
|
||||
}
|
||||
// get last row
|
||||
var kids = table.childNodes;
|
||||
|
||||
for (var i = 0; i < kids.length; i++) {
|
||||
if (kids[i].nodeName.toLowerCase() == "tbody") {
|
||||
// go into tbody if any
|
||||
kids = kids[i].childNodes;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
var tr = null;
|
||||
for (i = 0; i < kids.length; i++) {
|
||||
if (kids[i].nodeName.toLowerCase() == "tr") {
|
||||
tr = kids[i];
|
||||
}
|
||||
}
|
||||
|
||||
// get td and text
|
||||
if (tr != null) {
|
||||
var kids = tr.childNodes;
|
||||
var td = null
|
||||
|
||||
for (i = 0; i < kids.length; i++) {
|
||||
if (kids[i].nodeName.toLowerCase() == "td") {
|
||||
td = kids[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// get code and remove <br>
|
||||
var code;
|
||||
code = td.innerHTML;
|
||||
code = code.replace(/<br>/gi, "\n");
|
||||
code = code.replace(/<\/td>/gi, "</td>\n"); // syntax highlighter removes \n chars and puts each line in separate <td>
|
||||
// get plain text
|
||||
var tmpDiv = document.createElement('div');
|
||||
tmpDiv.innerHTML = code;
|
||||
|
||||
if (typeof(tmpDiv.textContent) != "undefined") {
|
||||
// standards compliant
|
||||
code = tmpDiv.textContent;
|
||||
}
|
||||
else if (typeof(tmpDiv.innerText) != "undefined") {
|
||||
// IE only
|
||||
code = tmpDiv.innerText;
|
||||
}
|
||||
|
||||
try {
|
||||
// works in IE only
|
||||
window.clipboardData.setData("Text", code);
|
||||
} catch (ex) {
|
||||
popCodeWindow(code);
|
||||
}
|
||||
}
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
|
||||
function CopyCode_CheckKey(spanItem)
|
||||
{
|
||||
if(window.event.keyCode == 13)
|
||||
CopyCode(spanItem);
|
||||
}
|
||||
|
||||
|
||||
function popCodeWindow(code) {
|
||||
try {
|
||||
var codeWindow = window.open ("",
|
||||
"Copy the selected code",
|
||||
"location=0,status=0,toolbar=0,menubar =0,directories=0,resizable=1,scrollbars=1,height=400, width=400");
|
||||
codeWindow.document.writeln("<html>");
|
||||
codeWindow.document.writeln("<head>");
|
||||
codeWindow.document.writeln("<title>Copy the selected code</title>");
|
||||
codeWindow.document.writeln("</head>");
|
||||
codeWindow.document.writeln("<body bgcolor=\"#FFFFFF\"");
|
||||
codeWindow.document.writeln('<pre id="code_text">');
|
||||
codeWindow.document.writeln(escapeHTML(code));
|
||||
codeWindow.document.writeln("</pre>");
|
||||
codeWindow.document.writeln("<scr" + "ipt>");
|
||||
// the selectNode function below, converted by http://www.howtocreate.co.uk/tutorials/jsexamples/syntax/prepareInline.html
|
||||
var ftn = "function selectNode (node) {\n\tvar selection, range, doc, win;\n\tif ((doc = node.ownerDocument) && \n\t\t(win = doc.defaultView) && \n\t\ttypeof win.getSelection != \'undefined\' && \n\t\ttypeof doc.createRange != \'undefined\' && \n\t\t(selection = window.getSelection()) && \n\t\ttypeof selection.removeAllRanges != \'undefined\') {\n\t\t\t\n\t\trange = doc.createRange();\n\t\trange.selectNode(node);\n selection.removeAllRanges();\n selection.addRange(range);\n\t} else if (document.body && \n\t\t\ttypeof document.body.createTextRange != \'undefined\' && \n\t\t\t(range = document.body.createTextRange())) {\n \n\t\t \trange.moveToElementText(node);\n \trange.select();\n }\n} ";
|
||||
codeWindow.document.writeln(ftn);
|
||||
codeWindow.document.writeln("selectNode(document.getElementById('code_text'));</scr" + "ipt>");
|
||||
codeWindow.document.writeln("</body>");
|
||||
codeWindow.document.writeln("</html>");
|
||||
codeWindow.document.close();
|
||||
} catch (ex) {}
|
||||
}
|
||||
|
||||
|
||||
function escapeHTML (str) {
|
||||
return str.replace(/&/g,"&").
|
||||
replace(/>/g,">").
|
||||
replace(/</g,"<").
|
||||
replace(/"/g,""");
|
||||
}
|
||||
|
||||
function selectNode (node) {
|
||||
var selection, range, doc, win;
|
||||
if ((doc = node.ownerDocument) &&
|
||||
(win = doc.defaultView) &&
|
||||
typeof win.getSelection != 'undefined' &&
|
||||
typeof doc.createRange != 'undefined' &&
|
||||
(selection = window.getSelection()) &&
|
||||
typeof selection.removeAllRanges != 'undefined') {
|
||||
|
||||
range = doc.createRange();
|
||||
range.selectNode(node);
|
||||
selection.removeAllRanges();
|
||||
selection.addRange(range);
|
||||
} else if (document.body &&
|
||||
typeof document.body.createTextRange != 'undefined' &&
|
||||
(range = document.body.createTextRange())) {
|
||||
|
||||
range.moveToElementText(node);
|
||||
range.select();
|
||||
}
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
* END COPY CODE
|
||||
***********************************************/
|
||||
|
||||
|
||||
/***********************************************
|
||||
* PERSISTENCE
|
||||
***********************************************/
|
||||
|
||||
/**
|
||||
* Sets the cookie value.
|
||||
* name - name of the cookie
|
||||
* value - value of the cookie
|
||||
* [expires] - expiration date of the cookie (defaults to end of current session)
|
||||
* [path] - path for which the cookie is valid (defaults to path of calling document)
|
||||
* [domain] - domain for which the cookie is valid (defaults to domain of calling document)
|
||||
* [secure] - Boolean value indicating if the cookie transmission requires a secure transmission
|
||||
* an argument defaults when it is assigned null as a placeholder
|
||||
* a null placeholder is not required for trailing omitted arguments
|
||||
*/
|
||||
function setCookie(name, value, expires, path, domain, secure) {
|
||||
var curCookie = name + "=" + escape(value) +
|
||||
((expires) ? "; expires=" + expires.toGMTString() : "") +
|
||||
((path) ? "; path=" + path : "") +
|
||||
((domain) ? "; domain=" + domain : "") +
|
||||
((secure) ? "; secure" : "");
|
||||
document.cookie = curCookie;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the cookie value.
|
||||
* name - name of the desired cookie
|
||||
* return string containing value of specified cookie or null if cookie does not exist
|
||||
*/
|
||||
function getCookie(name) {
|
||||
var dc = document.cookie;
|
||||
var prefix = name + "=";
|
||||
var begin = dc.indexOf("; " + prefix);
|
||||
if (begin == -1) {
|
||||
begin = dc.indexOf(prefix);
|
||||
if (begin != 0) return null;
|
||||
} else
|
||||
begin += 2;
|
||||
var end = document.cookie.indexOf(";", begin);
|
||||
if (end == -1)
|
||||
end = dc.length;
|
||||
return unescape(dc.substring(begin + prefix.length, end));
|
||||
}
|
||||
|
||||
|
||||
// name - name of the cookie
|
||||
// [path] - path of the cookie (must be same as path used to create cookie)
|
||||
// [domain] - domain of the cookie (must be same as domain used to create cookie)
|
||||
// * path and domain default if assigned null or omitted if no explicit argument proceeds
|
||||
function deleteCookie(name, path, domain) {
|
||||
if (getCookie(name)) {
|
||||
document.cookie = name + "=" +
|
||||
((path) ? "; path=" + path : "") +
|
||||
((domain) ? "; domain=" + domain : "") +
|
||||
"; expires=Thu, 01-Jan-70 00:00:01 GMT";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// fixMoniker is needed to implement userData in a CHM
|
||||
//
|
||||
function fixMoniker() {
|
||||
var curURL = document.location + ".";
|
||||
var pos = curURL.indexOf("mk:@MSITStore");
|
||||
if( pos == 0 ) {
|
||||
curURL = "ms-its:" + curURL.substring(14,curURL.length-1);
|
||||
document.location.replace(curURL);
|
||||
return false;
|
||||
}
|
||||
else { return true; }
|
||||
}
|
||||
|
||||
|
||||
|
||||
function saveSetting(name, value) {
|
||||
// create an instance of the Date object
|
||||
var now = new Date();
|
||||
// cookie expires in one year (actually, 365 days)
|
||||
// 1000 milliseconds in a second
|
||||
now.setTime(now.getTime() + 365 * 24 * 60 * 60 * 1000);
|
||||
// convert the value to correct String
|
||||
if (value.constructor==Boolean) {
|
||||
if (!value) {
|
||||
value = "";
|
||||
}
|
||||
}
|
||||
// IE returns wrong document.cookie if the value is empty string
|
||||
if (value == "") {
|
||||
value = "string:empty"
|
||||
}
|
||||
|
||||
// we cannot use cookies in CHM, so try to use behaviors if possible
|
||||
var headerDiv; // we can use any particular DIV or other element
|
||||
headerDiv = document.getElementById("header");
|
||||
if (headerDiv.addBehavior) {
|
||||
headerDiv.style.behavior = "url('#default#userData')";
|
||||
headerDiv.expires = now.toUTCString();
|
||||
headerDiv.setAttribute(name, value);
|
||||
// Save the persistence data as "helpSettings".
|
||||
headerDiv.save("helpSettings");
|
||||
} else {
|
||||
// set the new cookie
|
||||
setCookie(name, value, now/*, "/"*/);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function loadSetting(name, defaultValue) {
|
||||
var res;
|
||||
|
||||
// we cannot use cookies in CHM, so try to use behaviors if possible
|
||||
var headerDiv; // we can use any particular DIV or other element
|
||||
headerDiv = document.getElementById("header");
|
||||
if (headerDiv.addBehavior) {
|
||||
headerDiv.style.behavior = "url('#default#userData')";
|
||||
headerDiv.load("helpSettings");
|
||||
res = headerDiv.getAttribute(name);
|
||||
} else {
|
||||
// get the cookie
|
||||
res = getCookie(name);
|
||||
}
|
||||
|
||||
if (res == "string:empty") {
|
||||
res = "";
|
||||
}
|
||||
if (res == null) {
|
||||
res = defaultValue;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
/***********************************************
|
||||
* END PERSISTENCE
|
||||
***********************************************/
|
||||
|
||||
|
||||
|
||||
/***********************************************
|
||||
* STUFF DEFINED IN MSDN AND NEEDED BY PAGES
|
||||
***********************************************/
|
||||
|
||||
function OpenSection(imageItem)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
function loadAll(){
|
||||
}
|
||||
|
||||
function saveAll(){
|
||||
}
|
||||
|
||||
function OnLoadImage(event) {
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
* END STUFF DEFINED IN MSDN AND NEEDED BY PAGES
|
||||
***********************************************/
|
||||
|
||||
|
||||
|
||||
/***********************************************
|
||||
* EXPAND/COLLAPSE
|
||||
***********************************************/
|
||||
|
||||
/**
|
||||
* Fixes the src attribute of img tags because some contain
|
||||
* escaped and some unescaped URIs. This causes problems if
|
||||
* external script compares them (e.g. in MSDN v9.0).
|
||||
*/
|
||||
function fixImages() {
|
||||
var images = document.getElementsByTagName("img");
|
||||
var i;
|
||||
for (i = 0; i < images.length; i++) {
|
||||
images[i].src = unescape(images[i].src);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function ExpandCollapse(imageItem) {
|
||||
if (unescape(imageItem.src) == unescape(document.getElementById("expandImage").src)) {
|
||||
expand(imageItem);
|
||||
}
|
||||
else {
|
||||
collapse(imageItem);
|
||||
}
|
||||
}
|
||||
|
||||
// helper
|
||||
function expand(imageItem) {
|
||||
imageItem.src = document.getElementById("collapseImage").src;
|
||||
imageItem.alt = document.getElementById("collapseImage").alt;
|
||||
var section = imageItem.parentNode.parentNode;
|
||||
do {
|
||||
section = section.nextSibling;
|
||||
} while (section && !section.tagName || section.tagName.toLowerCase() != "div");
|
||||
if (section != null) {
|
||||
section.style.display = "";
|
||||
}
|
||||
}
|
||||
|
||||
// helper
|
||||
function collapse(imageItem) {
|
||||
imageItem.setAttribute("src", document.getElementById("expandImage").getAttribute("src"));
|
||||
imageItem.alt = document.getElementById("expandImage").alt;
|
||||
var section = imageItem.parentNode.parentNode;
|
||||
do {
|
||||
section = section.nextSibling;
|
||||
} while (section && !section.tagName || section.tagName.toLowerCase() != "div");
|
||||
if (section != null) {
|
||||
section.style.display = "none";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function ExpandCollapse_CheckKey(imageItem) {
|
||||
if(window.event.keyCode == 13)
|
||||
ExpandCollapse(imageItem);
|
||||
}
|
||||
|
||||
function OpenSection(imageItem)
|
||||
{
|
||||
}
|
||||
|
||||
function ExpandCollapseAll(imageItem) {
|
||||
if (unescape(imageItem.src) == unescape(document.getElementById("expandAllImage").src)) {
|
||||
expandAll(imageItem)
|
||||
}
|
||||
else {
|
||||
collapseAll(imageItem);
|
||||
}
|
||||
}
|
||||
|
||||
//helper
|
||||
function expandAll(imageItem) {
|
||||
var switches = document.getElementsByName("toggleSwitch");
|
||||
|
||||
imageItem.src = document.getElementById("collapseAllImage").src;
|
||||
imageItem.alt = document.getElementById("collapseAllImage").alt;
|
||||
document.getElementById("collapseAllLabel").style.display = "inline";
|
||||
document.getElementById("expandAllLabel").style.display = "none";
|
||||
|
||||
for (var i = 0; i < switches.length; ++i) {
|
||||
expand(switches[i]);
|
||||
}
|
||||
}
|
||||
|
||||
//helper
|
||||
function collapseAll(imageItem) {
|
||||
var switches = document.getElementsByName("toggleSwitch");
|
||||
|
||||
imageItem.src = document.getElementById("expandAllImage").src;
|
||||
imageItem.alt = document.getElementById("expandAllImage").alt;
|
||||
document.getElementById("collapseAllLabel").style.display = "none";
|
||||
document.getElementById("expandAllLabel").style.display = "inline";
|
||||
|
||||
for (var i = 0; i < switches.length; ++i) {
|
||||
collapse(switches[i]);
|
||||
}
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
* EXPAND/COLLAPSE
|
||||
***********************************************/
|
||||
|
||||
|
||||
/***********************************************
|
||||
* MSDN LINKS FIX
|
||||
***********************************************/
|
||||
|
||||
/**
|
||||
* Fixes all links that should point to MSDN. This
|
||||
* applies to CHM documentation.
|
||||
*/
|
||||
function fixMsdnLinks()
|
||||
{
|
||||
msdnVersion = getHighestMsdnVersion ();
|
||||
//get all MSDN links
|
||||
var msdnLinks = new Array();
|
||||
var allLinks = document.getElementsByTagName("a");
|
||||
var i;
|
||||
for (i=0; i<allLinks.length; i++) {
|
||||
if (allLinks[i].getAttribute("href").toLowerCase().substr(0,8) == "ms-help:" ) {
|
||||
msdnLinks[msdnLinks.length] = allLinks[i];
|
||||
fixMsdnLink(allLinks[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fixes one link that should point to MSDN.
|
||||
*/
|
||||
function fixMsdnLink(linkElement) {
|
||||
var href = linkElement.getAttribute("href");
|
||||
if (href.toLowerCase().substr(0,8) == "ms-help:") {
|
||||
var keyword = href.replace(/(.*keyword=\")([^\"]+)(\".*)/g, "$2");
|
||||
//fix original MSDN link
|
||||
var link;
|
||||
switch (msdnVersion) {
|
||||
case "9.0":
|
||||
link = 'ms-help://MS.VSCC.v90/dv_commoner/local/redirect.htm?keyword="';
|
||||
link = link + escapeKeyword(keyword);
|
||||
link = link + '";?index="!DefaultAssociativeIndex"';
|
||||
break;
|
||||
case "8.0":
|
||||
link = 'ms-help://MS.VSCC.v80/dv_commoner/local/redirect.htm?keyword="';
|
||||
link = link + escapeKeyword(keyword);
|
||||
link = link + '";?index="!DefaultAssociativeIndex"';
|
||||
break;
|
||||
default:
|
||||
//web
|
||||
link = convertMsdnKeywordToMsdn2Link(keyword);
|
||||
break
|
||||
}
|
||||
linkElement.setAttribute("href", link);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fixes MSDN keyword for use with redirect.htm in CHM format.
|
||||
*/
|
||||
function escapeKeyword(keyword) {
|
||||
/*
|
||||
Keyword can contain "," characters as parameter delimiter.
|
||||
Keyword resolving engine expects TAB where keyword syntax uses ",".
|
||||
It also expects NEWLINE where keyword syntax uses ";". While HxLink.htc
|
||||
used with <MSHelp:link> in HxS format takes care of it, redirect.htm
|
||||
used in CHM format doesn't. So we must do it.
|
||||
*/
|
||||
var res = keyword;
|
||||
res = res.replace(/,/g, "\t");
|
||||
res = res.replace(/;/g, "\n");
|
||||
res = escape(res);
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Converts MSDN2 keyword (cref) to MSDN2 web link
|
||||
*/
|
||||
function convertMsdnKeywordToMsdn2Link(keyword) {
|
||||
var res = keyword;
|
||||
|
||||
// remove prefix
|
||||
res = res.replace(/^.+:(.*)/g, "$1");
|
||||
// remove parameters
|
||||
res = res.replace(/(.*)\(.*/g, "$1");
|
||||
|
||||
res = res.toLowerCase();
|
||||
res = "http://msdn.microsoft.com/en-us/library/" + res + ".aspx";
|
||||
return res;
|
||||
}
|
||||
|
||||
|
||||
// Highest MSDN version installed.
|
||||
var msdnVersion;
|
||||
|
||||
|
||||
/**
|
||||
* Returns highest MSDN version installed.
|
||||
* @return The MSDN version found in format 8.0 or 9.0 or web. If none is found,
|
||||
* the "web" is returned.
|
||||
*/
|
||||
function getHighestMsdnVersion () {
|
||||
var MSDN_9_CSS = "ms-help://MS.VSCC.v90/dv_vscccommon/styles/presentation.css";
|
||||
var MSDN_8_CSS = "ms-help://MS.VSCC.v80/dv_vscccommon/local/Classic.css";
|
||||
|
||||
if (cssFileExists(MSDN_9_CSS)) {
|
||||
return "9.0";
|
||||
}
|
||||
if (cssFileExists(MSDN_8_CSS)) {
|
||||
return "8.0";
|
||||
}
|
||||
|
||||
return "web";
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Tests whether specified CSS url exists.
|
||||
*/
|
||||
function cssFileExists(cssUrl) {
|
||||
var sheet = null
|
||||
var temporary = false
|
||||
res = false;
|
||||
|
||||
// first detect whether this CSS is already used in this document (it should be)
|
||||
try {
|
||||
var i;
|
||||
for (i=0; i<document.styleSheets.length; i++) {
|
||||
if (document.styleSheets[i].href.toLowerCase() == cssUrl.toLowerCase()) {
|
||||
sheet = document.styleSheets[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
} catch (ex) {
|
||||
}
|
||||
|
||||
// now check, if the sheet really contains any rules - the CSS file exists
|
||||
try {
|
||||
if (sheet.rules) {
|
||||
// IE
|
||||
if (sheet.rules.length > 0) {
|
||||
res = true
|
||||
}
|
||||
} else if (sheet.cssRules) {
|
||||
// FF
|
||||
if (sheet.cssRules.length > 0) {
|
||||
res = true
|
||||
}
|
||||
}
|
||||
} catch (ex) {
|
||||
}
|
||||
|
||||
return res;
|
||||
}
|
||||
|
||||
/***********************************************
|
||||
* END MSDN LINKS FIX
|
||||
***********************************************/
|
||||
BIN
Plugin_Printersettings/VSdoc/msdn2/namespace.gif
Normal file
|
After Width: | Height: | Size: 160 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privclass.gif
Normal file
|
After Width: | Height: | Size: 621 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privdelicate.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Plugin_Printersettings/VSdoc/msdn2/privenum.gif
Normal file
|
After Width: | Height: | Size: 597 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privevent.gif
Normal file
|
After Width: | Height: | Size: 580 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privfield.gif
Normal file
|
After Width: | Height: | Size: 574 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privinterface.gif
Normal file
|
After Width: | Height: | Size: 585 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privmethod.gif
Normal file
|
After Width: | Height: | Size: 603 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/privproperty.gif
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
Plugin_Printersettings/VSdoc/msdn2/privstructure.gif
Normal file
|
After Width: | Height: | Size: 630 B |
BIN
Plugin_Printersettings/VSdoc/msdn2/protclass.gif
Normal file
|
After Width: | Height: | Size: 600 B |