diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..551ea80 --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +################################################################################ +# This .gitignore file was automatically created by Microsoft(R) Visual Studio. +################################################################################ + +/obj/Debug +/bin +/obj +/.vs/Latex4CorelDRAW +/.vs diff --git a/DockerUI.xaml.cs b/DockerUI.xaml.cs index 30e16af..ad5dda2 100644 --- a/DockerUI.xaml.cs +++ b/DockerUI.xaml.cs @@ -13,6 +13,7 @@ using System.Windows.Navigation; using System.Windows.Shapes; using corel = Corel.Interop.VGCore; +using System.Reflection; namespace Latex4CorelDraw { @@ -35,7 +36,7 @@ public DockerUI(corel.Application app) this.corelApp = app; m_current = this; InitializeComponent(); - + AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve; AddinUtilities.initFonts(); AddinUtilities.copyLatexTemplate("LatexTemplate.txt", Properties.Resources.LatexTemplate); @@ -103,5 +104,47 @@ private void btn_addEqnarray_Click(object sender, RoutedEventArgs e) string template = "\\begin{eqnarray*}\r\n\t\r\n\\end{eqnarray*}\r\n"; createLatexObject(template, "Create latex equation array"); } + private Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args) + { + if (args.RequestingAssembly != null) + return args.RequestingAssembly; + Assembly asm = null; + string name = args.Name; + if (name.Contains(".resources")) + name = name.Replace(".resources", ""); + asm = AppDomain.CurrentDomain.GetAssemblies().FirstOrDefault(r => string.Equals(r.FullName.Split(',')[0], name.Split(',')[0])); + if (args.Name.Contains(".resources")) + asm = LoadResourceAssembly(asm); + if (asm == null) + asm = Assembly.LoadFrom(Name); + return asm; + } + private Assembly LoadResourceAssembly(Assembly executingAsm) + { + if (executingAsm == null) + return executingAsm; + string[] resourcesName = executingAsm.GetManifestResourceNames(); + string resourceName = string.Empty; + for (int i = 0; i < resourcesName.Length; i++) + { + if (!resourcesName[i].Contains(".g.")) + { + resourceName = resourcesName[i]; + break; + } + } + if (string.IsNullOrEmpty(resourceName)) + return executingAsm; + using (var stream = executingAsm.GetManifestResourceStream(resourceName)) + { + if (stream != null) + { + byte[] assemblyData = new byte[stream.Length]; + stream.Read(assemblyData, 0, assemblyData.Length); + return Assembly.Load(assemblyData); + } + } + return executingAsm; + } } } diff --git a/Latex4CorelDraw.csproj b/Latex4CorelDraw.csproj index c8085f0..3d74081 100644 --- a/Latex4CorelDraw.csproj +++ b/Latex4CorelDraw.csproj @@ -1,6 +1,7 @@  + $(SolutionDir)bonus630.CDRCommon.targets Debug AnyCPU 8.0.30703 @@ -13,6 +14,7 @@ 512 + true full @@ -23,12 +25,165 @@ prompt 4 - - pdbonly + + true + full + false + bin\Debug\ + DEBUG;TRACE;X7 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X7 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X8 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X8 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X9 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X9 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X10 + prompt + 4 + + + none true - bin\Release\ - bin\Release\$(SolutionName) - TRACE + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X10 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X11 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X11 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X12 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X12 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X13 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X13 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X14 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X14 + prompt + 4 + + + true + full + false + bin\Debug\ + DEBUG;TRACE;X15 + prompt + 4 + + + none + true + bin\Release\$(CurrentCorelAbs)\ + bin\Release\$(CurrentCorelAbs)\$(SolutionName) + TRACE;X15 prompt 4 @@ -36,6 +191,7 @@ False ScintillaNET\ScintillaNET.dll + False @@ -50,7 +206,9 @@ - + + + Corel.Interop.VGCore False @@ -77,13 +235,9 @@ Code + DockerUI.xaml - @@ -131,6 +285,21 @@ + + Always + + + Always + + + Always + + + Always + + + Always + PreserveNewest Designer @@ -140,29 +309,8 @@ - - - - if not exist "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" md "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" - copy "$(TargetPath)" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)CorelDrw.addon" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)AppUI.xslt" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)UserUI.xslt" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)\ScintillaNET\SciLexer.dll" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)\ScintillaNET\SciLexer64.dll" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)\ScintillaNET\ScintillaNET.dll" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - copy "$(ProjectDir)\ScintillaNET\ScintillaNET.xml" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)" /y - if $(ConfigurationName) == Debug copy "$(TargetDir)\$(SolutionName).pdb" "c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\addons\$(SolutionName)\$(SolutionName).pdb" - - Program - c:\program files\corel\CorelDRAW Graphics Suite 2021\programs64\CorelDRW.exe + $(CurrentCorelPath)CorelDRW.exe \ No newline at end of file diff --git a/Latex4CorelDraw.csproj.user b/Latex4CorelDraw.csproj.user new file mode 100644 index 0000000..9b86104 --- /dev/null +++ b/Latex4CorelDraw.csproj.user @@ -0,0 +1,6 @@ + + + + ShowAllFiles + + \ No newline at end of file diff --git a/Latex4CorelDraw.sln b/Latex4CorelDraw.sln index 09ec69d..04573d6 100644 --- a/Latex4CorelDraw.sln +++ b/Latex4CorelDraw.sln @@ -1,22 +1,79 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34723.18 MinimumVisualStudioVersion = 10.0.40219.1 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Latex4CorelDraw", "Latex4CorelDraw.csproj", "{7325577F-8891-476D-AA82-A9C82D5C708C}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution + 2017 Debug|Any CPU = 2017 Debug|Any CPU + 2017 Release|Any CPU = 2017 Release|Any CPU + 2018 Debug|Any CPU = 2018 Debug|Any CPU + 2018 Release|Any CPU = 2018 Release|Any CPU + 2019 Debug|Any CPU = 2019 Debug|Any CPU + 2019 Release|Any CPU = 2019 Release|Any CPU + 2020 Debug|Any CPU = 2020 Debug|Any CPU + 2020 Release|Any CPU = 2020 Release|Any CPU + 2021 Debug|Any CPU = 2021 Debug|Any CPU + 2021 Release|Any CPU = 2021 Release|Any CPU + 2022 Debug|Any CPU = 2022 Debug|Any CPU + 2022 Release|Any CPU = 2022 Release|Any CPU + 2024 Debug|Any CPU = 2024 Debug|Any CPU + 2024 Release|Any CPU = 2024 Release|Any CPU Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU + X7 Debug|Any CPU = X7 Debug|Any CPU + X7 Release|Any CPU = X7 Release|Any CPU + X8 Debug|Any CPU = X8 Debug|Any CPU + X8 Release|Any CPU = X8 Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {7325577F-8891-476D-AA82-A9C82D5C708C}.2017 Debug|Any CPU.ActiveCfg = 2017 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2017 Debug|Any CPU.Build.0 = 2017 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2017 Release|Any CPU.ActiveCfg = 2017 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2017 Release|Any CPU.Build.0 = 2017 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2018 Debug|Any CPU.ActiveCfg = 2018 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2018 Debug|Any CPU.Build.0 = 2018 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2018 Release|Any CPU.ActiveCfg = 2018 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2018 Release|Any CPU.Build.0 = 2018 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2019 Debug|Any CPU.ActiveCfg = 2019 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2019 Debug|Any CPU.Build.0 = 2019 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2019 Release|Any CPU.ActiveCfg = 2019 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2019 Release|Any CPU.Build.0 = 2019 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2020 Debug|Any CPU.ActiveCfg = 2020 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2020 Debug|Any CPU.Build.0 = 2020 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2020 Release|Any CPU.ActiveCfg = 2020 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2020 Release|Any CPU.Build.0 = 2020 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2021 Debug|Any CPU.ActiveCfg = 2021 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2021 Debug|Any CPU.Build.0 = 2021 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2021 Release|Any CPU.ActiveCfg = 2021 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2021 Release|Any CPU.Build.0 = 2021 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2022 Debug|Any CPU.ActiveCfg = 2022 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2022 Debug|Any CPU.Build.0 = 2022 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2022 Release|Any CPU.ActiveCfg = 2022 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2022 Release|Any CPU.Build.0 = 2022 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2024 Debug|Any CPU.ActiveCfg = 2024 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2024 Debug|Any CPU.Build.0 = 2024 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2024 Release|Any CPU.ActiveCfg = 2024 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.2024 Release|Any CPU.Build.0 = 2024 Release|Any CPU {7325577F-8891-476D-AA82-A9C82D5C708C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7325577F-8891-476D-AA82-A9C82D5C708C}.Debug|Any CPU.Build.0 = Debug|Any CPU {7325577F-8891-476D-AA82-A9C82D5C708C}.Release|Any CPU.ActiveCfg = Release|Any CPU {7325577F-8891-476D-AA82-A9C82D5C708C}.Release|Any CPU.Build.0 = Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X7 Debug|Any CPU.ActiveCfg = X7 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X7 Debug|Any CPU.Build.0 = X7 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X7 Release|Any CPU.ActiveCfg = X7 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X7 Release|Any CPU.Build.0 = X7 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X8 Debug|Any CPU.ActiveCfg = X8 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X8 Debug|Any CPU.Build.0 = X8 Debug|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X8 Release|Any CPU.ActiveCfg = X8 Release|Any CPU + {7325577F-8891-476D-AA82-A9C82D5C708C}.X8 Release|Any CPU.Build.0 = X8 Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F5B595F2-DDBA-4D60-914B-8646B70F3681} + EndGlobalSection EndGlobal diff --git a/License.txt b/License.txt new file mode 100644 index 0000000..80e563d --- /dev/null +++ b/License.txt @@ -0,0 +1,21 @@ +ScintillaNET is based on the Scintilla component by Neil Hodgson. + +ScintillaNET is released on this same license. + +The ScintillaNET bindings are Copyright 2002-2006 by Garrett Serack + +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. + +GARRETT SERACK AND ALL EMPLOYERS PAST AND PRESENT DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL GARRETT SERACK AND ALL EMPLOYERS PAST AND PRESENT BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + +The license for Scintilla is as follows: +----------------------------------------------------------------------- +Copyright 1998-2006 by Neil Hodgson + +All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. + +NEIL HODGSON DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL NEIL HODGSON BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md index 32e7527..a00fc34 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,29 @@ The library was tested on Windows 10, CorelDRAW Graphics Suite 2021. ## Build Instructions -The included project file was made with Visual Studio 2019. You have to adapt the path of CorelDRAW in the project file Latex4CorelDraw.csproj if your CorelDRAW installation differs from "C:\Program Files\Corel\CorelDRAW Graphics Suite 2021". +The included project file was made with Visual Studio 2019. + +1. Open the file "bonus630.CDRCommon.targets" and change the installation path of the desired version to your installation path. + +2. Locate the MSBuild.exe, usually located at `C:\Windows\Microsoft.NET\Framework64\v4.0.30319`. + +3. Run the command prompt or PowerShell in the folder as an administrator. + +4. Copy the path to the "Latex4CorelDraw.sln" file located in the project folder. + +5. In PowerShell, type the command `.\msbuild.exe "" /p:Configuration=""`, replacing `` with the copied path and `` with the desired installation. The available configurations are: + - X7 Release + - X8 Release + - 2017 Release + - 2018 Release + - 2019 Release + - 2020 Release + - 2021 Release + - 2022 Release + - 2024 Release + +6. In the command prompt, remove the initial `.\` from the command. + ## Installation diff --git a/SciLexer.dll b/SciLexer.dll new file mode 100644 index 0000000..0387d12 Binary files /dev/null and b/SciLexer.dll differ diff --git a/SciLexer64.dll b/SciLexer64.dll new file mode 100644 index 0000000..7be9d97 Binary files /dev/null and b/SciLexer64.dll differ diff --git a/ScintillaNET.dll b/ScintillaNET.dll new file mode 100644 index 0000000..99d76e2 Binary files /dev/null and b/ScintillaNET.dll differ diff --git a/ScintillaNET.xml b/ScintillaNET.xml new file mode 100644 index 0000000..dc314c6 --- /dev/null +++ b/ScintillaNET.xml @@ -0,0 +1,5048 @@ + + + + ScintillaNET + + + + + Class for determining how and what to print for a header or footer. + + + + + Default font used for Page Information sections + + + + + Draws the page information section in the specified rectangle + + + + + + + + + Default Constructor + + + + + Full Constructor + + Margin to use + Font to use + Border style + What to print on the left side of the page + What to print in the center of the page + What to print on the right side of the page + + + + Normal Use Constructor + + Border style + What to print on the left side of the page + What to print in the center of the page + What to print on the right side of the page + + + + Border style used for the Page Information section + + + + + Information printed in the center of the Page Information section + + + + + Whether there is a need to display this item, true if left, center, or right are not nothing. + + + + + Font used in printing the Page Information section + + + + + Height required to draw the Page Information section based on the options selected. + + + + + Information printed on the left side of the Page Information section + + + + + Space between the Page Information section and the rest of the page + + + + + Information printed on the right side of the Page Information section + + + + + Default Constructor + + + + + Full Constructor + + Margin to use + Font to use + Border style + What to print on the left side of the page + What to print in the center of the page + What to print on the right side of the page + + + + Normal Use Constructor + + Border style + What to print on the left side of the page + What to print in the center of the page + What to print on the right side of the page + + + + Defines a marker's appearance in a control. + + + + + Abstract Equals Override. All Helpers must implement this. Use IsSameHelperFamily to + determine if the types are compatible and they have the same Scintilla. For most top + level helpers like Caret and Lexing this should be enough. Helpers like Marker and + Line also need to take other variables into consideration. + + + + + + + Determines if obj belongs to the same Scintilla and is of compatible type + + + + + Gets or sets the marker symbol. + + One of the values. The default is . + + The value assigned is not one of the values. + + + + + Represents the Binding Combination of a Keyboard Key + Modifiers + + + + + Overridden. + + Another KeyBinding struct + True if the Keycode and Modifiers are equal + + + + Overridden + + Hashcode of ToString() + + + + Overridden. Returns string representation of the Keyboard shortcut + + Returns string representation of the Keyboard shortcut + + + + Initializes a new instance of the KeyBinding structure. + + Key to trigger command + key modifiers to the Keyboard shortcut + + + + Gets/Sets Key to trigger command + + + + + Gets sets key modifiers to the Keyboard shortcut + + + + + Top level ScintillaHelpers Like Style and Folding inherit from this class so they don't have + to reimplement the same Equals method + + + + + Enables the Smart Indenter so that On enter, it indents the next line. + + + + + For Custom Smart Indenting, assign a handler to this delegate property. + + + + + If Smart Indenting is enabled, this delegate will be added to the CharAdded multicast event. + + + + + Smart Indenting helper method + + + + + Data structure used to store DropMarkers in the AllDocumentDropMarkers property. + + + + + Represents a customizable read-only block of text which can be displayed below + each line in a control. + + + + + Removes all text and styles associated with the annotation. + + + + + Overridden. Determines whether the specified is equal to the current . + + The object to compare with the current object. + + true if the specified is equal to the + current ; otherwise, false. + + + + + Determines whether the specified is equal to the current . + + The annotation to compare with the current annotation. + + true if the specified is equal to the + current ; otherwise, false. + + + + + Overridden. Serves as a hash function for a particular type. + + A hash code for the current . + + + + Returns a enumerable representing the individual character styling of the annotation text. + + + A enumerable representing the individual character styling, + where the property of each run represents the number + of characters the run spans. + + + + + Uses the enumerable specified to individually style characters in the annotation text. + + + The enumerable indicating how to style the annotation text, + where the property of each run represents the number + of characters the run spans. + + is null. + + The property must be set prior to styling and the sum length of + all runs should match the text length. + + + + + Tests whether two object differ in location or content. + + The object that is to the left of the inequality operator. + The object that is to the right of the inequality operator. + true if the objects are considered unequal; otherwise, false. + + + + Tests whether two objects have equal location and content. + + The object that is to the left of the equality operator. + The object that is to the right of the equality operator. + true if the objects are considered equal; otherwise, false. + + + + Initializes a new instance of the class. + + The control that created this object. + The zero-based index of the document line containing the annotation. + + + + Gets the total number of text lines in the annotation. + + An representing the total number of text lines in the annotation. + + + + Gets the index of the document line containing the annotation. + + + An representing the zero-based index of the document line + containing the annotation, or -1 if the annotation has been rendered invalid + from a change in the control that created it. + + + + + Gets or sets the index of the style used to style the annotation text. + + + An representing the zero-based index of the style used to style the annotation text, + or -1 if the annotation has individually style characters. + + + + + Gets or sets the text of the annotation. + + A representing the annotation text, or null if there is no annotation. + + Only line feed characters ('\n') are recognized as line breaks. + All other control characters are not rendered. + + + + + Common predefined styles that are always valid with any lexer. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Type of border to print for a Page Information section + + + + + No border + + + + + Border along the top + + + + + Border along the bottom + + + + + A full border around the page information section + + + + + Represents a collection of objects and options in a control. + + + + + A range within the editor. Start and End are both Positions. + + + + + Collapses all folds + + + + + Expands all folds + + + + + Removes trailing spaces from each line + + + + + Manages DropMarkers, a Stack Based document bookmarking system. + + + + + Collects the last dropped DropMarker + + + When a DropMarker is collected the current document posision is moved + to the DropMarker posision, the DropMarker is removed from the stack + and the visual indicator is removed. + + + + + Drops a DropMarker at the current document position + + + Dropping a DropMarker creates a visual marker (red triangle) + indicating the DropMarker point. + + The newly created DropMarker + + + + Drops a DropMarker at the specified document position + + + The newly created DropMarker + + Dropping a DropMarker creates a visual marker (red triangle) + indicating the DropMarker point. + + + + + Gets/Sets a list of All DropMarkers specific to this Scintilla control + + + + + Gets/Sets the Stack of DropMarkers + + + You can manually set this to implement your own shared DropMarker stack + between Scintilla Controls. + + + + + + Gets/Sets a shared name associated with other Scintilla controls. + + + All Scintilla controls with the same SharedStackName share a common + DropMarker stack. This is useful in MDI applications where you want + the DropMarker stack not to be specific to one document. + + + + + Provides an abstraction over Scintilla's Document Pointer + + + + + Increases the document's reference count + + No, you aren't looking at COM, move along. + + + + Overridden. + + Another Document Object + True if both Documents have the same Handle + + + + Overridden + + Document Pointer's hashcode + + + + Decreases the document's reference count + + + When the document's reference count reaches 0 Scintilla will destroy the document + + + + + Scintilla's internal document pointer. + + + + + Converts Bitmap images to XPM data for use with ScintillaNET. + Warning: images with more than (around) 50 colors will generate incorrect XPM + The XpmConverter class was based on code from flashdevelop. + + + + + The default transparent Color + + + + + Converts Bitmap images to XPM data for use with ScintillaNET. + Warning: images with more than (around) 50 colors will generate incorrect XPM. + Uses the DefaultTransparentColor. + + The image to transform. + + + + Converts Bitmap images to XPM data for use with ScintillaNET. + Warning: images with more than (around) 50 colors will generate incorrect XPM + tColor: specified transparent color in format: "#00FF00". + + The image to transform. + The overriding transparent Color + + + + Cicles an image list object to convert contained images into xpm + at the same time we add converted images into an arraylist that lets us to retrieve images later. + Uses the DefaultTransparentColor. + + The image list to transform. + + + + Cicles an image list object to convert contained images into xpm + at the same time we add converted images into an arraylist that lets us to retrieve images later + + The image list to transform. + The overriding transparent Color + + + + Gets or sets the first visible line in a control. + + The zero-based index of the first visible line in a control. + The value is a visible line rather than a document line. + + + + Base class for modified events + + + ModifiedEventArgs is the base class for all events that are fired + in response to an SCN_MODIFY notification message. They all have + the Undo/Redo flags in common and I'm also including the raw + modificationType integer value for convenience purposes. + + + + + Manages indicators in a control. + + + Indicators are used to display additional information over the top of styling. + They can be used to show, for example, syntax errors, deprecated names, and bad indentation by drawing underlines under text or boxes around text. + + + + + Represents the largest possible index for an definition. + This field is constant. + + + + + Creates and returns a new object. + + A new object. + + + + Returns an enumerator that iterates through the . + + An enumerator for the . + + + + Initializes a new instance of the class. + + The control that created this object. + is null. + + + + Gets the definition at the specified index. + + The index of the indicator definition to retrieve. + A representing the indicator defined for the specified index. + + is less than 0 or greater than . + + + + + Provides data for the , , and + events. + + + + + Initializes a new instance of the class. + + The byte offset in the document of the character that was clicked. + + + + Gets the byte offset in the document of the character that was clicked. + + An representing the byte offset in the document of the character that was clicked. + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Gets or sets whether the dialog should automatically move away from the current + selection to prevent obscuring it. + + true to automatically move away from the current selection; otherwise, false. + + + + Represents a collection of objects and options in a control. + + + Annotations are customizable read-only blocks of text which can be displayed below + each line in a control. + + + + + Removes all annotations from the document. + + This is equivalent to setting the property to null for each line. + + + + Creates and returns a new object. + + A new object. + + + + Returns an enumerator for the . + + An for the . + + + + Initializes a new instance of the class. + + The control that created this object. + + + + Gets the number of annotations in the . + + The number of annotations contained in the . + + As there can be one annotation per document line, + this is equivalent to the property. + + + + + Gets or sets the offset applied to style indexes used in annotations. + + The offset applied to style indexes used in annotations. + + Annotation styles may be completely separated from standard text styles by setting a style offset. + For example, a value of 512 would shift the range of possible annotation styles to be from 512 to 767 + so they do not overlap with standard text styles. This adjustment is applied automatically when setting + or calling so the offset should NOT be + manually factored in by the caller. This property is provided to maintain architectural symmetry with + the native Scintilla component but is an advanced feature and typically should never need to be changed. + + + + + Gets or sets the visibility style for all annotations. + + + One of the values. + The default is . + + + The value assigned is not one of the values. + + + + + Gets the annotation at the specified line index. + + The zero-based document line index of the annotation to get. + The at the specified line index. + + is less than zero. -or- + is equal to or greater than . + + + + + Provides a writer paradigm for building a list and optionally + the text that is being styled. + + + + + Returns the underlying . + + The underlying if one was provided; otherwise, null. + + + + Returns a enumerable built by the thus far. + + A enumerable representing the style runs written thus far. + + + + Writes a run of the specified string length in the specified style. + + + The string that determines the run length. If a was used to + create the the string value will also be appended. + + The zero-based index of the style for this run. + + + + Initializes a new instance of the class. + + The optional to write to. + + + + Updates the classification of the characters specified. + + The characters to reclassify. + The new classification for the . + + The default character classifications are suitable for most text and do not affect the lexing process. + Rather, character classifications specify how the control interprets + characters for operations such as skipping or selecting a word. Specifying the classification of + Unicode characters is not supported. + + is null. + + One or more of the values specified in is not an ASCII character. + + + The value assigned to is not one of the values. + + + + + Gets a list of characters the control defines as punctuation characters + for operations that involve character classification. + + An representing punctuation characters. + Characters can be reclassified using the method. + + + + Gets a list of characters the control defines as whitespace characters + for operations that involve character classification. + + An representing whitespace characters. + Characters can be reclassified using the method. + + + + Gets a list of characters the control defines as word characters + for operations that involve character classification. + + An representing word characters. + Characters can be reclassified using the method. + + + + Initializes a new instance of the KeyWordConfig class. + + + + + + + + Manages Caret Settings + + + The caret is the blinking line that indicates the current document position. This + is sometimes referred to as cursor. + + + + + Places the caret somewhere within the document that is displayed in the + Scintilla Window + + + If the caret is already visible in the current scrolled view this method does + nothing. + + + + + Scintilla remembers the x value of the last position horizontally moved to explicitly by the user and this value is then + used when moving vertically such as by using the up and down keys. This method sets the current x position of the caret as + the remembered value. + + + + + Scrolls the Scintilla window so that the Caret is visible. + + + + + Places the caret at the specified document position + + Position in the document to place the caret + + + + Gets/Sets the current anchor position + + + If the anchor position is less than the Caret Position it acts as the _start of + the selection. + + + + + Gets/Sets the time interval in milliseconds that the caret should blink. + + + This defaults to the system default value. + + + + + Gets/Sets the color of the Caret. + + Defaults to black + + + + Gets/Sets the transparency alpha of the CurrentLine Background highlight + + + Values range from 0 to 256. Default is 256. + + + + + Gets/Sets the color of the document line where the caret currently resides + + + The property must be set to true in order + for this to to take effect. + + + + + Gets/Sets if the current document line where the caret resides is highlighted. + + + determines the color. + + + + + Controls when the last position of the caret on the line is saved. When set to true, the position is not saved when you type a character, a tab, paste the clipboard content or press backspace + + + Defaults to false + + + + + Gets/Sets the current Line Number that the caret resides. + + + + + Gets/Sets the current document position where the caret resides + + + + + Gets/Sets the displayed. + + + + + Gets/Sets the width in pixels of the Caret + + + This defaults to the system default. + + + + + Used internally to signify an ignored parameter by overloads of SendMessageDirect + that match the native Scintilla's Message signatures. + + + + + Defines character classifications in a control. + + + + + Characters with this classification are interpreted as whitespace characters. + + + + + Characters with this classification are interpreted as word characters. + + + + + Characters with this classification are interpreted as punctuation characters. + + + + + Specifies the visibility and appearance of annotations in a control. + + + + + Annotations are not displayed. + + + + + Annotations are drawn left-justified with no adorment. + + + + + Annotations are indented to match the text and are surrounded by a box. + + + + + Specifies how line wrapping visual glyphs are displayed in a control. + + + + + No line wrapping glyphs are displayed. + + + + + Line wrapping glyphs are displayed at the end of wrapped lines. + + + + + Line wrapping glyphs are displayed at the start of wrapped lines. This also has + the effect of indenting the line by one additional unit to accommodate the glyph. + + + + + Specifies the display mode of whitespace characters. + + + + + The normal display mode with whitespace displayed as an empty background color. + + + + + Whitespace characters are drawn as dots and arrows. + + + + + Whitespace used for indentation is displayed normally but after the first visible character, it is shown as dots and arrows. + + + + + Provides data for the StyleNeeded event + + + + + Initializes a new instance of the StyleNeededEventArgs class. + + the document range that needs styling + + + + Returns the document range that needs styling + + + + + ScintillaNET derived class for handling printing of source code from a Scintilla control. + + + + + Method called after the Print method is called and before the first page of the document prints + + A PrintPageEventArgs that contains the event data + + + + Method called when the last page of the document has printed + + A PrintPageEventArgs that contains the event data + + + + Method called when printing a page + + A PrintPageEventArgs that contains the event data + + + + Default Constructor + + Scintilla control being printed + + + + List of strings to be used with . + + + + + Creates a new instance of an OverLoadList + + + + + Creates a new instance of an OverLoadList. The list of overloads is supplied by collection + + + + + Creates a new instance of an OverLoadList. The + + + + + Text of the overload to be displayed in the CallTip + + + + + Index of the overload to be displayed in the CallTip + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Gets or sets whether the control should automatically move away from the current + selection to prevent obscuring it. + + true to automatically move away from the current selection; otherwise, false. + + + + Determines how whitespace should be displayed in a control. + + + By default, whitespace is determined by the lexer in use. Setting the + or properties overrides the lexer behavior. + + + + + Gets or sets the whitespace background color. + + + By default, the whitespace background color is determined by the lexer in use. + Setting the BackColor to anything other than overrides the lexer behavior. + Transparent colors are not supported. + + + A that represents the background color of whitespace characters. + The default is . + + + The specified has an alpha value that is less that . + + + + + Gets or sets the whitespace foreground color. + + + By default, the whitespace foreground color is determined by the lexer in use. + Setting the ForeColor to anything other than overrides the lexer behavior. + Transparent colors are not supported. + + + A that represents the foreground color of whitespace characters. + The default is . + + + The specified has an alpha value that is less that . + + + + + Gets or sets the whitespace display mode. + + One of the values. The default is + + The specified value is not a valid value. + + + + + Provides data for Scintilla mouse events + + + + + Initializes a new instance of the ScintillaMouseEventArgs class. + + X (left) position of mouse in pixels + Y (top) position of mouse in pixels + Document position + + + + Returns the Document position + + + + + Returns the X (left) position of mouse in pixels + + + + + Returns the Y (top) position of mouse in pixels + + + + + Defines the appearance of an indicator in a control. + + + + + Overridden. See . + + + + + Determines whether the specified indicator is equal to the current indicator. + + The indicator to compare with the current indicator. + true if the specified indicator is equal to the current indicator; otherwise, false. + + + + Overridden. See . + + + + + Resets all indicator display properties to their respective defaults. + + + + + Overridden. See . + + + + + Initializes a new instance of the class. + + The control that created this object. + The zero-based index of the document line containing the annotation. + + + + Gets or sets the alpha transparency value used for drawing the fill color of the + and styles. + + + A representing the alpha transparency value. + The default is 30. + + + + + Gets or sets the color of the indicator. + + A that represents the color of the indicator. + + For indicator index 0 the default is #007F00 (dark green). + For indicator index 1 the default is #0000FF (blue). + For indicator index 2 the default is #FF0000 (red). + For indicator index 3 and above the default is #000000 (black). + + + The specified has an alpha value that is less that . + + + + + Gets or sets the draw mode for applying indicators to text. + + + One of the values. + The default is . + + + The value assigned is not one of the values. + + + + + Gets the index this indicator represents in a control. + + + An representing the zero-based index this + indicator represents in a control. + + + + + Gets or sets the alpha transparency value used for drawing the outline color of the + and styles. + + + A representing the alpha transparency value. + The default is 50. + + + + + Gets or sets the display style of the indicator. + + One of the values. + + For indicator index 0 the default is . + For indicator index 1 the default is . + For indicator index 2 and above the default is . + + + The value assigned is not one of the values. + + + + + Struct used for passing parameters to FormatRange() + + + + + The HDC (device context) we print to + + + + + The HDC we use for measuring (may be same as hdc) + + + + + Rectangle in which to print + + + + + Physically printable page size + + + + + Range of characters to print + + + + + Provides data for the MarkerChanged event + + + + + Initializes a new instance of the LinesNeedShownEventArgs class. + + Line number where the marker change occured + What type of Scintilla modification occured + + + + Returns the line number where the marker change occured + + + + + Initializes a new instance of the CommandBindingConfig structure. + + + + + Interface representing the native Scintilla Message Based API. In addition + to wrappers around each of the messages I have included an additional Method + named SendMessageDirect with 9 overloads. This allows you to send messages + to the Scintilla DefWndProc bypassing Windows' SendMessage. Each of the other + methods wrap calls to SendMessageDirect. + + Scintilla explicetly implements this interface. To use these methods on + a Scintilla control Cast it as INativeScintilla or use NativeScintilla + property. + + The reason for this interface is to keep the "regular" interface surface + area of the Scintilla control as clean and .NETish as possible. Also + this means when you want a direct native interface there's no other + absracted members (Aside from SendMessageDirect ;) cluttering the native + interface. + + + + + Eine stark typisierte Ressourcenklasse zum Suchen von lokalisierten Zeichenfolgen usw. + + + + + Gibt die zwischengespeicherte ResourceManager-Instanz zurück, die von dieser Klasse verwendet wird. + + + + + Überschreibt die CurrentUICulture-Eigenschaft des aktuellen Threads für alle + Ressourcenzuordnungen, die diese stark typisierte Ressourcenklasse verwenden. + + + + + Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + + + + + Sucht eine lokalisierte Zeichenfolge, die Cannot create the Scintilla direct function. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Cannot create the Scintilla direct pointer. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Cannot load the '{0}' module into memory. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The '{0}' argument cannot be an empty string. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Enumeration already finished. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Enumeration has not started. Call MoveNext. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Cross-thread operation not valid: Control '{0}' accessed from a thread other than the thread it was created on. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Index was out of range. Must be non-negative and less than the size of the collection. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Index was out of range. Must be non-negative and less than or equal to MaxIndex. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Insufficient space in the target location to copy the information. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die A change in the control who created this annotation has rendered the object invalid. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The {0} line must specify a valid line within the document. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The start line and end line must specify a valid range. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The start line must be greater than or equal to zero. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The module name must be set before any Scintilla object are created. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Only ASCII characters are permitted. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die '{0}' was out of range. Must be non-negative and less than {1}. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The value must be between {0} and {1}. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die Transparent colors are not supported. ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die The specified encoding is not supported. ähnelt. + + + + + Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + + + + + Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + + + + + Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + + + + + Sucht eine lokalisierte Zeichenfolge, die SciLexer.dll ähnelt. + + + + + Sucht eine lokalisierte Zeichenfolge, die SciLexer64.dll ähnelt. + + + + + Specifies the symbol displayed by a . + + + + + The marker is drawn as a circle. + + + + + The marker is drawn as a rectangle with rounded edges. + + + + + The marker is drawn as a triangle pointing right. + This symbol is typically used to mark a closed folder. + + + + + The marker is drawn as a horizontal rectangle. + + + + + The marker is drawn as a small arrow pointing right. + + + + + The marker has no visible glpyh. + This symbol can still be used, however, to mark and track lines. + + + + + The marker is drawn as a triangle pointing down. + This symbol is typically used to mark an open folder. + + + + + The marker is drawn as a minus sign. + This symbol is typically used to mark an open folder. + + + + + The marker is drawn as a plus sign. + This symbol is typically used to mark a closed folder. + + + + + The marker is drawn as a vertical line. + This symbol is typically used to mark nested lines of an open folder. + + + + + The marker is drawn as straight lines intersecting in an "L" shape. + This symbol is typically used to mark the end of a folder in a "box style" tree. + + + + + The marker is drawn as straight lines intersecting in a rotated "T" shape. + This symbol is typically used to mark the end of a nested folder in a "box style" tree. + + + + + The marker is drawn as a plus sign surrounded by a rectangle. + This symbol is typically used to mark a closed folder in a "box style" tree. + + + + + The marker is drawn as a plus sign surrounded by a rectangle and vertial lines. + This symbol is typically used to mark a nested closed folder in a "box style" tree. + + + + + The marker is drawn as a minus sign surrounded by a rectangle and a vertical line at the bottom. + This symbol is typically used to mark an open folder in a "box style" tree. + + + + + The marker is drawn as a minus sign surrounded by a rectangle and vertical lines. + This symbol is typically used to mark a nested open folder in a "box style" tree. + + + + + The marker is drawn as curved lines intersecting in an "L" shape. + This symbol is typically used to mark the end of a folder in a "circle style" tree. + + + + + The marker is drawn as curved lines intersecting in a rotated "T" shape. + This symbol is typically used to mark the end of a nested folder in a "circle style" tree. + + + + + The marker is drawn as a plus sign surrounded by a circle. + This symbol is typically used to mark a closed folder in a "circle style" tree. + + + + + The marker is drawn as a plus sign surrounded by a circle and vertial lines. + This symbol is typically used to mark a nested closed folder in a "circle style" tree. + + + + + The marker is drawn as a minus sign surrounded by a circle and a vertical line at the bottom. + This symbol is typically used to mark an open folder in a "circle style" tree. + + + + + The marker is drawn as a minus sign surrounded by a circle and vertical lines. + This symbol is typically used to mark a nested open folder in a "circle style" tree. + + + + + The marker has no visible glyph, however, the background color of the entire text line + is drawn as specified in the property. + + + + + This marker is drawn as three horizontal dots. + + + + + The marker is drawn as three consecutive greater than glyphs. + + + + + The marker is drawn using the image specified in the method. + + + + + The marker has no visible glyph, however, the margin background color is draw as + specified in the property. + + + + + The marker is drawn as a thick vertical line along the left edge of the margin. + + + + + The marker has no visible glyph, however, it can be used to signify to a plugin + that the marker is available for a custom purpose. + + + + + The marker has no visible glyph, however, the entire text line is drawn with an underline in + the color specified by the property. + + + + + Creates and returns a new object. + + A new object. + + + + Creates and returns a new object. + + A new object. + + + + Manages the Native Scintilla's Document features. + + + See Scintilla's documentation on multiple views for an understanding of Documents. + Note that all ScintillaNET specific features are considered to be part of the View, not document. + + + + + Creates a new Document + + + + + + Gets/Sets the currently loaded Document + + + + + Provides data for the UriDropped event + + + + + Initializes a new instance of the UriDroppedEventArgs class. + + Text of the dropped file or uri + + + + Text of the dropped file or uri + + + + + Provices data for the TextModified event + + + TextModifiedEventHandler is used as an abstracted subset of the + SCN_MODIFIED notification message. It's used whenever the SCNotification's + modificationType flags are SC_MOD_INSERTTEXT ,SC_MOD_DELETETEXT, + SC_MOD_BEFOREINSERT and SC_MOD_BEFORE_DELETE. They all use a + TextModifiedEventArgs which corresponds to a subset of the + SCNotification struct having to do with these modification types. + + + + + Overridden. + + + + + Initializes a new instance of the TextModifiedEventArgs class. + + document position where the change occured + _length of the change occured + the # of lines added or removed as a result of the change + affected text of the change + true if the change was a direct result of user interaction + the line # of where the marker change occured (if applicable) + + + + Returns true if the change was a direct result of user interaction + + + + + Returns the length of the change occured. + + + + + Returns the # of lines added or removed as a result of the change + + + + + Returns the line # of where the marker change occured (if applicable) + + + + + Returns the document position where the change occured + + + + + The affected text of the change + + + + + Represents a DropMarker, currently a single document point. + + + + + Overridden, changes the document position. Start and End should + match. + + Document _start position + Document _end position + + + + Collects the DropMarker and causes it to be removed from all + lists it belongs ti. + + + + + Overridden. + + + + + Gets the Client Rectangle in pixels of the DropMarker's visual indicator. + + + + + Forces a repaint of the DropMarker + + + + + Overridden. Drop Markers are points, not a spanned range. Though this could change in the future. + + + + + Uniquely identifies the DropMarker + + + + + Not currently used, the offset in pixels from the document view's top. + + + + + Defines the possible display style of an . + + + + + Underlined with a single, straight line. + + + + + A squiggly underline. + + Requires 3 pixels of descender space. + + + + A line of small T shapes. + + + + + Diagonal hatching. + + + + + Strike out. + + + + + An indicator with no visual effect. + + + This can be valuable when indicators are used to track + positions rather than change the display. + + + + + A rectangle around the text. + + + + + A rectangle with rounded corners around the text using translucent + drawing with the interior usually more transparent than the border. + + + + + A rectangle around the text using translucent drawing with the + interior usually more transparent than the border. + + + + + A dashed underline. + + + + + A dotted underline. + + + + + A squiggly underline. + + Requires 2 pixels of descender space. + + + + A dotted rectangle around the text using translucent drawing. + + + + + A squiggly underline. + + Performs better that other squiggle styles. + + + + Used to display CallTips and Manages CallTip settings. + + + CallTips are a special form of ToolTip that can be displayed specifically for + a document position. It also display a list of method overloads and + highlighight a portion of the message. This is useful in IDE scenarios. + + + + + Hides the calltip + + + and do the same thing + + + + + Hides the calltip + + + and do the same thing + + + + + Displays a calltip without overloads + + + The must already be populated. The calltip will be displayed at the current document position + with no highlight. + + + + + Displays a calltip without overloads + + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + The must already be populated. The calltip will be displayed at the current document position + + + + + Displays a calltip without overloads + + The document position to show the calltip + + The must already be populated. The calltip with no highlight + + + + + Displays a calltip without overloads + + The document position to show the calltip + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + The must already be populated. + + + + + Displays a calltip without overloads + + The calltip message to be displayed + + The calltip will be displayed at the current document position with no highlight + + + + + Displays a calltip without overloads + + The calltip message to be displayed + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + The calltip will be displayed at the current document position + + + + + Displays a calltip without overloads + + The calltip message to be displayed + The document position to show the calltip + + The calltip will be displayed with no highlight + + + + + Displays a calltip without overloads + + The calltip message to be displayed + The document position to show the calltip + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + + + Shows the calltip with overloads + + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. It will be displayed at the current document + position starting at overload 0 with no highlight. + + + + + Shows the calltip with overloads + + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. It will be displayed at the current document + position starting at overload 0 + + + + + Shows the calltip with overloads + + The document position where the calltip should be displayed + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. The overload at position 0 will be displayed + with no highlight. + + + + + Shows the calltip with overloads + + The document position where the calltip should be displayed + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. The overload at position 0 will be displayed. + + + + + Shows the calltip with overloads + + The document position where the calltip should be displayed + The index of the initial overload to display + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. It will be displayed at the current document + position with no highlight + + + + + Shows the calltip with overloads + + The document position where the calltip should be displayed + The index of the initial overload to display + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The current document position will be used starting at position 0 with no highlight + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The current document position will be used starting at position 0 + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + The document position where the calltip should be displayed + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The overload startIndex will be 0 with no Highlight + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + The document position where the calltip should be displayed + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The overload startIndex will be 0 + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + The document position where the calltip should be displayed + The index of the initial overload to display + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + The index of the initial overload to display + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The current document position will be used with no highlight + + + + + Shows the calltip with overloads + + List of overloads to be displayed see + The index of the initial overload to display + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The current document position will be used + + + + + Shows the calltip with overloads + + The index of the initial overload to display + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. It will be displayed at the current document + position with no highlight. + + + + + Shows the calltip with overloads + + The index of the initial overload to display + Start posision of the part of the message that should be selected + End posision of the part of the message that should be selected + + ShowOverload automatically handles displaying a calltip with a list of overloads. It automatically shows the + up and down arrows and cycles through the list of overloads in response to mouse clicks. + The must already be populated. It will be displayed at the current document + position. + + + + + Gets/Sets the background color of all CallTips + + + + + Gets/Sets Text color of all CallTips + + + + + End position of the text to be highlighted in the CalTip + + + + + Start position of the text to be highlighted in the CalTip + + + + + Gets/Sets the Text Color of the portion of the CallTip that is highlighted + + + + + Returns true if a CallTip is currently displayed + + + + + The message displayed in the calltip + + + + + List of method overloads to display in the calltip + + + This is used to display IDE type toolips that include Up/Down arrows that cycle + through the list of overloads when clicked + + + + + Used to invoke AutoComplete and UserList windows. Also manages AutoComplete + settings. + + + Autocomplete is typically used in IDEs to automatically complete some kind + of identifier or keyword based on a partial name. + + + + + Accepts the current AutoComplete window entry + + + If the AutoComplete window is open Accept() will close it. This also causes the + event to fire + + + + + Cancels the autocomplete window + + + If the AutoComplete window is displayed calling Cancel() will close the window. + + + + + Deletes all registered images. + + + + + Registers an image with index to be displayed in the AutoComplete window. + + Index of the image to register to + Image to display in Bitmap format + + + + Registers an image with index to be displayed in the AutoComplete window. + + Index of the image to register to + Image to display in the XPM image format + Color to mask the image as transparent + + + + Registers an image with index to be displayed in the AutoComplete window. + + Index of the image to register to + Image in the XPM image format + + + + Registers a list of images to be displayed in the AutoComplete window. + + List of images in the Bitmap image format + Indecis are assigned sequentially starting at 0 + + + + Registers a list of images to be displayed in the AutoComplete window. + + List of images in the Bitmap image format + Color to mask the image as transparent + Indecis are assigned sequentially starting at 0 + + + + Registers a list of images to be displayed in the AutoComplete window. + + List of images in the XPM image format + Indecis are assigned sequentially starting at 0 + + + + Registers a list of images to be displayed in the AutoComplete window. + + List of images contained in an ImageList + Indecis are assigned sequentially starting at 0 + + + + Registers a list of images to be displayed in the AutoComplete window. + + List of images contained in an ImageList + Color to mask the image as transparent + Indecis are assigned sequentially starting at 0 + + + + Shows the autocomplete window. + + + This overload assumes that the property has been + set. The lengthEntered is automatically detected by the editor. + + + + + Shows the autocomplete window + + + Sets the property. + In this overload the lengthEntered is automatically detected by the editor. + + + + + Shows the autocomplete window + + Number of characters of the current word already entered in the editor + + This overload assumes that the property has been set. + + + + + Shows the autocomplete window + + Number of characters of the current word already entered in the editor + Sets the property. + + + + Shows the autocomplete window. + + Number of characters of the current word already entered in the editor + Sets the property. + + + + Shows the autocomplete window. + + Sets the property. + + In this overload the lengthEntered is automatically detected by the editor. + + + + + Shows a UserList window + + Index of the userlist to show. Can be any integer + List of words to show. + + UserLists are not as powerful as autocomplete but can be assigned to a user defined index. + + + + + Shows a UserList window + + Index of the userlist to show. Can be any integer + List of words to show separated by " " + + UserLists are not as powerful as autocomplete but can be assigned to a user defined index. + + + + + By default, the list is cancelled if there are no viable matches (the user has typed characters that no longer match a list entry). + If you want to keep displaying the original list, set AutoHide to false. + + + + + Gets or Sets the last automatically calculated LengthEntered used whith . + + + + + The default behavior is for the list to be cancelled if the caret moves before the location it was at when the list was displayed. + By setting this property to false, the list is not cancelled until the caret moves before the first character of the word being completed. + + + + + When an item is selected, any word characters following the caret are first erased if dropRestOfWord is set to true. + + Defaults to false + + + + List of characters (no separated) that causes the AutoComplete window to accept the current + selection. + + + + + Autocompletion list items may display an image as well as text. Each image is first registered with an integer type. + Then this integer is included in the text of the list separated by a '?' from the text. For example, "fclose?2 fopen" + displays image 2 before the string "fclose" and no image before "fopen". + + + + + Returns wether or not the AutoComplete window is currently displayed + + + + + Gets or Sets if the comparison of words to the AutoComplete are case sensitive. + + Defaults to true + + + + Gets the document posision when the AutoComplete window was last invoked + + + + + List if words to display in the AutoComplete window when invoked. + + + + + Character used to split to convert to a List. + + + + + List of words to display in the AutoComplete window. + + + The list of words separated by which + is " " by default. + + + + + Get or set the maximum number of rows that will be visible in an autocompletion list. If there are more rows in the list, then a vertical scrollbar is shown + + Defaults to 5 + + + + Get or set the maximum width of an autocompletion list expressed as the number of characters in the longest item that will be totally visible. + + + If zero (the default) then the list's width is calculated to fit the item with the most characters. Any items that cannot be fully displayed + within the available width are indicated by the presence of ellipsis. + + + + + Gets or Sets the index of the currently selected item in the AutoComplete + + + + + Gets or Sets the Text of the currently selected AutoComplete item. + + + When setting this property it does not change the text of the currently + selected item. Instead it searches the list for the given value and selects + that item if it matches. + + + + + If you set this value to true and a list has only one item, it is automatically added and no list is displayed. + The default is to display the list even if there is only a single item. + + + + + List of characters (no separator) that causes the AutoComplete window to cancel. + + + + + Represents the scrolling options of a control. + + + + + Scrolls the display by the specified number of lines and columns. + + The number of display lines to scroll. Positive numbers scroll down, negative numbers scroll up. + The number of columns to scroll. Positive numbers scroll right, negative numbers scroll left. + + + + Scrolls the contents of the control to the current caret position. + + + + + Scrolls the contents of the control to the line index specified. + + The zero-based index of the line to bring into view. + + The current selection wil also be reset and the caret placed at the beginning + of the line specified. A value outside of the range of possible line indexes + will automatically be clamped to a valid index. + + + + + Initializes a new instance of the class + for the given control. + + The control that created this object. + is null. + + + + Gets or sets the number of pixels by which the control is scrolled horizontally. + + + The number of pixels by which the control is scrolled horizontally. + The default is 0. + + + + + Gets or sets whether the control automatically increases the horizontal + scroll width based on the text width. + + + true if the control automatically increases the horizontal scroll + width based on the text width; otherwise, false. The default is true. + + + + + Gets or sets the number of pixels by which the control can scroll horizontally. + + + The number of pixels by which the control can scroll horizontally. + The default is 1. + + + + + Gets or sets which scroll bars should appear in a control. + + + One of the enumeration values that indicates whether + a control appears with no scroll bars, a horizontal scroll bar, + a vertical scroll bar, or both. The default is . + + + The value assigned is not one of the values. + + + + + Gets or sets whether vertical scrolling is allowed past the last line of text + in a control + + + true to allow vertical scrolling past the last line of text in a control; + otherwise, false. The default is false. + + + + + Required designer variable. + + + + + Clean up any resources being used. + + true if managed resources should be disposed; otherwise, false. + + + + Required method for Designer support - do not modify + the contents of this method with the code editor. + + + + + Specifies the line wrapping modes that can be applied to a control. + + + + + Line wrapping is disabled. + + + + + Lines wrap on word boundaries. + + + + + Lines wrap between characters. + + + + + Returns an HTML #XXXXXX format for a color. Unlike the ColorTranslator class it + never returns named colors. + + + + + Marshals an IntPtr pointing to un unmanaged byte[] to a .NET String using the given Encoding. + + + I'd love to have this as en extension method but ScintillaNET's probably going to be 2.0 for a long + time to come. There's nothing really compelling in later versions that applies to ScintillaNET that + can't be done with a 2.0 construct (extension methods, linq, etc) + + + + + Struct used for specifying the printing bounds + + + + + Left X Bounds Coordinate + + + + + Top Y Bounds Coordinate + + + + + Right X Bounds Coordinate + + + + + Bottom Y Bounds Coordinate + + + + + Default Constructor + + + + + Full Constructor + + Margin to use + Font to use + Border style + What to print on the left side of the page + What to print in the center of the page + What to print on the right side of the page + + + + Normal Use Constructor + + Border style + What to print on the left side of the page + What to print in the center of the page + What to print on the right side of the page + + + + Specifies how indicators are drawn on text. + + + + + Indicators are drawn under text. + + + + + Indicators are drawn over text. + + + + + The flags that are stored along with the fold level. + + + + + The base value for a 0-level fold. The fold level is a number in the range 0 to 4095 (NumberMask). + However, the initial fold level is set to Base(1024) to allow unsigned arithmetic on folding levels. + + + + + WhiteFlag indicates that the line is blank and allows it to be treated slightly different then its level may + indicate. For example, blank lines should generally not be fold points and will be considered part + of the preceding section even though they may have a lesser fold level. + + + + + HeaderFlag indicates that the line is a header (fold point). + + + + + Not documented by current Scintilla docs - associated with the removed Box fold style? + + + + + A bit-mask indicating which bits are used to store the actual fold level. + + + + + Document's EndOfLine Mode + + + + + Carriage Return + Line Feed (Windows Style) + + + + + Carriage Return Only (Mac Style) + + + + + Line Feed Only (Unix Style) + + + + + Provides data for a DropMarkerCollect event + + + + + Initializes a new instance of the DropMarkerCollectEventArgs class. + + + + + Returns the DropMarker that was collected + + + + + The style of visual indicator that the caret displayes. + + + + + The caret is not displayed + + + + + A vertical line is displayed + + + + + A horizontal block is displayed that may cover the character. + + + + + Provides data for the CallTipClick event + + + + + Initializes a new instance of the CallTipClickEventArgs class. + + CallTipArrow clicked + Current posision of the overload list + New position of the overload list + List of overloads to be cycled in the calltip + Start position of the highlighted text + End position of the highlighted text + + + + Returns the CallTipArrow that was clicked + + + + + Gets/Sets if the CallTip should be hidden + + + + + Gets the current index of the CallTip's overload list + + + + + Gets/Sets the _end position of the CallTip's highlighted portion of text + + + + + Gets/Sets the _start position of the CallTip's highlighted portion of text + + + + + Gets/Sets the new index of the CallTip's overload list + + + + + Returns the OverLoad list of the CallTip + + + + + Defines a run of styled text in a control + + + + + Represents a new instance of the struct with member data left uninitialized. + + + + + Initializes a new instance of the struct. + + The length of the run. + The zero-based index of the style that the run represents. + + + + Gets or sets length of this . + + An representing the length of this . + + + + Gets or sets the style index of this . + + An representing the zero-based style index of this . + + + + Read or change the Flags associated with a fold. The default value is 0. + + + + + Read or change the Fold Marker Scheme. This changes the way Scintilla displays folds + in the control. The default is BoxPlusMinus and the value Custom can be used to disable + ScintillaNET changing selections made directly using MarkerCollection.FolderXX methods. + + + + + Read or change the value controlling whether to use compact folding from the lexer. + + This tracks the property "fold.compact" + + + + Controls find behavior for non-regular expression searches + + + + + Find must match the whole word + + + + + Find must match the case of the expression + + + + + Only match the _start of a word + + + + + Not used in ScintillaNET + + + + + Not used in ScintillaNET + + + + + How long lines are visually indicated + + + + + No indication + + + + + A vertical line is displayed + + + + + The background color changes + + + + + Manages Document Navigation, which is a snapshot history of movements within + a document. + + + + + Causes the current position to navigate to the last snapshotted document position. + + + + + After 1 or more backwards navigations this command navigates to the previous + backwards navigation point. + + + + + List of entries that allow you to navigate backwards. + + + The ForwardStack and BackwardStack can be shared between multiple + ScintillaNET objects. This is useful in MDI applications when you wish + to have a shared document navigation that remembers positions in each + document. + + + + + Returns true if ScintillaNET can perform a successful backward navigation. + + + + + Returns true if ScintillaNET can perform a successful forward navigation. + + + + + List of entries that allow you to navigate forwards. + + + The ForwardStack and BackwardStack can be shared between multiple + ScintillaNET objects. This is useful in MDI applications when you wish + to have a shared document navigation that remembers positions in each + document. + + + + + Gets/Sets whether Document Navigation is tracked. Defaults to true. + + + + + Maximum number of places the document navigation remembers. Defaults to 50. + + + When the max value is reached the oldest entries are removed. + + + + + Time in milliseconds to wait before a Navigation Point is set. Default is 200 + + + In text editing, the current caret position is constantly changing. Rather than capture every + change in position, ScintillaNET captures the current position [NavigationPointTimeout]ms after a + position changes, only then is it eligable for another snapshot + + + + + Provides data for the AutoCompleteAccepted event + + + + + Initializes a new instance of the AutoCompleteAcceptedEventArgs class. + + Text of the selected autocomplete entry selected + + + + Gets/Sets if the autocomplete action should be cancelled + + + + + Text of the selected autocomplete entry selected + + + + + Returns the _start position of the current word in the document. + + + This controls how many characters of the selected autocomplete entry + is actually inserted into the document + + + + + Represents casing styles + + + + + Both upper and lower case + + + + + Only upper case + + + + + Only lower case + + + + + Represents a point in the document used for navigation. + + + + + Overridden. + + + + + Initializes a new instance of the NavigationPont class. + + + + + Specifies how wrapped lines are indented when line wrapping is enabled in a control. + + + + + Wrapped lines are aligned on the left and indented by the amount + spcified in the property. + + + + + Wrapped lines are aligned to the first subline indent. + + + + + Wrapped lines are aligned to the first subline indent plus + one more level of indentation. + + + + + Provides data for the LinesNeedShown event + + + + + Initializes a new instance of the LinesNeedShownEventArgs class. + + the first (top) line that needs to be shown + the last (bottom) line that needs to be shown + + + + Returns the first (top) line that needs to be shown + + + + + Returns the last (bottom) line that needs to be shown + + + + + Provides methods to place data on and retrieve data from the system Clipboard. + + + + + Copies the current selection in the document to the Clipboard. + + + + + Copies the current selection, or the current line if there is no selection, to the Clipboard. + + + Indicates whether to copy the current line if there is no selection. + + + A line copied in this mode is given a "MSDEVLineSelect" marker when added to the Clipboard and + then used in the method to paste the whole line before the current line. + + + + + Copies the specified range of text (bytes) in the document to the Clipboard. + + The zero-based byte position to start copying. + The zero-based byte position to stop copying. + + + + Moves the current document selection to the Clipboard. + + + + + Replaces the current document selection with the contents of the Clipboard. + + + + + Gets a value indicating whether text (bytes) can be copied given the current selection. + + true if the text can be copied; otherwise, false. + This is equivalent to determining if there is a valid selection. + + + + Gets a value indicating whether text (bytes) can be cut given the current selection. + + true if the text can be cut; otherwise, false. + This is equivalent to determining if there is a valid selection. + + + + Gets a value indicating whether the document can accept text currently stored in the Clipboard. + + true if text can be pasted; otherwise, false. + + + + Gets or sets whether pasted line break characters are converted to match the document's end-of-line mode. + + + true if line break characters are converted; otherwise, false. + The default is true. + + + + + List of commands that ScintillaNET can execute. These can be + bound to keyboard shortcuts + + + + + Provides data for the event. + + + + + Initializes a new instance of the class. + + The document line index of the annotation that changed. + The number of lines added to or removed from the annotation that changed. + + + + Gets the number of lines added to or removed from the changed annotation. + + + An representing the number of lines added to or removed from the annotation. + Postive values indicate lines have been added; negative values indicate lines have been removed. + + + + + Gets the index of the document line containing the changed annotation. + + The zero-based index of the document line containing the changed annotation. + + + + ScintillaNET derived class for handling printed page settings. It holds information + on how and what to print in the header and footer of pages. + + + + + Default footer style used when no footer is provided. + + + + + Default header style used when no header is provided. + + + + + Default constructor + + + + + Method used to render colored text on a printer + + + + + Number of points to add or subtract to the size of each screen font during printing + + + + + Page Information printed in the footer of the page + + + + + Page Information printed in header of the page + + + + + Type of data to display at one of the positions in a Page Information section + + + + + Nothing is displayed at the position + + + + + The page number is displayed in the format "Page #" + + + + + The document name is displayed + + + + + Controls line wrapping options in a control. + + + + + The number of lines displayed when a line of text is wrapped. + + The zero-based index of the line to count. + The numbers of display lines the line of text occupies. + + + + Forces the line range specified to wrap at the given pixel width. This operates independently + of the current line wrapping property. + + The zero-based line index to start wrapping. + The zero-based line index to stop wrapping. + + The maximum width in pixels of the lines to wrap. A value of zero resets forced line wrapping. + + + + + Initializes a new instance of the class. + + The control that created this object. + + + + Gets or sets how wrapped lines are indented. + + + One of the values. + The default is . + + + The value assigned is not one of the values. + + + + + Gets or sets the size that wrapped lines are indented when is . + + An representing the size (in characters) that wrapped lines are indented. + The value is less that zero or greater than 256. + + + + Gets or sets how and whether line wrapping is performed. + + + One of the values. + The default is . + + + The value assigned is not one of the values. + + + + + Gets or sets the visual glyphs displayed on wrapped lines. + + + A bitwise combination of the values. + The default is . + + + + + Gets or sets the location of visual glyphs displayed on wrapped lines. + + + A bitwise combination of the values. + The default is . + + + + + The flags affecting how the fold is marked in the main text area (as well as in the margin). If the value + changes for onscreen text, the display will redraw. + + + + + A line is drawn above the text if the fold is expanded. + + + + + A line is drawn above the text if the fold is collapsed. + + + + + A line is drawn below the text if the fold is expanded. + + + + + A line is drawn below the text if the fold is collapsed. + + + + + Display hexadecimal fold levels in line margin to aid debugging of folding. The appearance of this feature may change in the future. + + + + + Experimental feature that has been removed. + + + + + Provides data for the FoldChanged event + + + + + Initializes a new instance of the FoldChangedEventArgs class. + + Line # that the fold change occured on + new Fold Level of the line + previous Fold Level of the line + What kind of fold modification occured + + + + Gets/Sets the Line # that the fold change occured on + + + + + Gets the new Fold Level of the line + + + + + Gets the previous Fold Level of the line + + + + + The CharacterSet used by the document + + + + + Specifies the locations of line wrapping visual glyphs in a control. + + + + + Line wrapping glyphs are drawn near the control border. + + + + + Line wrapping glyphs are drawn at the end of wrapped lines near the text. + + + + + Line wrapping glyphs are drawn at the start of wrapped lines near the text. + + + + + Contains Undo/Redo information, used by many of the events + + + + + Was this action the result of an undo action + + + + + Was this action the result of a redo action + + + + + Is this part of a multiple undo or redo + + + + + Is this the last step in an undi or redo + + + + + Does this affect multiple lines + + + + + Overridden + + + + + Initializes a new instance of the UndoRedoFlags structure. + + Was this action the result of an undo action + Was this action the result of a redo action + Is this part of a multiple undo or redo + Is this the last step in an undi or redo + Does this affect multiple lines + + + + Provides data for the CharAdded event + + + + + Initializes a new instance of the CharAddedEventArgs class. + + The character that was added + + + + Returns the character that was added + + + + + Provides data for the StyleChanged event + + + StyleChangedEventHandler is used for the StyleChanged Event which is also used as + a more specific abstraction around the SCN_MODIFIED notification message. + + + + + Returns how many characters have changed + + + + + Returns the starting document position where the style has been changed + + + + + Style of smart indent + + + + + No smart indent + + + + + C++ style indenting + + + + + Alternate C++ style indenting + + + + + Block indenting, the last indentation is retained in new lines + + + + + Represents a Scintilla text editor control. + + + + + Enables the brace matching from current position. + + + + + Adds a line _end marker to the _end of the document + + + + + Appends a copy of the specified string to the _end of this instance. + + The to append. + A representing the appended text. + + + + Creates and returns a new object. + + A new object. + + + + Creates and returns a new object. + + A new object. + + + + Overridden. See . + + + + + Creates and returns a new object. + + A new object. + + + + Creates and returns a new object. + + A new object. + + + + Creates and returns a new object. + + A new object. + + + + Sends the specified message directly to the native Scintilla window, + bypassing any managed APIs. + + The message ID. + The message wparam field. + The message lparam field. + An representing the result of the message request. + + Warning: The Surgeon General Has Determined that Calling the Underlying Scintilla + Window Directly May Result in Unexpected Behavior! + + + + + Overridden. Releases the unmanaged resources used by the and + its child controls and optionally releases the managed resources. + + true to release both managed and unmanaged resources; false to release only unmanaged resources. + + + + Exports a HTML representation of the current document. + + A containing the contents of the document formatted as HTML. + Only ASCII documents are supported. Other encoding types have undefined behavior. + + + + Exports a HTML representation of the current document. + + The with which to write. + The title of the HTML document. + + true to output all styles including those not + used in the document; otherwise, false. + + Only ASCII documents are supported. Other encoding types have undefined behavior. + + + + Gets the text of the line containing the caret. + + A representing the text of the line containing the caret. + + + + Gets the text of the line containing the caret and the current caret position within that line. + + When this method returns, contains the byte offset of the current caret position with the line. + A representing the text of the line containing the caret. + + + + Gets a word from the specified position + + + + + Inserts text at the current cursor position + + Text to insert + The range inserted + + + + Inserts text at the given position + + The position to insert text in + Text to insert + The text range inserted + + + + Overridden. See . + + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Overridden. See . + + + + + Raises the event. + + An that contains the event data. + + + + Provides the support for code block selection + + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Overridden. See . + + + + + Overridden. Raises the event. + + An that contains the event data. + + + + Raises the event. + + A that contains the event data. + + + + Raises the event. + + A that contains the event data. + + + + Raises the event. + + A that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Overridden. See . + + + + + Overridden. See . + + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Overridden. See . + + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Overridden. See . + + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Raises the event. + + An that contains the event data. + + + + Checks that if the specified position is on comment. + + + + + Checks that if the specified position is on comment. + + + + + Overridden. See . + + + + + Custom way to find the matching brace when BraceMatch() does not work + + + + + Sets the application-wide default module name of the native Scintilla library. + + The native Scintilla module name. + This method must be called prior to the first control being created. + The is null. + The is an empty string. + This method was called after the first control was created. + + + + Overridden. Processes Windows messages. + + The Windows to process. + + + + Increases the property by 1 point to a maximum of 20; + + + + + Decreases the property by 1 point to a minimum -10. + + + + + Handles Scintilla Call Style: + (,) + + Scintilla Message Number + + + + + Handles Scintilla Call Style: + (int,) + + Scintilla Message Number + wParam + + + + + Handles Scintilla Call Style: + (bool,) + + Scintilla Message Number + boolean wParam + + + + + Handles Scintilla Call Style: + (,stringresult) + Notes: + Helper method to wrap all calls to messages that take a char* + in the lParam and returns a regular .NET String. This overload + assumes there will be no wParam and obtains the string _length + by calling the message with a 0 lParam. + + Scintilla Message Number + String output + + + + + This is the primary Native communication method with Scintilla + used by this control. All the other overloads call into this one. + + + + + Handles Scintilla Call Style: + (int,int) + + Scintilla Message Number + wParam + lParam + + + + + Handles Scintilla Call Style: + (int,uint) + + Scintilla Message Number + wParam + lParam + + + + + Handles Scintilla Call Style: + (,int) + + Scintilla Message Number + always pass null--Unused parameter + lParam + + + + + Handles Scintilla Call Style: + (bool,int) + + Scintilla Message Number + boolean wParam + int lParam + + + + + Handles Scintilla Call Style: + (int,bool) + + Scintilla Message Number + int wParam + boolean lParam + + + + + Handles Scintilla Call Style: + (int,stringresult) + Notes: + Helper method to wrap all calls to messages that take a char* + in the lParam and returns a regular .NET String. This overload + assumes there will be no wParam and obtains the string _length + by calling the message with a 0 lParam. + + Scintilla Message Number + String output + + + + + Handles Scintilla Call Style: + (?) + Notes: + Helper method to wrap all calls to messages that take a char* + in the wParam and set a regular .NET String in the lParam. + Both the _length of the string and an additional wParam are used + so that various string Message styles can be acommodated. + + Scintilla Message Number + int wParam + String output + _length of the input buffer + + + + + Handles Scintilla Call Style: + (int,string) + Notes: + This helper method handles all messages that take + const char* as an input string in the lParam. In + some messages Scintilla expects a NULL terminated string + and in others it depends on the string _length passed in + as wParam. This method handles both situations and will + NULL terminate the string either way. + + + Scintilla Message Number + int wParam + string lParam + + + + + Handles Scintilla Call Style: + (,string) + + Notes: + This helper method handles all messages that take + const char* as an input string in the lParam. In + some messages Scintilla expects a NULL terminated string + and in others it depends on the string _length passed in + as wParam. This method handles both situations and will + NULL terminate the string either way. + + + Scintilla Message Number + always pass null--Unused parameter + string lParam + + + + + Handles Scintilla Call Style: + (string,string) + + Notes: + Used by SCI_SETPROPERTY + + Scintilla Message Number + string wParam + string lParam + + + + + Handles Scintilla Call Style: + (string,stringresult) + + Notes: + This one is used specifically by SCI_GETPROPERTY and SCI_GETPROPERTYEXPANDED + so it assumes it's usage + + + Scintilla Message Number + string wParam + Stringresult output + + + + + Handles Scintilla Call Style: + (string,int) + + Scintilla Message Number + string wParam + int lParam + + + + + Handles Scintilla Call Style: + (string,) + + Scintilla Message Number + string wParam + + + + + Gets or sets a value indicating whether pressing ENTER creates a new line of text in the + control or activates the default button for the form. + + + true if the ENTER key creates a new line of text; false if the ENTER key activates + the default button for the form. The default is false. + + + + + Gets or sets a value indicating whether pressing the TAB key types a TAB character in the control + instead of moving the focus to the next control in the tab order. + + + true if users can enter tabs using the TAB key; false if pressing the TAB key + moves the focus. The default is false. + + + + + Gets a collection containing all annotations in the control. + + + A that contains all the annotations in the control. + + + + + Controls autocompletion behavior. + + + + + Gets or sets the background color for the control. + + + A that represents the background color of the control. + The default is . + + Settings this property resets any current document styling. + + + + This property is not relevant for this class. + + + + + This property is not relevant for this class. + + + + + Gets or sets the border style of the control. + + + A that represents the border type of the control. + The default is . + + + The value assigned is not one of the values. + + + + + Manages CallTip (Visual Studio-like code Tooltip) behaviors + + + + + Gets/Sets the Win32 Window Caption. Defaults to Type's FullName + + + + + Controls Caret Behavior + + + + + Gets Clipboard access for the control. + + A object the provides Clipboard access for the control. + + + + Controls behavior of keyboard bound commands. + + + + + Controls behavior of loading/managing ScintillaNET configurations. + + + + + Overridden. See . + + + + + Gets or sets the character index of the current caret position. + + The character index of the current caret position. + + + Gets or sets the default cursor for the control. + An object of type representing the current default cursor. + + + + Overridden. See . + + + + + Controls behavior of Documents + + + + + Controls behavior of automatic document navigation + + + + + Controls behavior of Drop Markers + + + + + Gets or sets the type of text encoding the control uses internally. + + The text encoding to use. The default is . + is null. + The specified encoding is not supported. + + The default encoding is suitable for most users. + Changing it can have unintended consequences. + + + + + Controls End Of Line Behavior + + + + + Gets or sets the font of the text displayed by the control. + + + The to apply to the text displayed by the control. + The default is the value of the property. + + Settings this property resets any current document styling. + + + + Gets or sets the foreground color of the control. + + + The foreground of the control. + The default is . + + Settings this property resets any current document styling. + + + + Gets an object used by the control to manage indicators. + + An object used to manage indicators. + + Indicators are used to display additional information over the top of styling. + They can be used to show, for example, syntax errors, deprecated names, and bad indentation by drawing underlines under text or boxes around text. + + + + + Gets or sets the line layout caching strategy in a control. + + + One of the enumeration values. + The default is . + + + The value assigned is not one of the values. + + Larger cache sizes increase performance at the expense of memory. + + + + Gets an object that controls line wrapping options in the control. + + A object that manages line wrapping options in a control. + + + + Gets a collection representing the marker objects and options within the control. + + A representing the marker objects and options within the control. + + + + Gets or sets a value that indicates that the control has been modified by the user since + the control was created or its contents were last set. + + + true if the control's contents have been modified; otherwise, false. + The default is false. + + + + + Gets the Scintilla direct object pointer that this control represents. + + An that represents the Scintilla direct object pointer of the control. + + Warning: The Surgeon General Has Determined that Calling the Underlying Scintilla + Window Directly May Result in Unexpected Behavior! + + + + + Gets or sets the position cache size used to layout short runs of text in a control. + + The size of the position cache in bytes. The default is 1024. + Larger cache sizes increase performance at the expense of memory. + + + + Gets an object that manages scrolling options in a control. + + A object that manages scrolling options in a control. + + + + Gets or sets a value indicating whether characters not considered alphanumeric (ASCII values 0 through 31) + are prevented as text input. + + + true to prevent control characters as input; otherwise, false. + The default is true. + + + + + Gets or sets the current text in the control. + + The text displayed in the control. + + + + Gets the _length of text in the control. + + The number of characters contained in the text of the control. + + + + Gets the display mode and style behavior associated with the control. + + A object that represents whitespace display mode and style behavior in a control. + + + + Gets or sets the current number of points added to or subtracted from the + font size when text is rendered in a control. + + The number of points by which the contents of the control is zoomed. + + + + Occurs when an annotation has changed. + + + + + Occurs when the user makes a selection from the auto-complete list. + + + + + Occurs when text is about to be removed from the document. + + + + + Occurs when text is about to be inserted into the document. + + + + + Occurs when the value of the property has changed. + + + + + Occurs when a user clicks on a call tip. + + + + + Occurs when the user types an ordinary text character (as opposed to a command character) into the text. + + + + + Occurs when the text or styling of the document changes or is about to change. + + + + + Occurs when a is about to be collected. + + + + + Occurs when a user actions such as a mouse move or key press ends a dwell (hover) activity. + + + + + Occurs when the user hovers the mouse (dwells) in one position for the dwell period. + + + + + Occurs when a folding change has occurred. + + + + + Occurs when a user clicks on text that is in a style with the hotspot attribute set. + + + + + Occurs when a user double-clicks on text that is in a style with the hotspot attribute set. + + + + + Occurs when a user releases a click on text that is in a style with the hotspot attribute set. + + + + + Occurs when the a clicks or releases the mouse on text that has an indicator. + + + + + Occurs when a range of lines that is currently invisible should be made visible. + + + + + Occurs when the control is first loaded. + + + + + Occurs each time a recordable change occurs. + + + + + Occurs when the mouse was clicked inside a margin that was marked as sensitive. + + + + + Occurs when one or more markers has changed in a line of text. + + + + + + Occurs when a user tries to modify text when in read-only mode. + + + + + Occurs when the control is scrolled. + + + + + Occurs when the selection has changed. + + + + + Occurs when the control is about to display or print text that requires styling. + + + + + Occurs when text has been removed from the document. + + + + + Occurs when text has been inserted into the document. + + + + + Occurs when the value of the property changes. + + + + + Holds the last previous selection's properties, to let us know when we should fire SelectionChanged + + + + + Controls color mode fore printing + + + + + Normal + + + + + Inverts the colors + + + + + Black Text on white background + + + + + Styled color text on white background + + + + + Styled color text on white background for unstyled background colors + + + + + This matches the Win32 NMHDR structure + + + + + Provides data for the MarginClick event + + + + + Initializes a new instance of the MarginClickEventArgs class. + + + Any Modifier keys (shift, alt, ctrl) that were in use at the + time the click event occured + + Document position of the line where the click occured + Document line # where the click occured + Margin where the click occured + marker number that should be toggled in result of the click + Whether the fold at the current line should be toggled + + + + Returns the Document line # where the click occured + + + + + Returns the Margin where the click occured + + + + + Returns any Modifier keys (shift, alt, ctrl) that were in use at the + time the click event occured + + + + + Returns the Document position of the line where the click occured + + + + + Gets/Sets whether the fold at the current line should be toggled + + + + + Gets/Sets the marker number that should be toggled in result of the click + + + + + Specifies the line layout caching strategy used by a control. + + + + + No line layout data is cached. + + + + + Line layout data of the current caret line is cached. + + + + + Line layout data for all visible lines and the current caret line are cached. + + + + + Line layout data for the entire document is cached. + + + + + Built in lexers supported by Scintilla + + + + + No lexing is performed, the Containing application must respond to StyleNeeded events + + + + + No lexing is performed + + + + + Manages End of line settings for the Scintilla Control + + + + + Converts all lines in the document to the given mode. + + The EndOfLineMode to convert all lines to + + + + Return as a string the characters used to mean _end-of-line. This depends solely on the + selected EOL mode. + + Should Mode not be CR, LF or CrLf, this function returns the empty string. + + + + Gets/Sets if End of line markers are visible in the Scintilla control. + + + + + Gets/Sets the for the document. Default is CrLf. + + + Changing this value does NOT change all EOL marks in a currently-loaded document. + To do this, use ConvertAllLines. + + + + + Represents an arrow in the CallTip + + + + + No arrow + + + + + The Up arrow + + + + + The Down Arrow + + + + + Provides data for native Scintilla Events + + + All events fired from the INativeScintilla Interface uses + NativeScintillaEventArgs. Msg is a copy + of the Notification Message sent to Scintilla's Parent WndProc + and SCNotification is the SCNotification Struct pointed to by + Msg's lParam. + + + + + Initializes a new instance of the NativeScintillaEventArgs class. + + Notification Message sent from the native Scintilla + SCNotification structure sent from Scintilla that contains the event data + + + + Notification Message sent from the native Scintilla + + + + + SCNotification structure sent from Scintilla that contains the event data + + + + + Provides data for the MacroRecorded event + + + + + Initializes a new instance of the MacroRecordEventArgs class. + + the recorded window message that can be sent back to the native Scintilla window + + + + Initializes a new instance of the MacroRecordEventArgs class. + + NativeScintillaEventArgs object containing the message data + + + + Returns the recorded window message that can be sent back to the native Scintilla window + + + + + Mostly behaves like a stack but internally maintains a List for more flexability + + + FakeStack is not a general purpose datastructure and can only hold NavigationPoint objects + + + + + Manages commands, which are actions in ScintillaNET that can be bound to key combinations. + + + + + Adds a key combination to a Command + + Character corresponding to a (keyboard) key to trigger command + Command to execute + + + + Adds a key combination to a Command + + Character corresponding to a (keyboard) key to trigger command + Shift, alt, ctrl + Command to execute + + + + Adds a key combination to a Command + + Key to trigger command + Command to execute + + + + Adds a key combination to a Command + + Key to trigger command + Shift, alt, ctrl + Command to execute + + + + Executes a Command + + Any + Value to indicate whether other bound commands should continue to execute + + + + Returns a list of Commands bound to a keyboard shortcut + + Character corresponding to a (keyboard) key to trigger command + List of Commands bound to a keyboard shortcut + + + + Returns a list of Commands bound to a keyboard shortcut + + Character corresponding to a (keyboard) key to trigger command + Shift, alt, ctrl + List of Commands bound to a keyboard shortcut + + + + Returns a list of Commands bound to a keyboard shortcut + + Key to trigger command + List of Commands bound to a keyboard shortcut + + + + Returns a list of Commands bound to a keyboard shortcut + + Key to trigger command + Shift, alt, ctrl + List of Commands bound to a keyboard shortcut + + + + Returns a list of KeyBindings bound to a given command + + Command to execute + List of KeyBindings bound to the given command + + + + Removes all key command bindings + + + Performing this action will make ScintillaNET virtually unusable until you assign new command bindings. + This removes even basic functionality like arrow keys, common clipboard commands, home/_end, etc. + + + + + Removes all commands bound to a keyboard shortcut + + Character corresponding to a (keyboard) key to trigger command + + + + Removes a keyboard shortcut / command combination + + Character corresponding to a (keyboard) key to trigger command + Command to execute + + + + Removes all commands bound to a keyboard shortcut + + Character corresponding to a (keyboard) key to trigger command + Shift, alt, ctrl + + + + Removes a keyboard shortcut / command combination + + Character corresponding to a (keyboard) key to trigger command + Shift, alt, ctrl + Command to execute + + + + Removes all commands bound to a keyboard shortcut + + Key to trigger command + + + + Removes a keyboard shortcut / command combination + + Key to trigger command + Command to execute + + + + Removes all commands bound to a keyboard shortcut + + Key to trigger command + Shift, alt, ctrl + + + + Removes a keyboard shortcut / command combination + + Key to trigger command + Shift, alt, ctrl + Command to execute + + + + Gets/Sets if a key combination can be bound to more than one command. (default is true) + + + When set to false only the first command bound to a key combination is kept. + Subsequent requests are ignored. + + + + diff --git a/bonus630.CDRCommon.targets b/bonus630.CDRCommon.targets new file mode 100644 index 0000000..f9b3830 --- /dev/null +++ b/bonus630.CDRCommon.targets @@ -0,0 +1,86 @@ + + + + + + + D:\Program Files\Corel\CorelDRAW Graphics Suite X7\Programs64\ + X7 + X7 + + + + + + c:\program files\corel\coreldraw graphics suite x8\programs64\ + X8 + X8 + + + + + + c:\program files\corel\coreldraw graphics suite 2017\programs64\ + 2017 + X9 + + + + + + c:\program files\corel\coreldraw graphics suite 2018\programs64\ + 2018 + X10 + + + + + + c:\program files\corel\coreldraw graphics suite 2019\programs64\ + 2019 + X11 + + + + + + c:\program files\corel\coreldraw graphics suite 2020\programs64\ + 2020 + X12 + + + + + + c:\program files\corel\coreldraw graphics suite 2021\programs64\ + 2021 + X13 + + + + + + D:\Program Files\Corel\CorelDRAW Graphics Suite 2022\Programs64\ + 2022 + X14 + + + + + + D:\Program Files\Corel\CorelDRAW Graphics Suite\25\Programs64\ + 25 + X15 + + + + + Assemblies\Corel.Interop.VGCore.dll + + + + + + + + \ No newline at end of file