diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..d8e33fd
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,37 @@
+# editorconfig.org
+
+root = true
+
+[*]
+indent_style = space
+indent_size = 4
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.{bat,cmd,ps1}]
+end_of_line = crlf
+
+[*.{html,htm,xhtml,xhtm,xml}]
+indent_size = 2
+
+[*.{css,scss,sass}]
+indent_size = 2
+
+[*.{json}]
+insert_final_newline = false
+
+[*.{yml,yaml}]
+indent_style = space
+indent_size = 2
+
+[*.csproj]
+indent_style = unset
+indent_size = 2
+
+[*.{props,targets}]
+indent_style = space
+indent_size = 2
+
+[[Aa]pp.{config,manifest}]
+indent_style = space
+indent_size = 2
diff --git a/.gitignore b/.gitignore
index 2dd5afc..81408c1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,48 +1,86 @@
+/registry/
+
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
+##
+## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
# User-specific files
+*.rsuser
*.suo
*.user
*.userosscache
*.sln.docstates
+# User-specific files (MonoDevelop/Xamarin Studio)
+*.userprefs
+
+# Mono auto generated files
+mono_crash.*
+
# Build results
[Dd]ebug/
[Dd]ebugPublic/
[Rr]elease/
[Rr]eleases/
-build/
+x64/
+x86/
+[Ww][Ii][Nn]32/
+[Aa][Rr][Mm]/
+[Aa][Rr][Mm]64/
bld/
[Bb]in/
[Oo]bj/
+[Ll]og/
+[Ll]ogs/
+
+# Visual Studio 2015/2017 cache/options directory
+.vs/
+# Uncomment if you have tasks that create the project's static files in wwwroot
+#wwwroot/
-# Roslyn cache directories
-*.ide/
+# Visual Studio 2017 auto generated files
+Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
-# Visual Studio 2015/2017 cache/options directory
-.vs/
-
-#NUNIT
+# NUnit
*.VisualState.xml
TestResult.xml
+nunit-*.xml
# Build Results of an ATL Project
[Dd]ebugPS/
[Rr]eleasePS/
dlldata.c
+# Benchmark Results
+BenchmarkDotNet.Artifacts/
+
+# .NET Core
+project.lock.json
+project.fragment.lock.json
+artifacts/
+
+# ASP.NET Scaffolding
+ScaffoldingReadMe.txt
+
+# StyleCop
+StyleCopReport.xml
+
+# Files built by Visual Studio
*_i.c
*_p.c
-*_i.h
+*_h.h
*.ilk
*.meta
*.obj
+*.iobj
*.pch
+*.pdb
+*.ipdb
*.pgc
*.pgd
*.rsp
@@ -52,7 +90,9 @@ dlldata.c
*.tlh
*.tmp
*.tmp_proj
+*_wpftmp.csproj
*.log
+*.tlog
*.vspscc
*.vssscc
.builds
@@ -67,14 +107,21 @@ _Chutzpah*
ipch/
*.aps
*.ncb
+*.opendb
*.opensdf
*.sdf
*.cachefile
+*.VC.db
+*.VC.VC.opendb
# Visual Studio profiler
*.psess
*.vsp
*.vspx
+*.sap
+
+# Visual Studio Trace Files
+*.e2e
# TFS 2012 Local Workspace
$tf/
@@ -87,18 +134,29 @@ _ReSharper*/
*.[Rr]e[Ss]harper
*.DotSettings.user
-# JustCode is a .NET coding addin-in
-.JustCode
-
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
+# AxoCover is a Code Coverage Tool
+.axoCover/*
+!.axoCover/settings.json
+
+# Coverlet is a free, cross platform Code Coverage Tool
+coverage*.json
+coverage*.xml
+coverage*.info
+
+# Visual Studio code coverage results
+*.coverage
+*.coveragexml
+
# NCrunch
_NCrunch_*
.*crunch*.local.xml
+nCrunchTemp_*
# MightyMoose
*.mm.*
@@ -126,39 +184,71 @@ publish/
# Publish Web Output
*.[Pp]ublish.xml
*.azurePubxml
-# TODO: Comment the next line if you want to checkin your web deploy settings
+# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
*.publishproj
+# Microsoft Azure Web App publish settings. Comment the next line if you want to
+# checkin your Azure Web App publish settings, but sensitive information contained
+# in these scripts will be unencrypted
+PublishScripts/
+
# NuGet Packages
*.nupkg
+# NuGet Symbol Packages
+*.snupkg
# The packages folder can be ignored because of Package Restore
-**/packages/*
+**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
-!**/packages/build/
-# If using the old MSBuild-Integrated Package Restore, uncomment this:
-#!**/packages/repositories.config
-
-# Windows Azure Build Output
+!**/[Pp]ackages/build/
+# Uncomment if necessary however generally it will be regenerated when needed
+#!**/[Pp]ackages/repositories.config
+# NuGet v3's project.json files produces more ignorable files
+*.nuget.props
+*.nuget.targets
+
+# Microsoft Azure Build Output
csx/
*.build.csdef
-# Windows Store app package directory
+# Microsoft Azure Emulator
+ecf/
+rcf/
+
+# Windows Store app package directories and files
AppPackages/
+BundleArtifacts/
+Package.StoreAssociation.xml
+_pkginfo.txt
+*.appx
+*.appxbundle
+*.appxupload
+
+# Visual Studio cache files
+# files ending in .cache can be ignored
+*.[Cc]ache
+# but keep track of directories ending in .cache
+!?*.[Cc]ache/
# Others
-sql/
-*.Cache
ClientBin/
-[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.dbproj.schemaview
+*.jfm
*.pfx
*.publishsettings
-node_modules/
+orleans.codegen.cs
+
+# Including strong name files can present a security risk
+# (https://github.com/github/gitignore/pull/2483#issue-259490424)
+#*.snk
+
+# Since there are multiple workflows, uncomment next line to ignore bower_components
+# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
+#bower_components/
# RIA/Silverlight projects
Generated_Code/
@@ -170,65 +260,141 @@ _UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
+ServiceFabricBackup/
+*.rptproj.bak
# SQL Server files
*.mdf
*.ldf
+*.ndf
# Business Intelligence projects
*.rdl.data
*.bim.layout
*.bim_*.settings
+*.rptproj.rsuser
+*- [Bb]ackup.rdl
+*- [Bb]ackup ([0-9]).rdl
+*- [Bb]ackup ([0-9][0-9]).rdl
# Microsoft Fakes
FakesAssemblies/
-# =========================
-# Operating System Files
-# =========================
+# GhostDoc plugin setting file
+*.GhostDoc.xml
+
+# Node.js Tools for Visual Studio
+.ntvs_analysis.dat
+node_modules/
+
+# Visual Studio 6 build log
+*.plg
+
+# Visual Studio 6 workspace options file
+*.opt
+
+# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
+*.vbw
+
+# Visual Studio 6 auto-generated project file (contains which files were open etc.)
+*.vbp
+
+# Visual Studio 6 workspace and project file (working project files containing files to include in project)
+*.dsw
+*.dsp
+
+# Visual Studio 6 technical files
+*.ncb
+*.aps
+
+# Visual Studio LightSwitch build output
+**/*.HTMLClient/GeneratedArtifacts
+**/*.DesktopClient/GeneratedArtifacts
+**/*.DesktopClient/ModelManifest.xml
+**/*.Server/GeneratedArtifacts
+**/*.Server/ModelManifest.xml
+_Pvt_Extensions
+
+# Paket dependency manager
+.paket/paket.exe
+paket-files/
+
+# FAKE - F# Make
+.fake/
+
+# CodeRush personal settings
+.cr/personal
+
+# Python Tools for Visual Studio (PTVS)
+__pycache__/
+*.pyc
+
+# Cake - Uncomment if you are using it
+# tools/**
+# !tools/packages.config
+
+# Tabs Studio
+*.tss
+
+# Telerik's JustMock configuration file
+*.jmconfig
+
+# BizTalk build output
+*.btp.cs
+*.btm.cs
+*.odx.cs
+*.xsd.cs
+
+# OpenCover UI analysis results
+OpenCover/
+
+# Azure Stream Analytics local run output
+ASALocalRun/
+
+# MSBuild Binary and Structured Log
+*.binlog
+
+# NVidia Nsight GPU debugger configuration file
+*.nvuser
-# OSX
-# =========================
+# MFractors (Xamarin productivity tool) working folder
+.mfractor/
-.DS_Store
-.AppleDouble
-.LSOverride
+# Local History for Visual Studio
+.localhistory/
-# Thumbnails
-._*
+# Visual Studio History (VSHistory) files
+.vshistory/
-# Files that might appear on external disk
-.Spotlight-V100
-.Trashes
+# BeatPulse healthcheck temp database
+healthchecksdb
-# Directories potentially created on remote AFP share
-.AppleDB
-.AppleDesktop
-Network Trash Folder
-Temporary Items
-.apdisk
+# Backup folder for Package Reference Convert tool in Visual Studio 2017
+MigrationBackup/
-# Windows
-# =========================
+# Ionide (cross platform F# VS Code tools) working folder
+.ionide/
-# Windows image file caches
-Thumbs.db
-ehthumbs.db
+# Fody - auto-generated XML schema
+FodyWeavers.xsd
-# Folder config file
-Desktop.ini
+# VS Code files for those working on multiple tools
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
-# Recycle Bin used on file shares
-$RECYCLE.BIN/
+# Local History for Visual Studio Code
+.history/
-# Windows Installer files
+# Windows Installer files from build outputs
*.cab
*.msi
+*.msix
*.msm
*.msp
-# Windows shortcuts
-*.lnk
-/src/nuget_push.bat
-/Shared/x64/wscite
-/Shared/x86/wscite
+# JetBrains Rider
+*.sln.iml
diff --git a/Scintilla.NET.TestApp/App.config b/Scintilla.NET.TestApp/App.config
index 016d28f..17bd7dd 100644
--- a/Scintilla.NET.TestApp/App.config
+++ b/Scintilla.NET.TestApp/App.config
@@ -1,6 +1,6 @@
-
-
-
-
\ No newline at end of file
+
+
+
+
diff --git a/Scintilla.NET.TestApp/FormMain.Designer.cs b/Scintilla.NET.TestApp/FormMain.Designer.cs
index ed0ca59..138f53d 100644
--- a/Scintilla.NET.TestApp/FormMain.Designer.cs
+++ b/Scintilla.NET.TestApp/FormMain.Designer.cs
@@ -1,4 +1,4 @@
-namespace Scintilla.NET.TestApp
+namespace ScintillaNET.TestApp
{
partial class FormMain
{
@@ -28,158 +28,207 @@ protected override void Dispose(bool disposing)
///
private void InitializeComponent()
{
- this.scintilla = new ScintillaNET.Scintilla();
- this.msMain = new System.Windows.Forms.MenuStrip();
- this.mnuFile = new System.Windows.Forms.ToolStripMenuItem();
- this.mnuOpen = new System.Windows.Forms.ToolStripMenuItem();
- this.mnuExit = new System.Windows.Forms.ToolStripMenuItem();
- this.mnuTestMethod = new System.Windows.Forms.ToolStripMenuItem();
- this.lexillaTestsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.listLexersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
- this.odFile = new System.Windows.Forms.OpenFileDialog();
- this.textBox1 = new System.Windows.Forms.TextBox();
- this.scintilla1 = new ScintillaNET.Scintilla();
- this.msMain.SuspendLayout();
- this.SuspendLayout();
- //
- // scintilla
- //
- this.scintilla.AutoCMaxHeight = 9;
- this.scintilla.BiDirectionality = ScintillaNET.BiDirectionalDisplayType.Disabled;
- this.scintilla.CaretLineBackColor = System.Drawing.Color.White;
- this.scintilla.CaretLineVisible = true;
- this.scintilla.LexerName = null;
- this.scintilla.Location = new System.Drawing.Point(0, 24);
- this.scintilla.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.scintilla.Name = "scintilla";
- this.scintilla.ScrollWidth = 6;
- this.scintilla.Size = new System.Drawing.Size(331, 426);
- this.scintilla.TabIndents = true;
- this.scintilla.TabIndex = 0;
- this.scintilla.UseRightToLeftReadingLayout = false;
- this.scintilla.WrapMode = ScintillaNET.WrapMode.None;
- this.scintilla.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.scintilla_MouseDoubleClick);
- //
- // msMain
- //
- this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.mnuFile,
- this.mnuTestMethod,
- this.lexillaTestsToolStripMenuItem});
- this.msMain.Location = new System.Drawing.Point(0, 0);
- this.msMain.Name = "msMain";
- this.msMain.Size = new System.Drawing.Size(800, 24);
- this.msMain.TabIndex = 1;
- this.msMain.Text = "menuStrip1";
- //
- // mnuFile
- //
- this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.mnuOpen,
- this.mnuExit});
- this.mnuFile.Name = "mnuFile";
- this.mnuFile.Size = new System.Drawing.Size(37, 20);
- this.mnuFile.Text = "File";
- //
- // mnuOpen
- //
- this.mnuOpen.Name = "mnuOpen";
- this.mnuOpen.Size = new System.Drawing.Size(124, 22);
- this.mnuOpen.Text = "Open File";
- this.mnuOpen.Click += new System.EventHandler(this.mnuOpen_Click);
- //
- // mnuExit
- //
- this.mnuExit.Name = "mnuExit";
- this.mnuExit.Size = new System.Drawing.Size(124, 22);
- this.mnuExit.Text = "Exit";
- this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
- //
- // mnuTestMethod
- //
- this.mnuTestMethod.Name = "mnuTestMethod";
- this.mnuTestMethod.Size = new System.Drawing.Size(160, 20);
- this.mnuTestMethod.Text = "Test some Scintilla method";
- this.mnuTestMethod.Click += new System.EventHandler(this.mnuTestMethod_Click);
- //
- // lexillaTestsToolStripMenuItem
- //
- this.lexillaTestsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.listLexersToolStripMenuItem});
- this.lexillaTestsToolStripMenuItem.Name = "lexillaTestsToolStripMenuItem";
- this.lexillaTestsToolStripMenuItem.Size = new System.Drawing.Size(80, 20);
- this.lexillaTestsToolStripMenuItem.Text = "Lexilla Tests";
- //
- // listLexersToolStripMenuItem
- //
- this.listLexersToolStripMenuItem.Name = "listLexersToolStripMenuItem";
- this.listLexersToolStripMenuItem.Size = new System.Drawing.Size(128, 22);
- this.listLexersToolStripMenuItem.Text = "List Lexers";
- this.listLexersToolStripMenuItem.Click += new System.EventHandler(this.listLexersToolStripMenuItem_Click);
- //
- // odFile
- //
- this.odFile.DefaultExt = "*.*";
- this.odFile.Filter = "All Files|*.*";
- //
- // textBox1
- //
- this.textBox1.Location = new System.Drawing.Point(364, 56);
- this.textBox1.Name = "textBox1";
- this.textBox1.Size = new System.Drawing.Size(169, 23);
- this.textBox1.TabIndex = 2;
- //
- // scintilla1
- //
- this.scintilla1.AutoCMaxHeight = 9;
- this.scintilla1.BiDirectionality = ScintillaNET.BiDirectionalDisplayType.Disabled;
- this.scintilla1.CaretLineBackColor = System.Drawing.Color.White;
- this.scintilla1.CaretLineVisible = true;
- this.scintilla1.LexerName = null;
- this.scintilla1.Location = new System.Drawing.Point(364, 96);
- this.scintilla1.Name = "scintilla1";
- this.scintilla1.ScrollWidth = 49;
- this.scintilla1.Size = new System.Drawing.Size(374, 323);
- this.scintilla1.TabIndents = true;
- this.scintilla1.TabIndex = 3;
- this.scintilla1.Text = "scintilla1";
- this.scintilla1.UseRightToLeftReadingLayout = false;
- this.scintilla1.WrapMode = ScintillaNET.WrapMode.None;
- //
- // FormMain
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
- this.Controls.Add(this.scintilla1);
- this.Controls.Add(this.textBox1);
- this.Controls.Add(this.scintilla);
- this.Controls.Add(this.msMain);
- this.MainMenuStrip = this.msMain;
- this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.Name = "FormMain";
- this.Text = "ScintillaNET.TestApp";
- this.Shown += new System.EventHandler(this.FormMain_Shown);
- this.msMain.ResumeLayout(false);
- this.msMain.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormMain));
+ this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
+ this.scintilla = new ScintillaNET.Scintilla();
+ this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
+ this.toolStripStatusLabel_Version = new System.Windows.Forms.ToolStripStatusLabel();
+ this.statusStrip = new System.Windows.Forms.StatusStrip();
+ this.fileToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.openToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolStripSeparator = new System.Windows.Forms.ToolStripSeparator();
+ this.saveToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.toolsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.describeKeywordSetsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.optionsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.menuStrip = new System.Windows.Forms.MenuStrip();
+ this.lexersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
+ this.saveFileDialog = new System.Windows.Forms.SaveFileDialog();
+ this.statusStrip.SuspendLayout();
+ this.menuStrip.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // openFileDialog
+ //
+ this.openFileDialog.Filter = "All Files|*.*";
+ //
+ // scintilla
+ //
+ this.scintilla._ScintillaManagedDragDrop = true;
+ this.scintilla.BorderStyle = ScintillaNET.BorderStyle.Fixed3DVisualStyles;
+ this.scintilla.CaretLineBackColor = System.Drawing.Color.FromArgb(((int)(((byte)(232)))), ((int)(((byte)(232)))), ((int)(((byte)(255)))));
+ this.scintilla.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.scintilla.FoldLineStripColor = System.Drawing.Color.Gray;
+ this.scintilla.Font = new System.Drawing.Font("Consolas", 10.2F);
+ this.scintilla.LexerName = null;
+ this.scintilla.Location = new System.Drawing.Point(0, 28);
+ this.scintilla.Name = "scintilla";
+ this.scintilla.ScrollWidth = 1;
+ this.scintilla.Size = new System.Drawing.Size(914, 426);
+ this.scintilla.TabIndex = 2;
+ this.scintilla.TextChanged += new System.EventHandler(this.scintilla_TextChanged);
+ this.scintilla.KeyDown += new System.Windows.Forms.KeyEventHandler(this.scintilla_KeyDown);
+ //
+ // toolStripStatusLabel
+ //
+ this.toolStripStatusLabel.Name = "toolStripStatusLabel";
+ this.toolStripStatusLabel.Size = new System.Drawing.Size(13, 20);
+ this.toolStripStatusLabel.Text = " ";
+ //
+ // toolStripStatusLabel_Version
+ //
+ this.toolStripStatusLabel_Version.Name = "toolStripStatusLabel_Version";
+ this.toolStripStatusLabel_Version.Size = new System.Drawing.Size(886, 20);
+ this.toolStripStatusLabel_Version.Spring = true;
+ this.toolStripStatusLabel_Version.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
+ //
+ // statusStrip
+ //
+ this.statusStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
+ this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripStatusLabel,
+ this.toolStripStatusLabel_Version});
+ this.statusStrip.Location = new System.Drawing.Point(0, 454);
+ this.statusStrip.Name = "statusStrip";
+ this.statusStrip.Size = new System.Drawing.Size(914, 26);
+ this.statusStrip.SizingGrip = false;
+ this.statusStrip.TabIndex = 3;
+ //
+ // fileToolStripMenuItem
+ //
+ this.fileToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.openToolStripMenuItem,
+ this.toolStripSeparator,
+ this.saveToolStripMenuItem});
+ this.fileToolStripMenuItem.Name = "fileToolStripMenuItem";
+ this.fileToolStripMenuItem.Size = new System.Drawing.Size(46, 24);
+ this.fileToolStripMenuItem.Text = "&File";
+ //
+ // openToolStripMenuItem
+ //
+ this.openToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("openToolStripMenuItem.Image")));
+ this.openToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.openToolStripMenuItem.Name = "openToolStripMenuItem";
+ this.openToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O)));
+ this.openToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
+ this.openToolStripMenuItem.Text = "&Open";
+ this.openToolStripMenuItem.Click += new System.EventHandler(this.openToolStripMenuItem_Click);
+ //
+ // toolStripSeparator
+ //
+ this.toolStripSeparator.Name = "toolStripSeparator";
+ this.toolStripSeparator.Size = new System.Drawing.Size(178, 6);
+ //
+ // saveToolStripMenuItem
+ //
+ this.saveToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("saveToolStripMenuItem.Image")));
+ this.saveToolStripMenuItem.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.saveToolStripMenuItem.Name = "saveToolStripMenuItem";
+ this.saveToolStripMenuItem.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
+ this.saveToolStripMenuItem.Size = new System.Drawing.Size(181, 26);
+ this.saveToolStripMenuItem.Text = "&Save";
+ this.saveToolStripMenuItem.Click += new System.EventHandler(this.saveToolStripMenuItem_Click);
+ //
+ // toolsToolStripMenuItem
+ //
+ this.toolsToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.describeKeywordSetsToolStripMenuItem,
+ this.optionsToolStripMenuItem});
+ this.toolsToolStripMenuItem.Name = "toolsToolStripMenuItem";
+ this.toolsToolStripMenuItem.Size = new System.Drawing.Size(58, 24);
+ this.toolsToolStripMenuItem.Text = "&Tools";
+ //
+ // describeKeywordSetsToolStripMenuItem
+ //
+ this.describeKeywordSetsToolStripMenuItem.Name = "describeKeywordSetsToolStripMenuItem";
+ this.describeKeywordSetsToolStripMenuItem.Size = new System.Drawing.Size(243, 26);
+ this.describeKeywordSetsToolStripMenuItem.Text = "Describe &Keyword Sets";
+ this.describeKeywordSetsToolStripMenuItem.Click += new System.EventHandler(this.describeKeywordSetsToolStripMenuItem_Click);
+ //
+ // optionsToolStripMenuItem
+ //
+ this.optionsToolStripMenuItem.Enabled = false;
+ this.optionsToolStripMenuItem.Name = "optionsToolStripMenuItem";
+ this.optionsToolStripMenuItem.Size = new System.Drawing.Size(243, 26);
+ this.optionsToolStripMenuItem.Text = "&Options";
+ //
+ // helpToolStripMenuItem
+ //
+ this.helpToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.aboutToolStripMenuItem});
+ this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
+ this.helpToolStripMenuItem.Size = new System.Drawing.Size(55, 24);
+ this.helpToolStripMenuItem.Text = "&Help";
+ //
+ // aboutToolStripMenuItem
+ //
+ this.aboutToolStripMenuItem.Enabled = false;
+ this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
+ this.aboutToolStripMenuItem.Size = new System.Drawing.Size(142, 26);
+ this.aboutToolStripMenuItem.Text = "&About...";
+ //
+ // menuStrip
+ //
+ this.menuStrip.ImageScalingSize = new System.Drawing.Size(20, 20);
+ this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.fileToolStripMenuItem,
+ this.lexersToolStripMenuItem,
+ this.toolsToolStripMenuItem,
+ this.helpToolStripMenuItem});
+ this.menuStrip.Location = new System.Drawing.Point(0, 0);
+ this.menuStrip.Name = "menuStrip";
+ this.menuStrip.Size = new System.Drawing.Size(914, 28);
+ this.menuStrip.TabIndex = 1;
+ //
+ // lexersToolStripMenuItem
+ //
+ this.lexersToolStripMenuItem.Name = "lexersToolStripMenuItem";
+ this.lexersToolStripMenuItem.Size = new System.Drawing.Size(64, 24);
+ this.lexersToolStripMenuItem.Text = "Lexers";
+ //
+ // FormMain
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(120F, 120F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
+ this.ClientSize = new System.Drawing.Size(914, 480);
+ this.Controls.Add(this.scintilla);
+ this.Controls.Add(this.statusStrip);
+ this.Controls.Add(this.menuStrip);
+ this.MainMenuStrip = this.menuStrip;
+ this.Margin = new System.Windows.Forms.Padding(5, 3, 5, 3);
+ this.Name = "FormMain";
+ this.Text = "Scintilla.NET Test App";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormMain_FormClosing);
+ this.Shown += new System.EventHandler(this.FormMain_Shown);
+ this.statusStrip.ResumeLayout(false);
+ this.statusStrip.PerformLayout();
+ this.menuStrip.ResumeLayout(false);
+ this.menuStrip.PerformLayout();
+ this.ResumeLayout(false);
+ this.PerformLayout();
}
#endregion
-
+ private System.Windows.Forms.OpenFileDialog openFileDialog;
private ScintillaNET.Scintilla scintilla;
- private System.Windows.Forms.MenuStrip msMain;
- private System.Windows.Forms.ToolStripMenuItem mnuFile;
- private System.Windows.Forms.ToolStripMenuItem mnuOpen;
- private System.Windows.Forms.ToolStripMenuItem mnuExit;
- private System.Windows.Forms.OpenFileDialog odFile;
- private System.Windows.Forms.ToolStripMenuItem mnuTestMethod;
- private System.Windows.Forms.ToolStripMenuItem lexillaTestsToolStripMenuItem;
- private System.Windows.Forms.ToolStripMenuItem listLexersToolStripMenuItem;
- private System.Windows.Forms.TextBox textBox1;
- private ScintillaNET.Scintilla scintilla1;
+ private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel;
+ private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabel_Version;
+ private System.Windows.Forms.StatusStrip statusStrip;
+ private System.Windows.Forms.ToolStripMenuItem fileToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem openToolStripMenuItem;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator;
+ private System.Windows.Forms.ToolStripMenuItem saveToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem toolsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem optionsToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem helpToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem aboutToolStripMenuItem;
+ private System.Windows.Forms.MenuStrip menuStrip;
+ private System.Windows.Forms.SaveFileDialog saveFileDialog;
+ private System.Windows.Forms.ToolStripMenuItem lexersToolStripMenuItem;
+ private System.Windows.Forms.ToolStripMenuItem describeKeywordSetsToolStripMenuItem;
}
}
diff --git a/Scintilla.NET.TestApp/FormMain.cs b/Scintilla.NET.TestApp/FormMain.cs
index b39576e..fb8a774 100644
--- a/Scintilla.NET.TestApp/FormMain.cs
+++ b/Scintilla.NET.TestApp/FormMain.cs
@@ -1,96 +1,198 @@
using System;
+using System.Collections.Generic;
using System.Drawing;
using System.IO;
+using System.Linq;
+using System.Text;
using System.Windows.Forms;
-using ScintillaNET;
-namespace Scintilla.NET.TestApp;
+namespace ScintillaNET.TestApp;
public partial class FormMain : Form
{
public FormMain()
{
InitializeComponent();
- // ReSharper disable once VirtualMemberCallInConstructor
- Text += @" © desjarlais " + DateTime.Now.Year;
- // scintilla.Technology = Technology.DirectWrite;
- }
- private void mnuOpen_Click(object sender, EventArgs e)
- {
- if (odFile.ShowDialog() == DialogResult.OK)
+ scintilla.LexerName = "cpp";
+
+ SetScintillaStyles(scintilla);
+ AdjustLineNumberMargin(scintilla);
+ AdjustFoldMargin(scintilla);
+
+ Version scintillaNetVersion = scintilla.GetType().Assembly.GetName().Version;
+ string version = scintillaNetVersion.Revision == 0 ? scintillaNetVersion.ToString(3) : scintillaNetVersion.ToString();
+ string scintillaVersion = scintilla.ScintillaVersion;
+ string lexillaVersion = scintilla.LexillaVersion;
+
+ toolStripStatusLabel_Version.Text = $"ScintillaNET v{version} (Scintilla v{scintillaVersion}, Lexilla v{lexillaVersion})";
+
+ foreach (var group in Lexilla.GetLexerNames().ToArray().OrderBy(x => x).GroupBy(x => char.ToUpperInvariant(x[0])))
{
- scintilla.Text = File.ReadAllText(odFile.FileName);
- scintilla.EmptyUndoBuffer();
- SetLexerCs();
+ char first = group.Key;
+
+ if (group.Count() > 1)
+ {
+ var item = (ToolStripMenuItem)lexersToolStripMenuItem.DropDownItems.Add(first.ToString());
+
+ foreach (string lexer in group)
+ item.DropDownItems.Add(lexer, null, Lexer_Click);
+ }
+ else
+ lexersToolStripMenuItem.DropDownItems.Add(group.Single(), null, Lexer_Click);
}
}
- private void SetLexerCs()
+ private void Lexer_Click(object sender, EventArgs e)
+ {
+ ToolStripItem item = (ToolStripItem)sender;
+ scintilla.LexerName = item.Text;
+ SetScintillaStyles(scintilla);
+ scintilla.Colorize(0, scintilla.TextLength);
+ AdjustFoldMargin(scintilla);
+ }
+
+ private void FormMain_Shown(object sender, EventArgs e)
+ {
+ scintilla.Select();
+ }
+
+ private static void SetScintillaStyles(Scintilla scintilla)
{
- // Configuring the default style with properties
- // we have common to every lexer style saves time.
- scintilla.StyleResetDefault();
- scintilla.Styles[Style.Default].Font = "Consolas";
- scintilla.Styles[Style.Default].Size = 10;
scintilla.StyleClearAll();
// Configure the CPP (C#) lexer styles
- scintilla.Styles[Style.Cpp.Default].ForeColor = Color.Silver;
- scintilla.Styles[Style.Cpp.Comment].ForeColor = Color.FromArgb(0, 128, 0); // Green
- scintilla.Styles[Style.Cpp.CommentLine].ForeColor = Color.FromArgb(0, 128, 0); // Green
- scintilla.Styles[Style.Cpp.CommentLineDoc].ForeColor = Color.FromArgb(128, 128, 128); // Gray
- scintilla.Styles[Style.Cpp.Number].ForeColor = Color.Olive;
- scintilla.Styles[Style.Cpp.Word].ForeColor = Color.Blue;
- scintilla.Styles[Style.Cpp.Word2].ForeColor = Color.Blue;
- scintilla.Styles[Style.Cpp.String].ForeColor = Color.FromArgb(163, 21, 21); // Red
- scintilla.Styles[Style.Cpp.Character].ForeColor = Color.FromArgb(163, 21, 21); // Red
- scintilla.Styles[Style.Cpp.Verbatim].ForeColor = Color.FromArgb(163, 21, 21); // Red
- scintilla.Styles[Style.Cpp.StringEol].BackColor = Color.Pink;
- scintilla.Styles[Style.Cpp.Operator].ForeColor = Color.Purple;
- scintilla.Styles[Style.Cpp.Preprocessor].ForeColor = Color.Maroon;
- scintilla.LexerName = "cpp";
+ scintilla.Styles[1].ForeColor = Color.FromArgb(0x00, 0x80, 0x00); // COMMENT
+ scintilla.Styles[2].ForeColor = Color.FromArgb(0x00, 0x80, 0x00); // COMMENT LINE
+ scintilla.Styles[3].ForeColor = Color.FromArgb(0x00, 0x80, 0x80); // COMMENT DOC
+ scintilla.Styles[4].ForeColor = Color.FromArgb(0xFF, 0x80, 0x00); // NUMBER
+ scintilla.Styles[5].ForeColor = Color.FromArgb(0x00, 0x00, 0xFF); // INSTRUCTION WORD
+ scintilla.Styles[6].ForeColor = Color.FromArgb(0x80, 0x80, 0x80); // STRING
+ scintilla.Styles[7].ForeColor = Color.FromArgb(0x80, 0x80, 0x80); // CHARACTER
+ scintilla.Styles[9].ForeColor = Color.FromArgb(0x80, 0x40, 0x00); // PREPROCESSOR
+ scintilla.Styles[10].ForeColor = Color.FromArgb(0x00, 0x00, 0x80); // OPERATOR
+ scintilla.Styles[11].ForeColor = Color.FromArgb(0x00, 0x00, 0x00); // DEFAULT
+ scintilla.Styles[13].ForeColor = Color.FromArgb(0x00, 0x00, 0x00); // VERBATIM
+ scintilla.Styles[14].ForeColor = Color.FromArgb(0x00, 0x00, 0x00); // REGEX
+ scintilla.Styles[15].ForeColor = Color.FromArgb(0x00, 0x80, 0x80); // COMMENT LINE DOC
+ scintilla.Styles[16].ForeColor = Color.FromArgb(0x80, 0x00, 0xFF); // TYPE WORD
+ scintilla.Styles[17].ForeColor = Color.FromArgb(0x00, 0x80, 0x80); // COMMENT DOC KEYWORD
+ scintilla.Styles[18].ForeColor = Color.FromArgb(0x00, 0x80, 0x80); // COMMENT DOC KEYWORD ERROR
+ scintilla.Styles[23].ForeColor = Color.FromArgb(0x00, 0x80, 0x00); // PREPROCESSOR COMMENT
+ scintilla.Styles[24].ForeColor = Color.FromArgb(0x00, 0x80, 0x80); // PREPROCESSOR COMMENT DOC
+ scintilla.Styles[5].Bold = true;
+ scintilla.Styles[10].Bold = true;
+ scintilla.Styles[14].Bold = true;
+ scintilla.Styles[17].Bold = true;
- // Set the keywords
scintilla.SetKeywords(0,
- "abstract as base break case catch checked continue default delegate do else event explicit extern false finally fixed for foreach goto if implicit in interface internal is lock namespace new null object operator out override params private protected public readonly ref return sealed sizeof stackalloc switch this throw true try typeof unchecked unsafe using virtual while");
+ "abstract add alias as ascending async await base break case catch checked continue default delegate descending do dynamic else event explicit extern false finally fixed for foreach from get global goto group if implicit in interface internal into is join let lock nameof namespace new null object operator orderby out override params partial private protected public readonly ref remove return sealed select set sizeof stackalloc switch this throw true try typeof unchecked unsafe using value virtual when where while yield");
scintilla.SetKeywords(1,
- "bool byte char class const decimal double enum float int long sbyte short static string struct uint ulong ushort void");
+ "bool byte char class const decimal double enum float int long nint nuint sbyte short static string struct uint ulong ushort var void");
+ }
+
+ private static byte CountDigits(int x)
+ {
+ if (x == 0)
+ return 1;
+
+ byte result = 0;
+ while (x > 0)
+ {
+ result++;
+ x /= 10;
+ }
+
+ return result;
}
- private void mnuExit_Click(object sender, EventArgs e)
+ private static readonly Dictionary maxLineNumberCharLengthMap = [];
+
+ private static void AdjustLineNumberMargin(Scintilla scintilla)
{
- Close();
+ int maxLineNumberCharLength = CountDigits(scintilla.Lines.Count);
+ if (maxLineNumberCharLength == (maxLineNumberCharLengthMap.TryGetValue(scintilla, out int charLen) ? charLen : 0))
+ return;
+
+ const int padding = 2;
+ scintilla.Margins[0].Width = scintilla.TextWidth(Style.LineNumber, new string('0', maxLineNumberCharLength + 1)) + padding;
+ maxLineNumberCharLengthMap[scintilla] = maxLineNumberCharLength;
}
- private void mnuTestMethod_Click(object sender, EventArgs e)
+ private static void AdjustFoldMargin(Scintilla scintilla)
{
- scintilla.ConvertEols(Eol.Cr);
- scintilla.Refresh();
-/* string ohm = "\u2126";
- string omega = "\u03C9".ToUpper();
- scintilla.Text = $"Ohm: {ohm}\r\nOmega: {omega}";
-
- scintilla.SetRepresentation(ohm, "OHM");
- scintilla.SetRepresentation(omega, "OMEGA");
-*/
+ // Instruct the lexer to calculate folding
+ scintilla.SetProperty("fold", "1");
+
+ // Configure a margin to display folding symbols
+ scintilla.Margins[2].Type = MarginType.Symbol;
+ scintilla.Margins[2].Mask = Marker.MaskFolders;
+ scintilla.Margins[2].Sensitive = true;
+ scintilla.Margins[2].Width = 20;
+
+ // Set colors for all folding markers
+ for (int i = 25; i <= 31; i++)
+ {
+ scintilla.Markers[i].SetForeColor(SystemColors.ControlLightLight);
+ scintilla.Markers[i].SetBackColor(SystemColors.ControlDark);
+ }
+
+ // Configure folding markers with respective symbols
+ scintilla.Markers[Marker.Folder].Symbol = MarkerSymbol.BoxPlus;
+ scintilla.Markers[Marker.FolderOpen].Symbol = MarkerSymbol.BoxMinus;
+ scintilla.Markers[Marker.FolderEnd].Symbol = MarkerSymbol.BoxPlusConnected;
+ scintilla.Markers[Marker.FolderMidTail].Symbol = MarkerSymbol.TCorner;
+ scintilla.Markers[Marker.FolderOpenMid].Symbol = MarkerSymbol.BoxMinusConnected;
+ scintilla.Markers[Marker.FolderSub].Symbol = MarkerSymbol.VLine;
+ scintilla.Markers[Marker.FolderTail].Symbol = MarkerSymbol.LCorner;
+
+ // Enable automatic folding
+ scintilla.AutomaticFold = (AutomaticFold.Show | AutomaticFold.Click | AutomaticFold.Change);
}
- private void listLexersToolStripMenuItem_Click(object sender, EventArgs e)
+ private void openToolStripMenuItem_Click(object sender, EventArgs e)
{
- for (int i = 0; i < Lexilla.GetLexerCount(); i++)
+ if (openFileDialog.ShowDialog(this) == DialogResult.OK)
{
- scintilla.AppendText(Lexilla.GetLexerName(i) + Environment.NewLine);
+ scintilla.Text = File.ReadAllText(openFileDialog.FileName, Encoding.UTF8);
}
}
- private void scintilla_MouseDoubleClick(object sender, MouseEventArgs e)
+ private void saveToolStripMenuItem_Click(object sender, EventArgs e)
{
- MessageBox.Show($@"Selected text: {scintilla.SelectedText}.", @"Double-click", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
+ if (saveFileDialog.ShowDialog(this) == DialogResult.OK)
+ {
+ File.WriteAllText(saveFileDialog.FileName, scintilla.Text, Encoding.UTF8);
+ scintilla.SetSavePoint();
+ }
}
- private void FormMain_Shown(object sender, EventArgs e)
+ private void FormMain_FormClosing(object sender, FormClosingEventArgs e)
+ {
+ //if (scintilla.Modified)
+ //{
+ // if (MessageBox.Show("You have unsaved changes, are you sure to exit?", "Scintilla", MessageBoxButtons.OKCancel, MessageBoxIcon.Question, MessageBoxDefaultButton.Button2) == DialogResult.Cancel)
+ // e.Cancel = true;
+ //}
+ }
+
+ private void describeKeywordSetsToolStripMenuItem_Click(object sender, EventArgs e)
+ {
+ scintilla.ReplaceSelection(scintilla.DescribeKeywordSets());
+ }
+
+ private void scintilla_KeyDown(object sender, KeyEventArgs e)
+ {
+ if (e.KeyData == (Keys.Control | Keys.Shift | Keys.Z))
+ {
+ scintilla.Redo();
+ e.Handled = true;
+ e.SuppressKeyPress = true;
+ }
+ }
+
+ private void scintilla_TextChanged(object sender, EventArgs e)
{
- scintilla1.Focus();
+ AdjustLineNumberMargin(scintilla);
}
-}
\ No newline at end of file
+}
diff --git a/Scintilla.NET.TestApp/FormMain.resx b/Scintilla.NET.TestApp/FormMain.resx
index c409aac..64dc75a 100644
--- a/Scintilla.NET.TestApp/FormMain.resx
+++ b/Scintilla.NET.TestApp/FormMain.resx
@@ -1,4 +1,64 @@
-
+
+
+
@@ -57,10 +117,49 @@
System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
+
+ 272, 29
+
+
+ 145, 23
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAJHSURBVDhPxZBdSNNhFMb/F110ZZEVhVBgeeHNICiiuggp
+ olAUyyxI0oSaH1QYC3N+tKnp5ubm1JUua5uuqdNKMwr7kApFItTUkWZqVhSVYmao5Nevvy7UoYR3HXh4
+ 4XCe33nOKyy3lAY7l9RWMo0O/raWXxEyo5spVYTNvOGyfIRPfW+ptOkXqaPl6T83hcRmExSdgzAz3NVm
+ YWyoYla/B+1M9JtxWLPpaH22JORIjI6gKAMB0jyEimIdo4OlbuaprwVMOOMovammpDADc34qppwUrmnl
+ 5Kni3aFlFg2j3y1z5mnRTJccnNIltQhwq0jFry+mOXNtpWZWDx1Z1NhV3C3JwGFOw25SYjVe5oYhiUKd
+ HKMmwQUrMWUw/CF3NnZvvYKqUh1TvUroS3fXe7HXkwidMngTS2t5KLbregSzMY2f3Wr4qKW6LJvGR1rX
+ 0MLor8OhKYTJBn/GHvvxrliCTBrsOqXIoOBHh5K+hmSq7FqmexTQHuUytkaKxuNMNgYyVneA4Qd7GKjc
+ hjLaRzxH7gIU6JIZaEvgtk1D8wsxSWecCDgNzWFMvwxm/PkhRmr3Mli1nW9lvjRdWc0Jf+/5jzRmyWmv
+ S+GOLQu6U6BFjPvqKOP1AYw88WOoZif9DgmfLVtxaj1RSLdwNvrkPCA3M54KqxrnvRia9MKcGrUrqFOt
+ 5H7qKsqT1mGO9+Lqhc2ELdw+U/r0i+gVZ8hMiCDx3DHORwZyKnQ/hw/uYt9uCTskPvh6e7Fp41rWr/Fg
+ g6eHO+A/lyD8ARfG3mk9fv1YAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
+ YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAAIySURBVDhPrZLfS5NRGMfff6H7boIuuq2pMZyL1eAt11CW
+ DcOKsB9vpFmaLtNExco0av6CbIVLJ61Wk3BSkT/AFCkRZSpZmrmiJQ41xSaCwdfznL15XEUX0Reem5f3
+ 8znnec4j/Zc8fxYGla91CS3eRTx0z6OpMYS7jmnU1X6B/VYA18snUVoyjsKCt8jLHcH5c36ouCQR2NUJ
+ 1Nas4G9ZXlmFKbULh1Kf8lJxSfI+WeCCyopv6q+/h+DQ/DJ2WV5Ao1FgPegRAveDOS4oLfmq/h6dn/DH
+ 4AJizD4UXJrCAUuzEDgbZrjgou2DiohshIcnQtgme5GTPYbkJKcQ1N8OckHW2REVi+RXuM8fxGaDG4oy
+ ALPZIQQ11Z+5QDk1oKJ/hjv7P2FTfCMOH3mFxMQ6IbhROYWOdrCnBI4dfwPr0V4+bRoY9UzXppMjcDdS
+ rC8hy3YhuFI2gTYf2A4Aza4f7N2/o/zaLB8qDYx6zszwr8P7k1thNFYIweXCMXgeAfedq2xxwjClZUeV
+ Jd2GtDNFETiJwfs8MBjKhMCWN8pgoLoqzE8miH1GjE7G4PsZjE7OQsm9ij2mFg7rdrug1xcJAa2l4w7W
+ r00Cgk/n38S7wBwC04u4UGxHrMHF4CbEJtyDLj5fCDIzhljfSxzeavRgyw4Zj9t64GvvQ0d3P3pfD2Kv
+ 2QqNvgFxDN6urYdWmyMElJMnevh60obRktA701PRtGlg1DOdSkXwzrisaMG/RZLWAE60OMW5fNhvAAAA
+ AElFTkSuQmCC
+
+
+
17, 17
-
- 112, 17
+
+ 434, 29
\ No newline at end of file
diff --git a/Scintilla.NET.TestApp/Program.cs b/Scintilla.NET.TestApp/Program.cs
index 06d0594..f12649f 100644
--- a/Scintilla.NET.TestApp/Program.cs
+++ b/Scintilla.NET.TestApp/Program.cs
@@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
-namespace Scintilla.NET.TestApp;
+namespace ScintillaNET.TestApp;
static class Program
{
@@ -15,4 +15,4 @@ static void Main()
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new FormMain());
}
-}
\ No newline at end of file
+}
diff --git a/Scintilla.NET.TestApp/Properties/Resources.Designer.cs b/Scintilla.NET.TestApp/Properties/Resources.Designer.cs
index 2a1beba..2bd1eb3 100644
--- a/Scintilla.NET.TestApp/Properties/Resources.Designer.cs
+++ b/Scintilla.NET.TestApp/Properties/Resources.Designer.cs
@@ -8,7 +8,7 @@
//
//------------------------------------------------------------------------------
-namespace Scintilla.NET.TestApp.Properties {
+namespace ScintillaNET.TestApp.Properties {
using System;
@@ -19,7 +19,7 @@ namespace Scintilla.NET.TestApp.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@@ -39,7 +39,7 @@ internal Resources() {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Scintilla.NET.TestApp.Properties.Resources", typeof(Resources).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ScintillaNET.TestApp.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
diff --git a/Scintilla.NET.TestApp/Scintilla.NET.TestApp.csproj b/Scintilla.NET.TestApp/Scintilla.NET.TestApp.csproj
index 6c1d331..6c8810d 100644
--- a/Scintilla.NET.TestApp/Scintilla.NET.TestApp.csproj
+++ b/Scintilla.NET.TestApp/Scintilla.NET.TestApp.csproj
@@ -2,50 +2,18 @@
{F25685EC-098A-4080-95A9-445268609806}
WinExe
- net8.0-windows7.0
-
- true
+ net48
ScintillaNET.TestApp
- ScintillaNET.TestApp
Copyright © desjarlais 2023
bin\$(Configuration)\
- desjarlais
desjarlais
A test application to validate that the ScintillaNET control is working.
- MIT
- https://github.com/desjarlais/ScintillaNET
- true
-
- AnyCPU;x64;x86
-
-
- full
+ true
+ latest
AnyCPU
+ app.manifest
+ ScintillaNET.TestApp
-
- full
- x86
-
-
- full
- x64
-
-
- pdbonly
-
-
- pdbonly
-
-
- pdbonly
-
-
-
-
-
-
-
-
Form
@@ -70,11 +38,13 @@
SettingsSingleFileGenerator
Settings.Designer.cs
-
True
Settings.settings
True
-
\ No newline at end of file
+
+
+
+
diff --git a/Scintilla.NET.TestApp/Scintilla.NET.TestApp.sln b/Scintilla.NET.TestApp/Scintilla.NET.TestApp.sln
new file mode 100644
index 0000000..d77e6f9
--- /dev/null
+++ b/Scintilla.NET.TestApp/Scintilla.NET.TestApp.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 17
+VisualStudioVersion = 17.9.34728.123
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Scintilla.NET.TestApp", "Scintilla.NET.TestApp.csproj", "{F25685EC-098A-4080-95A9-445268609806}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {F25685EC-098A-4080-95A9-445268609806}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {F25685EC-098A-4080-95A9-445268609806}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {F25685EC-098A-4080-95A9-445268609806}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {F25685EC-098A-4080-95A9-445268609806}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {E766EE0E-C870-4452-97F5-7399674B4570}
+ EndGlobalSection
+EndGlobal
diff --git a/Scintilla.NET.TestApp/app.manifest b/Scintilla.NET.TestApp/app.manifest
new file mode 100644
index 0000000..5295695
--- /dev/null
+++ b/Scintilla.NET.TestApp/app.manifest
@@ -0,0 +1,78 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Scintilla.NET.TestApp/nuget.config b/Scintilla.NET.TestApp/nuget.config
new file mode 100644
index 0000000..961bff1
--- /dev/null
+++ b/Scintilla.NET.TestApp/nuget.config
@@ -0,0 +1,6 @@
+
+
+
+
+
+
diff --git a/Scintilla.NET.sln b/Scintilla.NET.sln
index f526545..eff03f5 100644
--- a/Scintilla.NET.sln
+++ b/Scintilla.NET.sln
@@ -5,8 +5,6 @@ VisualStudioVersion = 17.0.31919.166
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Scintilla.NET", "Scintilla.NET\Scintilla.NET.csproj", "{22AE2386-60F1-476E-9303-61CDB0AAC4CF}"
EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Scintilla.NET.TestApp", "Scintilla.NET.TestApp\Scintilla.NET.TestApp.csproj", "{F25685EC-098A-4080-95A9-445268609806}"
-EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BE874649-2B00-415E-8C80-82A42D949696}"
ProjectSection(SolutionItems) = preProject
.github\workflows\dotnet-desktop.yml = .github\workflows\dotnet-desktop.yml
@@ -31,18 +29,6 @@ Global
{22AE2386-60F1-476E-9303-61CDB0AAC4CF}.Release|Any CPU.Build.0 = Release|Any CPU
{22AE2386-60F1-476E-9303-61CDB0AAC4CF}.Release|x64.ActiveCfg = Release|Any CPU
{22AE2386-60F1-476E-9303-61CDB0AAC4CF}.Release|x86.ActiveCfg = Release|Any CPU
- {F25685EC-098A-4080-95A9-445268609806}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {F25685EC-098A-4080-95A9-445268609806}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {F25685EC-098A-4080-95A9-445268609806}.Debug|x64.ActiveCfg = Debug|x64
- {F25685EC-098A-4080-95A9-445268609806}.Debug|x64.Build.0 = Debug|x64
- {F25685EC-098A-4080-95A9-445268609806}.Debug|x86.ActiveCfg = Debug|x86
- {F25685EC-098A-4080-95A9-445268609806}.Debug|x86.Build.0 = Debug|x86
- {F25685EC-098A-4080-95A9-445268609806}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {F25685EC-098A-4080-95A9-445268609806}.Release|Any CPU.Build.0 = Release|Any CPU
- {F25685EC-098A-4080-95A9-445268609806}.Release|x64.ActiveCfg = Release|x64
- {F25685EC-098A-4080-95A9-445268609806}.Release|x64.Build.0 = Release|x64
- {F25685EC-098A-4080-95A9-445268609806}.Release|x86.ActiveCfg = Release|x86
- {F25685EC-098A-4080-95A9-445268609806}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Shared/Annotation.cs b/Scintilla.NET/Annotation.cs
similarity index 100%
rename from Shared/Annotation.cs
rename to Scintilla.NET/Annotation.cs
diff --git a/Shared/AutoCSelectionChangeEventArgs.cs b/Scintilla.NET/AutoCSelectionChangeEventArgs.cs
similarity index 100%
rename from Shared/AutoCSelectionChangeEventArgs.cs
rename to Scintilla.NET/AutoCSelectionChangeEventArgs.cs
diff --git a/Shared/AutoCSelectionEventArgs.cs b/Scintilla.NET/AutoCSelectionEventArgs.cs
similarity index 100%
rename from Shared/AutoCSelectionEventArgs.cs
rename to Scintilla.NET/AutoCSelectionEventArgs.cs
diff --git a/Shared/AutomaticFold.cs b/Scintilla.NET/AutomaticFold.cs
similarity index 100%
rename from Shared/AutomaticFold.cs
rename to Scintilla.NET/AutomaticFold.cs
diff --git a/Shared/BeforeModificationEventArgs.cs b/Scintilla.NET/BeforeModificationEventArgs.cs
similarity index 100%
rename from Shared/BeforeModificationEventArgs.cs
rename to Scintilla.NET/BeforeModificationEventArgs.cs
diff --git a/Shared/BiDirectionalDisplayType.cs b/Scintilla.NET/BiDirectionalDisplayType.cs
similarity index 100%
rename from Shared/BiDirectionalDisplayType.cs
rename to Scintilla.NET/BiDirectionalDisplayType.cs
diff --git a/Shared/BorderStyle.cs b/Scintilla.NET/BorderStyle.cs
similarity index 100%
rename from Shared/BorderStyle.cs
rename to Scintilla.NET/BorderStyle.cs
diff --git a/Shared/CallTipClickEventArgs.cs b/Scintilla.NET/CallTipClickEventArgs.cs
similarity index 100%
rename from Shared/CallTipClickEventArgs.cs
rename to Scintilla.NET/CallTipClickEventArgs.cs
diff --git a/Shared/CallTipClickType.cs b/Scintilla.NET/CallTipClickType.cs
similarity index 100%
rename from Shared/CallTipClickType.cs
rename to Scintilla.NET/CallTipClickType.cs
diff --git a/Shared/CaretPolicy.cs b/Scintilla.NET/CaretPolicy.cs
similarity index 100%
rename from Shared/CaretPolicy.cs
rename to Scintilla.NET/CaretPolicy.cs
diff --git a/Shared/CaretStyle.cs b/Scintilla.NET/CaretStyle.cs
similarity index 100%
rename from Shared/CaretStyle.cs
rename to Scintilla.NET/CaretStyle.cs
diff --git a/Shared/ChangeAnnotationEventArgs.cs b/Scintilla.NET/ChangeAnnotationEventArgs.cs
similarity index 100%
rename from Shared/ChangeAnnotationEventArgs.cs
rename to Scintilla.NET/ChangeAnnotationEventArgs.cs
diff --git a/Shared/CharAddedEventArgs.cs b/Scintilla.NET/CharAddedEventArgs.cs
similarity index 100%
rename from Shared/CharAddedEventArgs.cs
rename to Scintilla.NET/CharAddedEventArgs.cs
diff --git a/Shared/Command.cs b/Scintilla.NET/Command.cs
similarity index 100%
rename from Shared/Command.cs
rename to Scintilla.NET/Command.cs
diff --git a/Shared/CopyFormat.cs b/Scintilla.NET/CopyFormat.cs
similarity index 100%
rename from Shared/CopyFormat.cs
rename to Scintilla.NET/CopyFormat.cs
diff --git a/Shared/Document.cs b/Scintilla.NET/Document.cs
similarity index 100%
rename from Shared/Document.cs
rename to Scintilla.NET/Document.cs
diff --git a/Shared/DoubleClickEventArgs.cs b/Scintilla.NET/DoubleClickEventArgs.cs
similarity index 100%
rename from Shared/DoubleClickEventArgs.cs
rename to Scintilla.NET/DoubleClickEventArgs.cs
diff --git a/Shared/DwellEventArgs.cs b/Scintilla.NET/DwellEventArgs.cs
similarity index 100%
rename from Shared/DwellEventArgs.cs
rename to Scintilla.NET/DwellEventArgs.cs
diff --git a/Shared/EdgeMode.cs b/Scintilla.NET/EdgeMode.cs
similarity index 100%
rename from Shared/EdgeMode.cs
rename to Scintilla.NET/EdgeMode.cs
diff --git a/Shared/Eol.cs b/Scintilla.NET/Eol.cs
similarity index 100%
rename from Shared/Eol.cs
rename to Scintilla.NET/Eol.cs
diff --git a/Shared/FlagsEnumConverter.cs b/Scintilla.NET/FlagsEnumConverter.cs
similarity index 100%
rename from Shared/FlagsEnumConverter.cs
rename to Scintilla.NET/FlagsEnumConverter.cs
diff --git a/Shared/FoldAction.cs b/Scintilla.NET/FoldAction.cs
similarity index 100%
rename from Shared/FoldAction.cs
rename to Scintilla.NET/FoldAction.cs
diff --git a/Shared/FoldDisplayText.cs b/Scintilla.NET/FoldDisplayText.cs
similarity index 100%
rename from Shared/FoldDisplayText.cs
rename to Scintilla.NET/FoldDisplayText.cs
diff --git a/Shared/FoldFlags.cs b/Scintilla.NET/FoldFlags.cs
similarity index 100%
rename from Shared/FoldFlags.cs
rename to Scintilla.NET/FoldFlags.cs
diff --git a/Shared/FoldLevelFlags.cs b/Scintilla.NET/FoldLevelFlags.cs
similarity index 100%
rename from Shared/FoldLevelFlags.cs
rename to Scintilla.NET/FoldLevelFlags.cs
diff --git a/Shared/FontQuality.cs b/Scintilla.NET/FontQuality.cs
similarity index 100%
rename from Shared/FontQuality.cs
rename to Scintilla.NET/FontQuality.cs
diff --git a/Shared/GapBuffer.cs b/Scintilla.NET/GapBuffer.cs
similarity index 100%
rename from Shared/GapBuffer.cs
rename to Scintilla.NET/GapBuffer.cs
diff --git a/Scintilla.NET/HelperMethods.cs b/Scintilla.NET/HelperMethods.cs
index f3a3b50..a8988d2 100644
--- a/Scintilla.NET/HelperMethods.cs
+++ b/Scintilla.NET/HelperMethods.cs
@@ -1,4 +1,7 @@
-using System.Linq;
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+using System.Linq;
namespace ScintillaNET;
@@ -7,6 +10,36 @@ namespace ScintillaNET;
///
public static class HelperMethods
{
+ static readonly Dictionary knownColorMap = [];
+
+ static HelperMethods()
+ {
+ foreach (var knownColor in Enum.GetValues(typeof(KnownColor)).Cast().Where(k => k >= KnownColor.Transparent && k < KnownColor.ButtonFace))
+ {
+ Color color = Color.FromKnownColor(knownColor);
+ knownColorMap[ToWin32Color(color)] = color;
+ }
+ }
+
+ public static Color FromWin32Color(int color)
+ {
+ if (color == 0)
+ return Color.Transparent;
+
+ if (knownColorMap.TryGetValue(color, out Color result))
+ // We do all this nonsense because because Visual Studio designer
+ // does not mark raw colors as default if there exists a known color
+ // with the same value.
+ return result;
+
+ return Color.FromArgb((color >> 24) & 0xFF, (color >> 0) & 0xFF, (color >> 8) & 0xFF, (color >> 16) & 0xFF);
+ }
+
+ public static int ToWin32Color(Color color)
+ {
+ return (color.A << 24) | (color.R << 0) | (color.G << 8) | (color.B << 16);
+ }
+
///
/// Gets the folding state of the control as a delimited string containing line indexes.
///
@@ -28,11 +61,7 @@ public static class HelperMethods
public static void SetFoldingState(this Scintilla scintilla, string foldingState, string separator = ";")
{
scintilla.FoldAll(FoldAction.Expand);
-#if NET45
- foreach (var index in foldingState.Split(separator[0]).Select(int.Parse))
-#else
- foreach (var index in foldingState.Split(separator).Select(int.Parse))
-#endif
+ foreach (var index in foldingState.Split(new[] { separator }, System.StringSplitOptions.None).Select(int.Parse))
{
if (index < 0 || index >= scintilla.Lines.Count)
{
@@ -41,4 +70,4 @@ public static class HelperMethods
scintilla.Lines[index].ToggleFold();
}
}
-}
\ No newline at end of file
+}
diff --git a/Shared/Helpers.cs b/Scintilla.NET/Helpers.cs
similarity index 100%
rename from Shared/Helpers.cs
rename to Scintilla.NET/Helpers.cs
diff --git a/Shared/HotspotClickEventArgs.cs b/Scintilla.NET/HotspotClickEventArgs.cs
similarity index 100%
rename from Shared/HotspotClickEventArgs.cs
rename to Scintilla.NET/HotspotClickEventArgs.cs
diff --git a/Shared/ILoader.cs b/Scintilla.NET/ILoader.cs
similarity index 100%
rename from Shared/ILoader.cs
rename to Scintilla.NET/ILoader.cs
diff --git a/Shared/IdleStyling.cs b/Scintilla.NET/IdleStyling.cs
similarity index 100%
rename from Shared/IdleStyling.cs
rename to Scintilla.NET/IdleStyling.cs
diff --git a/Shared/IndentView.cs b/Scintilla.NET/IndentView.cs
similarity index 100%
rename from Shared/IndentView.cs
rename to Scintilla.NET/IndentView.cs
diff --git a/Shared/Indicator.cs b/Scintilla.NET/Indicator.cs
similarity index 97%
rename from Shared/Indicator.cs
rename to Scintilla.NET/Indicator.cs
index be59b30..3f0518f 100644
--- a/Shared/Indicator.cs
+++ b/Scintilla.NET/Indicator.cs
@@ -137,11 +137,11 @@ public Color ForeColor
get
{
var color = scintilla.DirectMessage(NativeMethods.SCI_INDICGETFORE, new IntPtr(Index)).ToInt32();
- return ColorTranslator.FromWin32(color);
+ return HelperMethods.FromWin32Color(color);
}
set
{
- var color = ColorTranslator.ToWin32(value);
+ var color = HelperMethods.ToWin32Color(value);
scintilla.DirectMessage(NativeMethods.SCI_INDICSETFORE, new IntPtr(Index), new IntPtr(color));
}
}
@@ -160,11 +160,11 @@ public Color HoverForeColor
get
{
var color = scintilla.DirectMessage(NativeMethods.SCI_INDICGETHOVERFORE, new IntPtr(Index)).ToInt32();
- return ColorTranslator.FromWin32(color);
+ return HelperMethods.FromWin32Color(color);
}
set
{
- var color = ColorTranslator.ToWin32(value);
+ var color = HelperMethods.ToWin32Color(value);
scintilla.DirectMessage(NativeMethods.SCI_INDICSETHOVERFORE, new IntPtr(Index), new IntPtr(color));
}
}
diff --git a/Shared/IndicatorClickEventArgs.cs b/Scintilla.NET/IndicatorClickEventArgs.cs
similarity index 100%
rename from Shared/IndicatorClickEventArgs.cs
rename to Scintilla.NET/IndicatorClickEventArgs.cs
diff --git a/Shared/IndicatorCollection.cs b/Scintilla.NET/IndicatorCollection.cs
similarity index 100%
rename from Shared/IndicatorCollection.cs
rename to Scintilla.NET/IndicatorCollection.cs
diff --git a/Shared/IndicatorFlags.cs b/Scintilla.NET/IndicatorFlags.cs
similarity index 100%
rename from Shared/IndicatorFlags.cs
rename to Scintilla.NET/IndicatorFlags.cs
diff --git a/Shared/IndicatorReleaseEventArgs.cs b/Scintilla.NET/IndicatorReleaseEventArgs.cs
similarity index 100%
rename from Shared/IndicatorReleaseEventArgs.cs
rename to Scintilla.NET/IndicatorReleaseEventArgs.cs
diff --git a/Shared/IndicatorStyle.cs b/Scintilla.NET/IndicatorStyle.cs
similarity index 100%
rename from Shared/IndicatorStyle.cs
rename to Scintilla.NET/IndicatorStyle.cs
diff --git a/Shared/InsertCheckEventArgs.cs b/Scintilla.NET/InsertCheckEventArgs.cs
similarity index 100%
rename from Shared/InsertCheckEventArgs.cs
rename to Scintilla.NET/InsertCheckEventArgs.cs
diff --git a/Shared/Layer.cs b/Scintilla.NET/Layer.cs
similarity index 100%
rename from Shared/Layer.cs
rename to Scintilla.NET/Layer.cs
diff --git a/Shared/Lexer.cs b/Scintilla.NET/Lexer.cs
similarity index 100%
rename from Shared/Lexer.cs
rename to Scintilla.NET/Lexer.cs
diff --git a/Shared/Line.cs b/Scintilla.NET/Line.cs
similarity index 100%
rename from Shared/Line.cs
rename to Scintilla.NET/Line.cs
diff --git a/Shared/LineCollection.cs b/Scintilla.NET/LineCollection.cs
similarity index 100%
rename from Shared/LineCollection.cs
rename to Scintilla.NET/LineCollection.cs
diff --git a/Shared/LineEndType.cs b/Scintilla.NET/LineEndType.cs
similarity index 100%
rename from Shared/LineEndType.cs
rename to Scintilla.NET/LineEndType.cs
diff --git a/Shared/ListCompletionMethod.cs b/Scintilla.NET/ListCompletionMethod.cs
similarity index 100%
rename from Shared/ListCompletionMethod.cs
rename to Scintilla.NET/ListCompletionMethod.cs
diff --git a/Shared/Loader.cs b/Scintilla.NET/Loader.cs
similarity index 100%
rename from Shared/Loader.cs
rename to Scintilla.NET/Loader.cs
diff --git a/Shared/Margin.cs b/Scintilla.NET/Margin.cs
similarity index 97%
rename from Shared/Margin.cs
rename to Scintilla.NET/Margin.cs
index a7ce8d1..f82b3c9 100644
--- a/Shared/Margin.cs
+++ b/Scintilla.NET/Margin.cs
@@ -26,14 +26,14 @@ public Color BackColor
get
{
var color = scintilla.DirectMessage(NativeMethods.SCI_GETMARGINBACKN, new IntPtr(Index)).ToInt32();
- return ColorTranslator.FromWin32(color);
+ return HelperMethods.FromWin32Color(color);
}
set
{
if (value.IsEmpty)
value = Color.Black;
- var color = ColorTranslator.ToWin32(value);
+ var color = HelperMethods.ToWin32Color(value);
scintilla.DirectMessage(NativeMethods.SCI_SETMARGINBACKN, new IntPtr(Index), new IntPtr(color));
}
}
diff --git a/Shared/MarginClickEventArgs.cs b/Scintilla.NET/MarginClickEventArgs.cs
similarity index 100%
rename from Shared/MarginClickEventArgs.cs
rename to Scintilla.NET/MarginClickEventArgs.cs
diff --git a/Shared/MarginCollection.cs b/Scintilla.NET/MarginCollection.cs
similarity index 100%
rename from Shared/MarginCollection.cs
rename to Scintilla.NET/MarginCollection.cs
diff --git a/Shared/MarginCursor.cs b/Scintilla.NET/MarginCursor.cs
similarity index 100%
rename from Shared/MarginCursor.cs
rename to Scintilla.NET/MarginCursor.cs
diff --git a/Shared/MarginOptions.cs b/Scintilla.NET/MarginOptions.cs
similarity index 100%
rename from Shared/MarginOptions.cs
rename to Scintilla.NET/MarginOptions.cs
diff --git a/Shared/MarginType.cs b/Scintilla.NET/MarginType.cs
similarity index 100%
rename from Shared/MarginType.cs
rename to Scintilla.NET/MarginType.cs
diff --git a/Shared/Marker.cs b/Scintilla.NET/Marker.cs
similarity index 98%
rename from Shared/Marker.cs
rename to Scintilla.NET/Marker.cs
index cbe8a78..5cfdc27 100644
--- a/Shared/Marker.cs
+++ b/Scintilla.NET/Marker.cs
@@ -105,7 +105,7 @@ public void SetAlpha(int alpha)
///
public void SetBackColor(Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
scintilla.DirectMessage(NativeMethods.SCI_MARKERSETBACK, new IntPtr(Index), new IntPtr(colour));
}
@@ -115,7 +115,7 @@ public void SetBackColor(Color color)
/// The foreground Color. The default is Black.
public void SetForeColor(Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
scintilla.DirectMessage(NativeMethods.SCI_MARKERSETFORE, new IntPtr(Index), new IntPtr(colour));
}
diff --git a/Shared/MarkerCollection.cs b/Scintilla.NET/MarkerCollection.cs
similarity index 100%
rename from Shared/MarkerCollection.cs
rename to Scintilla.NET/MarkerCollection.cs
diff --git a/Shared/MarkerHandle.cs b/Scintilla.NET/MarkerHandle.cs
similarity index 100%
rename from Shared/MarkerHandle.cs
rename to Scintilla.NET/MarkerHandle.cs
diff --git a/Shared/MarkerSymbol.cs b/Scintilla.NET/MarkerSymbol.cs
similarity index 100%
rename from Shared/MarkerSymbol.cs
rename to Scintilla.NET/MarkerSymbol.cs
diff --git a/Shared/ModificationEventArgs.cs b/Scintilla.NET/ModificationEventArgs.cs
similarity index 100%
rename from Shared/ModificationEventArgs.cs
rename to Scintilla.NET/ModificationEventArgs.cs
diff --git a/Shared/ModificationSource.cs b/Scintilla.NET/ModificationSource.cs
similarity index 100%
rename from Shared/ModificationSource.cs
rename to Scintilla.NET/ModificationSource.cs
diff --git a/Shared/MultiPaste.cs b/Scintilla.NET/MultiPaste.cs
similarity index 100%
rename from Shared/MultiPaste.cs
rename to Scintilla.NET/MultiPaste.cs
diff --git a/Shared/NativeMemoryStream.cs b/Scintilla.NET/NativeMemoryStream.cs
similarity index 100%
rename from Shared/NativeMemoryStream.cs
rename to Scintilla.NET/NativeMemoryStream.cs
diff --git a/Shared/NativeMethods.cs b/Scintilla.NET/NativeMethods.cs
similarity index 82%
rename from Shared/NativeMethods.cs
rename to Scintilla.NET/NativeMethods.cs
index 0732e4f..b582230 100644
--- a/Shared/NativeMethods.cs
+++ b/Scintilla.NET/NativeMethods.cs
@@ -297,6 +297,31 @@ public static class NativeMethods
public const int SCFIND_POSIX = 0x00400000;
public const int SCFIND_CXX11REGEX = 0x00800000;
+ // Element colors
+ public const int SC_ELEMENT_LIST = 0;
+ public const int SC_ELEMENT_LIST_BACK = 1;
+ public const int SC_ELEMENT_LIST_SELECTED = 2;
+ public const int SC_ELEMENT_LIST_SELECTED_BACK = 3;
+ public const int SC_ELEMENT_SELECTION_TEXT = 10;
+ public const int SC_ELEMENT_SELECTION_BACK = 11;
+ public const int SC_ELEMENT_SELECTION_ADDITIONAL_TEXT = 12;
+ public const int SC_ELEMENT_SELECTION_ADDITIONAL_BACK = 13;
+ public const int SC_ELEMENT_SELECTION_SECONDARY_TEXT = 14;
+ public const int SC_ELEMENT_SELECTION_SECONDARY_BACK = 15;
+ public const int SC_ELEMENT_SELECTION_INACTIVE_TEXT = 16;
+ public const int SC_ELEMENT_SELECTION_INACTIVE_BACK = 17;
+ public const int SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT = 18;
+ public const int SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK = 19;
+ public const int SC_ELEMENT_CARET = 40;
+ public const int SC_ELEMENT_CARET_ADDITIONAL = 41;
+ public const int SC_ELEMENT_CARET_LINE_BACK = 50;
+ public const int SC_ELEMENT_WHITE_SPACE = 60;
+ public const int SC_ELEMENT_WHITE_SPACE_BACK = 61;
+ public const int SC_ELEMENT_HOT_SPOT_ACTIVE = 70;
+ public const int SC_ELEMENT_HOT_SPOT_ACTIVE_BACK = 71;
+ public const int SC_ELEMENT_FOLD_LINE = 80;
+ public const int SC_ELEMENT_HIDDEN_LINE = 81;
+
// Functions
public const int SCI_START = 2000;
public const int SCI_OPTIONAL_START = 3000;
@@ -965,6 +990,12 @@ public static class NativeMethods
public const int SCI_FOLDDISPLAYTEXTSETSTYLE = 2701;
public const int SCI_GETCARETLINEFRAME = 2704;
public const int SCI_SETCARETLINEFRAME = 2705;
+ public const int SCI_SETELEMENTCOLOUR = 2753;
+ public const int SCI_GETELEMENTCOLOUR = 2754;
+ public const int SCI_RESETELEMENTCOLOUR = 2755;
+ public const int SCI_GETELEMENTISSET = 2756;
+ public const int SCI_GETELEMENTALLOWSTRANSLUCENT = 2757;
+ public const int SCI_GETELEMENTBASECOLOUR = 2758;
public const int SCI_GETSELECTIONLAYER = 2762;
public const int SCI_SETSELECTIONLAYER = 2763;
public const int SCI_GETCARETLINELAYER = 2764;
@@ -1153,291 +1184,141 @@ public static class NativeMethods
#region Lexer Constants
-#if NET40 || NET45
- private static readonly Dictionary nameConstantMap = new Dictionary();
- public static Dictionary NameConstantMap
- {
- get
- {
- if (nameConstantMap.Count == 0)
- {
- nameConstantMap.Add(SCLEX_CONTAINER, "");
- nameConstantMap.Add(SCLEX_NULL, "null");
- nameConstantMap.Add(SCLEX_PYTHON, "python");
- nameConstantMap.Add(SCLEX_CPP, "cpp");
- nameConstantMap.Add(SCLEX_HTML, "hypertext");
- nameConstantMap.Add(SCLEX_XML, "xml");
- nameConstantMap.Add(SCLEX_PERL, "perl");
- nameConstantMap.Add(SCLEX_SQL, "sql");
- nameConstantMap.Add(SCLEX_VB, "vb");
- nameConstantMap.Add(SCLEX_PROPERTIES, "props");
- nameConstantMap.Add(SCLEX_ERRORLIST, "errorlist");
- nameConstantMap.Add(SCLEX_MAKEFILE, "makefile");
- nameConstantMap.Add(SCLEX_BATCH, "batch");
- nameConstantMap.Add(SCLEX_XCODE, "");
- nameConstantMap.Add(SCLEX_LATEX, "latex");
- nameConstantMap.Add(SCLEX_LUA, "lua");
- nameConstantMap.Add(SCLEX_DIFF, "diff");
- nameConstantMap.Add(SCLEX_CONF, "conf");
- nameConstantMap.Add(SCLEX_PASCAL, "pascal");
- nameConstantMap.Add(SCLEX_AVE, "ave");
- nameConstantMap.Add(SCLEX_ADA, "ada");
- nameConstantMap.Add(SCLEX_LISP, "lisp");
- nameConstantMap.Add(SCLEX_RUBY, "ruby");
- nameConstantMap.Add(SCLEX_EIFFEL, "eiffel");
- nameConstantMap.Add(SCLEX_EIFFELKW, "eiffelkw");
- nameConstantMap.Add(SCLEX_TCL, "tcl");
- nameConstantMap.Add(SCLEX_NNCRONTAB, "nncrontab");
- nameConstantMap.Add(SCLEX_BULLANT, "bullant");
- nameConstantMap.Add(SCLEX_VBSCRIPT, "vbscript");
- nameConstantMap.Add(SCLEX_BAAN, "baan");
- nameConstantMap.Add(SCLEX_MATLAB, "matlab");
- nameConstantMap.Add(SCLEX_SCRIPTOL, "scriptol");
- nameConstantMap.Add(SCLEX_ASM, "asm");
- nameConstantMap.Add(SCLEX_CPPNOCASE, "cppnocase");
- nameConstantMap.Add(SCLEX_FORTRAN, "fortran");
- nameConstantMap.Add(SCLEX_F77, "f77");
- nameConstantMap.Add(SCLEX_CSS, "css");
- nameConstantMap.Add(SCLEX_POV, "pov");
- nameConstantMap.Add(SCLEX_LOUT, "lout");
- nameConstantMap.Add(SCLEX_ESCRIPT, "escript");
- nameConstantMap.Add(SCLEX_PS, "ps");
- nameConstantMap.Add(SCLEX_NSIS, "nsis");
- nameConstantMap.Add(SCLEX_MMIXAL, "mmixal");
- nameConstantMap.Add(SCLEX_CLW, "clarion");
- nameConstantMap.Add(SCLEX_CLWNOCASE, "clarionnocase");
- nameConstantMap.Add(SCLEX_LOT, "lot");
- nameConstantMap.Add(SCLEX_YAML, "yaml");
- nameConstantMap.Add(SCLEX_TEX, "tex");
- nameConstantMap.Add(SCLEX_METAPOST, "metapost");
- nameConstantMap.Add(SCLEX_POWERBASIC, "powerbasic");
- nameConstantMap.Add(SCLEX_FORTH, "forth");
- nameConstantMap.Add(SCLEX_ERLANG, "erlang");
- nameConstantMap.Add(SCLEX_OCTAVE, "octave");
- nameConstantMap.Add(SCLEX_MSSQL, "mssql");
- nameConstantMap.Add(SCLEX_VERILOG, "verilog");
- nameConstantMap.Add(SCLEX_KIX, "kix");
- nameConstantMap.Add(SCLEX_GUI4CLI, "gui4cli");
- nameConstantMap.Add(SCLEX_SPECMAN, "specman");
- nameConstantMap.Add(SCLEX_AU3, "au3");
- nameConstantMap.Add(SCLEX_APDL, "apdl");
- nameConstantMap.Add(SCLEX_BASH, "bash");
- nameConstantMap.Add(SCLEX_ASN1, "asn1");
- nameConstantMap.Add(SCLEX_VHDL, "vhdl");
- nameConstantMap.Add(SCLEX_CAML, "caml");
- nameConstantMap.Add(SCLEX_BLITZBASIC, "blitzbasic");
- nameConstantMap.Add(SCLEX_PUREBASIC, "purebasic");
- nameConstantMap.Add(SCLEX_HASKELL, "haskell");
- nameConstantMap.Add(SCLEX_PHPSCRIPT, "phpscript");
- nameConstantMap.Add(SCLEX_TADS3, "tads3");
- nameConstantMap.Add(SCLEX_REBOL, "rebol");
- nameConstantMap.Add(SCLEX_SMALLTALK, "smalltalk");
- nameConstantMap.Add(SCLEX_FLAGSHIP, "flagship");
- nameConstantMap.Add(SCLEX_CSOUND, "csound");
- nameConstantMap.Add(SCLEX_FREEBASIC, "freebasic");
- nameConstantMap.Add(SCLEX_INNOSETUP, "inno");
- nameConstantMap.Add(SCLEX_OPAL, "opal");
- nameConstantMap.Add(SCLEX_SPICE, "spice");
- nameConstantMap.Add(SCLEX_D, "d");
- nameConstantMap.Add(SCLEX_CMAKE, "cmake");
- nameConstantMap.Add(SCLEX_GAP, "gap");
- nameConstantMap.Add(SCLEX_PLM, "PL/M");
- nameConstantMap.Add(SCLEX_PROGRESS, "abl");
- nameConstantMap.Add(SCLEX_ABAQUS, "abaqus");
- nameConstantMap.Add(SCLEX_ASYMPTOTE, "asy");
- nameConstantMap.Add(SCLEX_R, "r");
- nameConstantMap.Add(SCLEX_MAGIK, "magiksf");
- nameConstantMap.Add(SCLEX_POWERSHELL, "powershell");
- nameConstantMap.Add(SCLEX_MYSQL, "mysql");
- nameConstantMap.Add(SCLEX_PO, "po");
- nameConstantMap.Add(SCLEX_TAL, "TAL");
- nameConstantMap.Add(SCLEX_COBOL, "COBOL");
- nameConstantMap.Add(SCLEX_TACL, "TACL");
- nameConstantMap.Add(SCLEX_SORCUS, "sorcins");
- nameConstantMap.Add(SCLEX_POWERPRO, "powerpro");
- nameConstantMap.Add(SCLEX_NIMROD, "nimrod");
- nameConstantMap.Add(SCLEX_SML, "SML");
- nameConstantMap.Add(SCLEX_MARKDOWN, "markdown");
- nameConstantMap.Add(SCLEX_TXT2TAGS, "txt2tags");
- nameConstantMap.Add(SCLEX_A68K, "a68k");
- nameConstantMap.Add(SCLEX_MODULA, "modula");
- nameConstantMap.Add(SCLEX_COFFEESCRIPT, "coffeescript");
- nameConstantMap.Add(SCLEX_TCMD, "tcmd");
- nameConstantMap.Add(SCLEX_AVS, "avs");
- nameConstantMap.Add(SCLEX_ECL, "ecl");
- nameConstantMap.Add(SCLEX_OSCRIPT, "oscript");
- nameConstantMap.Add(SCLEX_VISUALPROLOG, "visualprolog");
- nameConstantMap.Add(SCLEX_LITERATEHASKELL, "literatehaskell");
- nameConstantMap.Add(SCLEX_STTXT, "fcST");
- nameConstantMap.Add(SCLEX_KVIRC, "kvirc");
- nameConstantMap.Add(SCLEX_RUST, "rust");
- nameConstantMap.Add(SCLEX_DMAP, "DMAP");
- nameConstantMap.Add(SCLEX_AS, "as");
- nameConstantMap.Add(SCLEX_DMIS, "DMIS");
- nameConstantMap.Add(SCLEX_REGISTRY, "registry");
- nameConstantMap.Add(SCLEX_BIBTEX, "bib");
- nameConstantMap.Add(SCLEX_SREC, "srec");
- nameConstantMap.Add(SCLEX_IHEX, "ihex");
- nameConstantMap.Add(SCLEX_TEHEX, "tehex");
- nameConstantMap.Add(SCLEX_JSON, "json");
- nameConstantMap.Add(SCLEX_EDIFACT, "edifact");
- nameConstantMap.Add(SCLEX_INDENT, "indent");
- nameConstantMap.Add(SCLEX_MAXIMA, "maxima");
- nameConstantMap.Add(SCLEX_STATA, "stata");
- nameConstantMap.Add(SCLEX_SAS, "sas");
- nameConstantMap.Add(SCLEX_NIM, "nim");
- nameConstantMap.Add(SCLEX_CIL, "cil");
- nameConstantMap.Add(SCLEX_X12, "x12");
- nameConstantMap.Add(SCLEX_DATAFLEX, "dataflex");
- nameConstantMap.Add(SCLEX_HOLLYWOOD, "hollywood");
- nameConstantMap.Add(SCLEX_RAKU, "raku");
- nameConstantMap.Add(SCLEX_FSHARP, "fsharp");
- nameConstantMap.Add(SCLEX_JULIA, "julia");
- }
-
- return nameConstantMap;
- }
- }
-
-#else
// Map the constant language names
- public static readonly Dictionary NameConstantMap = new Dictionary(
- new[]
- {
- new KeyValuePair(SCLEX_CONTAINER, ""),
- new KeyValuePair(SCLEX_NULL, "null"),
- new KeyValuePair(SCLEX_PYTHON, "python"),
- new KeyValuePair(SCLEX_CPP, "cpp"),
- new KeyValuePair(SCLEX_HTML, "hypertext"),
- new KeyValuePair(SCLEX_XML, "xml"),
- new KeyValuePair(SCLEX_PERL, "perl"),
- new KeyValuePair(SCLEX_SQL, "sql"),
- new KeyValuePair(SCLEX_VB, "vb"),
- new KeyValuePair(SCLEX_PROPERTIES, "props"),
- new KeyValuePair(SCLEX_ERRORLIST, "errorlist"),
- new KeyValuePair(SCLEX_MAKEFILE, "makefile"),
- new KeyValuePair(SCLEX_BATCH, "batch"),
- new KeyValuePair(SCLEX_XCODE, ""),
- new KeyValuePair(SCLEX_LATEX, "latex"),
- new KeyValuePair(SCLEX_LUA, "lua"),
- new KeyValuePair(SCLEX_DIFF, "diff"),
- new KeyValuePair(SCLEX_CONF, "conf"),
- new KeyValuePair(SCLEX_PASCAL, "pascal"),
- new KeyValuePair(SCLEX_AVE, "ave"),
- new KeyValuePair(SCLEX_ADA, "ada"),
- new KeyValuePair(SCLEX_LISP, "lisp"),
- new KeyValuePair(SCLEX_RUBY, "ruby"),
- new KeyValuePair(SCLEX_EIFFEL, "eiffel"),
- new KeyValuePair(SCLEX_EIFFELKW, "eiffelkw"),
- new KeyValuePair(SCLEX_TCL, "tcl"),
- new KeyValuePair(SCLEX_NNCRONTAB, "nncrontab"),
- new KeyValuePair(SCLEX_BULLANT, "bullant"),
- new KeyValuePair(SCLEX_VBSCRIPT, "vbscript"),
- new KeyValuePair(SCLEX_BAAN, "baan"),
- new KeyValuePair(SCLEX_MATLAB, "matlab"),
- new KeyValuePair(SCLEX_SCRIPTOL, "scriptol"),
- new KeyValuePair(SCLEX_ASM, "asm"),
- new KeyValuePair(SCLEX_CPPNOCASE, "cppnocase"),
- new KeyValuePair(SCLEX_FORTRAN, "fortran"),
- new KeyValuePair(SCLEX_F77, "f77"),
- new KeyValuePair(SCLEX_CSS, "css"),
- new KeyValuePair(SCLEX_POV, "pov"),
- new KeyValuePair(SCLEX_LOUT, "lout"),
- new KeyValuePair(SCLEX_ESCRIPT, "escript"),
- new KeyValuePair(SCLEX_PS, "ps"),
- new KeyValuePair(SCLEX_NSIS, "nsis"),
- new KeyValuePair(SCLEX_MMIXAL, "mmixal"),
- new KeyValuePair(SCLEX_CLW, "clarion"),
- new KeyValuePair(SCLEX_CLWNOCASE, "clarionnocase"),
- new KeyValuePair(SCLEX_LOT, "lot"),
- new KeyValuePair(SCLEX_YAML, "yaml"),
- new KeyValuePair(SCLEX_TEX, "tex"),
- new KeyValuePair(SCLEX_METAPOST, "metapost"),
- new KeyValuePair(SCLEX_POWERBASIC, "powerbasic"),
- new KeyValuePair(SCLEX_FORTH, "forth"),
- new KeyValuePair(SCLEX_ERLANG, "erlang"),
- new KeyValuePair(SCLEX_OCTAVE, "octave"),
- new KeyValuePair(SCLEX_MSSQL, "mssql"),
- new KeyValuePair(SCLEX_VERILOG, "verilog"),
- new KeyValuePair(SCLEX_KIX, "kix"),
- new KeyValuePair(SCLEX_GUI4CLI, "gui4cli"),
- new KeyValuePair(SCLEX_SPECMAN, "specman"),
- new KeyValuePair(SCLEX_AU3, "au3"),
- new KeyValuePair(SCLEX_APDL, "apdl"),
- new KeyValuePair(SCLEX_BASH, "bash"),
- new KeyValuePair(SCLEX_ASN1, "asn1"),
- new KeyValuePair(SCLEX_VHDL, "vhdl"),
- new KeyValuePair(SCLEX_CAML, "caml"),
- new KeyValuePair(SCLEX_BLITZBASIC, "blitzbasic"),
- new KeyValuePair(SCLEX_PUREBASIC, "purebasic"),
- new KeyValuePair(SCLEX_HASKELL, "haskell"),
- new KeyValuePair(SCLEX_PHPSCRIPT, "phpscript"),
- new KeyValuePair(SCLEX_TADS3, "tads3"),
- new KeyValuePair(SCLEX_REBOL, "rebol"),
- new KeyValuePair(SCLEX_SMALLTALK, "smalltalk"),
- new KeyValuePair(SCLEX_FLAGSHIP, "flagship"),
- new KeyValuePair(SCLEX_CSOUND, "csound"),
- new KeyValuePair(SCLEX_FREEBASIC, "freebasic"),
- new KeyValuePair(SCLEX_INNOSETUP, "inno"),
- new KeyValuePair(SCLEX_OPAL, "opal"),
- new KeyValuePair(SCLEX_SPICE, "spice"),
- new KeyValuePair(SCLEX_D, "d"),
- new KeyValuePair(SCLEX_CMAKE, "cmake"),
- new KeyValuePair(SCLEX_GAP, "gap"),
- new KeyValuePair(SCLEX_PLM, "PL/M"),
- new KeyValuePair(SCLEX_PROGRESS, "abl"),
- new KeyValuePair(SCLEX_ABAQUS, "abaqus"),
- new KeyValuePair(SCLEX_ASYMPTOTE, "asy"),
- new KeyValuePair(SCLEX_R, "r"),
- new KeyValuePair(SCLEX_MAGIK, "magiksf"),
- new KeyValuePair(SCLEX_POWERSHELL, "powershell"),
- new KeyValuePair(SCLEX_MYSQL, "mysql"),
- new KeyValuePair(SCLEX_PO, "po"),
- new KeyValuePair(SCLEX_TAL, "TAL"),
- new KeyValuePair(SCLEX_COBOL, "COBOL"),
- new KeyValuePair(SCLEX_TACL, "TACL"),
- new KeyValuePair(SCLEX_SORCUS, "sorcins"),
- new KeyValuePair(SCLEX_POWERPRO, "powerpro"),
- new KeyValuePair(SCLEX_NIMROD, "nimrod"),
- new KeyValuePair(SCLEX_SML, "SML"),
- new KeyValuePair(SCLEX_MARKDOWN, "markdown"),
- new KeyValuePair(SCLEX_TXT2TAGS, "txt2tags"),
- new KeyValuePair(SCLEX_A68K, "a68k"),
- new KeyValuePair(SCLEX_MODULA, "modula"),
- new KeyValuePair(SCLEX_COFFEESCRIPT, "coffeescript"),
- new KeyValuePair(SCLEX_TCMD, "tcmd"),
- new KeyValuePair(SCLEX_AVS, "avs"),
- new KeyValuePair(SCLEX_ECL, "ecl"),
- new KeyValuePair(SCLEX_OSCRIPT, "oscript"),
- new KeyValuePair(SCLEX_VISUALPROLOG, "visualprolog"),
- new KeyValuePair(SCLEX_LITERATEHASKELL, "literatehaskell"),
- new KeyValuePair(SCLEX_STTXT, "fcST"),
- new KeyValuePair(SCLEX_KVIRC, "kvirc"),
- new KeyValuePair(SCLEX_RUST, "rust"),
- new KeyValuePair(SCLEX_DMAP, "DMAP"),
- new KeyValuePair(SCLEX_AS, "as"),
- new KeyValuePair(SCLEX_DMIS, "DMIS"),
- new KeyValuePair(SCLEX_REGISTRY, "registry"),
- new KeyValuePair(SCLEX_BIBTEX, "bib"),
- new KeyValuePair(SCLEX_SREC, "srec"),
- new KeyValuePair(SCLEX_IHEX, "ihex"),
- new KeyValuePair(SCLEX_TEHEX, "tehex"),
- new KeyValuePair(SCLEX_JSON, "json"),
- new KeyValuePair(SCLEX_EDIFACT, "edifact"),
- new KeyValuePair(SCLEX_INDENT, "indent"),
- new KeyValuePair(SCLEX_MAXIMA, "maxima"),
- new KeyValuePair(SCLEX_STATA, "stata"),
- new KeyValuePair(SCLEX_SAS, "sas"),
- new KeyValuePair(SCLEX_NIM, "nim"),
- new KeyValuePair(SCLEX_CIL, "cil"),
- new KeyValuePair(SCLEX_X12, "x12"),
- new KeyValuePair(SCLEX_DATAFLEX, "dataflex"),
- new KeyValuePair(SCLEX_HOLLYWOOD, "hollywood"),
- new KeyValuePair(SCLEX_RAKU, "raku"),
- new KeyValuePair(SCLEX_FSHARP, "fsharp"),
- new KeyValuePair(SCLEX_JULIA, "julia"),
- });
-#endif
+ public static readonly Dictionary NameConstantMap = new Dictionary() {
+ { SCLEX_CONTAINER, "" },
+ { SCLEX_NULL, "null" },
+ { SCLEX_PYTHON, "python" },
+ { SCLEX_CPP, "cpp" },
+ { SCLEX_HTML, "hypertext" },
+ { SCLEX_XML, "xml" },
+ { SCLEX_PERL, "perl" },
+ { SCLEX_SQL, "sql" },
+ { SCLEX_VB, "vb" },
+ { SCLEX_PROPERTIES, "props" },
+ { SCLEX_ERRORLIST, "errorlist" },
+ { SCLEX_MAKEFILE, "makefile" },
+ { SCLEX_BATCH, "batch" },
+ { SCLEX_XCODE, "" },
+ { SCLEX_LATEX, "latex" },
+ { SCLEX_LUA, "lua" },
+ { SCLEX_DIFF, "diff" },
+ { SCLEX_CONF, "conf" },
+ { SCLEX_PASCAL, "pascal" },
+ { SCLEX_AVE, "ave" },
+ { SCLEX_ADA, "ada" },
+ { SCLEX_LISP, "lisp" },
+ { SCLEX_RUBY, "ruby" },
+ { SCLEX_EIFFEL, "eiffel" },
+ { SCLEX_EIFFELKW, "eiffelkw" },
+ { SCLEX_TCL, "tcl" },
+ { SCLEX_NNCRONTAB, "nncrontab" },
+ { SCLEX_BULLANT, "bullant" },
+ { SCLEX_VBSCRIPT, "vbscript" },
+ { SCLEX_BAAN, "baan" },
+ { SCLEX_MATLAB, "matlab" },
+ { SCLEX_SCRIPTOL, "scriptol" },
+ { SCLEX_ASM, "asm" },
+ { SCLEX_CPPNOCASE, "cppnocase" },
+ { SCLEX_FORTRAN, "fortran" },
+ { SCLEX_F77, "f77" },
+ { SCLEX_CSS, "css" },
+ { SCLEX_POV, "pov" },
+ { SCLEX_LOUT, "lout" },
+ { SCLEX_ESCRIPT, "escript" },
+ { SCLEX_PS, "ps" },
+ { SCLEX_NSIS, "nsis" },
+ { SCLEX_MMIXAL, "mmixal" },
+ { SCLEX_CLW, "clarion" },
+ { SCLEX_CLWNOCASE, "clarionnocase" },
+ { SCLEX_LOT, "lot" },
+ { SCLEX_YAML, "yaml" },
+ { SCLEX_TEX, "tex" },
+ { SCLEX_METAPOST, "metapost" },
+ { SCLEX_POWERBASIC, "powerbasic" },
+ { SCLEX_FORTH, "forth" },
+ { SCLEX_ERLANG, "erlang" },
+ { SCLEX_OCTAVE, "octave" },
+ { SCLEX_MSSQL, "mssql" },
+ { SCLEX_VERILOG, "verilog" },
+ { SCLEX_KIX, "kix" },
+ { SCLEX_GUI4CLI, "gui4cli" },
+ { SCLEX_SPECMAN, "specman" },
+ { SCLEX_AU3, "au3" },
+ { SCLEX_APDL, "apdl" },
+ { SCLEX_BASH, "bash" },
+ { SCLEX_ASN1, "asn1" },
+ { SCLEX_VHDL, "vhdl" },
+ { SCLEX_CAML, "caml" },
+ { SCLEX_BLITZBASIC, "blitzbasic" },
+ { SCLEX_PUREBASIC, "purebasic" },
+ { SCLEX_HASKELL, "haskell" },
+ { SCLEX_PHPSCRIPT, "phpscript" },
+ { SCLEX_TADS3, "tads3" },
+ { SCLEX_REBOL, "rebol" },
+ { SCLEX_SMALLTALK, "smalltalk" },
+ { SCLEX_FLAGSHIP, "flagship" },
+ { SCLEX_CSOUND, "csound" },
+ { SCLEX_FREEBASIC, "freebasic" },
+ { SCLEX_INNOSETUP, "inno" },
+ { SCLEX_OPAL, "opal" },
+ { SCLEX_SPICE, "spice" },
+ { SCLEX_D, "d" },
+ { SCLEX_CMAKE, "cmake" },
+ { SCLEX_GAP, "gap" },
+ { SCLEX_PLM, "PL/M" },
+ { SCLEX_PROGRESS, "abl" },
+ { SCLEX_ABAQUS, "abaqus" },
+ { SCLEX_ASYMPTOTE, "asy" },
+ { SCLEX_R, "r" },
+ { SCLEX_MAGIK, "magiksf" },
+ { SCLEX_POWERSHELL, "powershell" },
+ { SCLEX_MYSQL, "mysql" },
+ { SCLEX_PO, "po" },
+ { SCLEX_TAL, "TAL" },
+ { SCLEX_COBOL, "COBOL" },
+ { SCLEX_TACL, "TACL" },
+ { SCLEX_SORCUS, "sorcins" },
+ { SCLEX_POWERPRO, "powerpro" },
+ { SCLEX_NIMROD, "nimrod" },
+ { SCLEX_SML, "SML" },
+ { SCLEX_MARKDOWN, "markdown" },
+ { SCLEX_TXT2TAGS, "txt2tags" },
+ { SCLEX_A68K, "a68k" },
+ { SCLEX_MODULA, "modula" },
+ { SCLEX_COFFEESCRIPT, "coffeescript" },
+ { SCLEX_TCMD, "tcmd" },
+ { SCLEX_AVS, "avs" },
+ { SCLEX_ECL, "ecl" },
+ { SCLEX_OSCRIPT, "oscript" },
+ { SCLEX_VISUALPROLOG, "visualprolog" },
+ { SCLEX_LITERATEHASKELL, "literatehaskell" },
+ { SCLEX_STTXT, "fcST" },
+ { SCLEX_KVIRC, "kvirc" },
+ { SCLEX_RUST, "rust" },
+ { SCLEX_DMAP, "DMAP" },
+ { SCLEX_AS, "as" },
+ { SCLEX_DMIS, "DMIS" },
+ { SCLEX_REGISTRY, "registry" },
+ { SCLEX_BIBTEX, "bib" },
+ { SCLEX_SREC, "srec" },
+ { SCLEX_IHEX, "ihex" },
+ { SCLEX_TEHEX, "tehex" },
+ { SCLEX_JSON, "json" },
+ { SCLEX_EDIFACT, "edifact" },
+ { SCLEX_INDENT, "indent" },
+ { SCLEX_MAXIMA, "maxima" },
+ { SCLEX_STATA, "stata" },
+ { SCLEX_SAS, "sas" },
+ { SCLEX_NIM, "nim" },
+ { SCLEX_CIL, "cil" },
+ { SCLEX_X12, "x12" },
+ { SCLEX_DATAFLEX, "dataflex" },
+ { SCLEX_HOLLYWOOD, "hollywood" },
+ { SCLEX_RAKU, "raku" },
+ { SCLEX_FSHARP, "fsharp" },
+ { SCLEX_JULIA, "julia" },
+ };
// Lexers
public const int SCLEX_CONTAINER = 0;
diff --git a/Shared/NeedShownEventArgs.cs b/Scintilla.NET/NeedShownEventArgs.cs
similarity index 100%
rename from Shared/NeedShownEventArgs.cs
rename to Scintilla.NET/NeedShownEventArgs.cs
diff --git a/Shared/Order.cs b/Scintilla.NET/Order.cs
similarity index 100%
rename from Shared/Order.cs
rename to Scintilla.NET/Order.cs
diff --git a/Shared/Phases.cs b/Scintilla.NET/Phases.cs
similarity index 100%
rename from Shared/Phases.cs
rename to Scintilla.NET/Phases.cs
diff --git a/Shared/PopupMode.cs b/Scintilla.NET/PopupMode.cs
similarity index 100%
rename from Shared/PopupMode.cs
rename to Scintilla.NET/PopupMode.cs
diff --git a/Shared/ProjectionEqualityComparer.cs b/Scintilla.NET/ProjectionEqualityComparer.cs
similarity index 100%
rename from Shared/ProjectionEqualityComparer.cs
rename to Scintilla.NET/ProjectionEqualityComparer.cs
diff --git a/Shared/PropertyType.cs b/Scintilla.NET/PropertyType.cs
similarity index 100%
rename from Shared/PropertyType.cs
rename to Scintilla.NET/PropertyType.cs
diff --git a/Shared/SCNotificationEventArgs.cs b/Scintilla.NET/SCNotificationEventArgs.cs
similarity index 100%
rename from Shared/SCNotificationEventArgs.cs
rename to Scintilla.NET/SCNotificationEventArgs.cs
diff --git a/Scintilla.NET/Scintilla.NET.csproj b/Scintilla.NET/Scintilla.NET.csproj
index eac5420..c2410ec 100644
--- a/Scintilla.NET/Scintilla.NET.csproj
+++ b/Scintilla.NET/Scintilla.NET.csproj
@@ -1,179 +1,62 @@
{22AE2386-60F1-476E-9303-61CDB0AAC4CF}
- net45;net6-windows;net8-windows
- ScintillaNET
- Jacob Slusser, VPKSoft, cyber960, desjarlais
- Scintilla.NET
+ net462;net6.0-windows
en-US
Source Editing Component based on Scintilla 5 series.
- Copyright (c) 2018, Jacob Slusser. All rights reserved. VPKSoft, cyber960 2022, desjarlais 2023.
- 5.3.3.19
+ Copyright (c) Jacob Slusser 2018, VPKSoft, cyber960 2022, desjarlais 2023.
+ 5.5.0
true
- bin\$(Configuration)\ScintillaNET.xml
+ True
true
bin\$(Configuration)\
AnyCPU
- 10
+ latest
SCINTILLA5
-
- AnyCPU
-
Scintilla5.NET
MIT
https://github.com/desjarlais/Scintilla.NET
https://github.com/desjarlais/Scintilla.NET
- vpksoft_logo.png
- git
+ icon.png
ScintillaNET Scintilla Editor
Please visit https://github.com/desjarlais/Scintilla.NET/releases to view the release notes.
true
true
- true
- scintilla.net.pfx
- Scintilla.NET
- Scintilla.NET
+ ScintillaNET
Jacob Slusser, VPKSoft, cyber960, desjarlais
+ README.md
-
- AnyCPU
- TRACE;SCINTILLA5
- Auto
-
-
- AnyCPU
-
-
- 7
-
-
- 7
-
-
-
-
-
-
-
-
+
+ True
+ \
+
+
True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Layer.cs
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Component
-
-
-
-
-
- True
+
build
- PreserveNewest
+ True
-
+
+
+ PreserveNewest
+ runtimes
+ true
+
+
+
+
diff --git a/Shared/Scintilla.cs b/Scintilla.NET/Scintilla.cs
similarity index 92%
rename from Shared/Scintilla.cs
rename to Scintilla.NET/Scintilla.cs
index f5d4b75..2ae4c37 100644
--- a/Shared/Scintilla.cs
+++ b/Scintilla.NET/Scintilla.cs
@@ -58,36 +58,39 @@ static Scintilla()
throw new InvalidOperationException($"Scintilla.NET satellite assemblies not found in any of the following paths:\n{searchedPaths}");
}
+ private static bool InDesignProcess()
+ {
+ using var proc = Process.GetCurrentProcess();
+ string procName = proc.ProcessName;
+ return
+ procName == "devenv" || procName == "DesignToolsServer" || // WinForms app in VS IDE
+ procName == "xdesproc" || // WPF app in VS IDE/Blend
+ procName == "blend";
+ }
+
public static IEnumerable EnumerateSatelliteLibrarySearchPaths()
{
// check run-time paths
- string platform = Environment.Is64BitProcess ? "x64" : "x86";
+ string folder = Path.Combine("runtimes", Environment.Is64BitProcess ? "win-x64" : "win-x86", "native");
var runtimeAssembly = Assembly.GetExecutingAssembly();
string managedLocation = Path.GetDirectoryName(runtimeAssembly.Location) ?? AppDomain.CurrentDomain.BaseDirectory;
- yield return Path.Combine(managedLocation, platform);
+ yield return Path.Combine(managedLocation, folder);
- // check design-mode paths
- string frameworkName = runtimeAssembly?.GetCustomAttribute()?.FrameworkName;
-
- if (frameworkName.Contains("NETFramework"))
+ if (InDesignProcess())
{
- // In .NET Framework, look for the assemblies in the nuget global packages folder
+ // Look for the assemblies in the nuget global packages folder
var designtimeAssembly = Assembly.GetAssembly(typeof(Scintilla));
string nugetScintillaPackageFolder = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), @".nuget\packages\scintilla5.net");
- string nugetScintillaPackageVersion = designtimeAssembly.GetName().Version.ToString();
- yield return Path.Combine(nugetScintillaPackageFolder, nugetScintillaPackageVersion, "build", platform);
+ Version packageVersion = designtimeAssembly.GetName().Version;
+ string versionString = packageVersion.Revision == 0 ? packageVersion.ToString(3) : packageVersion.ToString();
+ yield return Path.Combine(nugetScintillaPackageFolder, versionString, folder);
// then check the project folder using the Scintilla.NET assembly location
// move up a few levels to the host project folder and append the location nuget used at install
string nugetScintillaNETLocation = designtimeAssembly.Location;
string nugetScintillaPackageName = designtimeAssembly.GetName().Name;
string rootProjectFolder = Path.GetFullPath(Path.Combine(nugetScintillaNETLocation, @"..\..\..\.."));
- yield return Path.Combine(rootProjectFolder, "packages", nugetScintillaPackageName + "." + nugetScintillaPackageVersion, "build", platform);
- }
- else
- {
- // if .NET in design mode
- yield return Path.GetFullPath(Path.Combine(managedLocation, @"..\..\build", platform));
+ yield return Path.Combine(rootProjectFolder, "packages", nugetScintillaPackageName + "." + versionString, folder);
}
}
@@ -479,7 +482,7 @@ public void CallTipCancel()
/// The new highlight text Color. The default is dark blue.
public void CallTipSetForeHlt(Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
DirectMessage(NativeMethods.SCI_CALLTIPSETFOREHLT, new IntPtr(colour));
}
@@ -1420,13 +1423,24 @@ private void InitDocument(Eol eolMode = Eol.CrLf, bool useTabs = false, int tabW
///
/// Default Attribute values do not always get applied to the control.
- /// https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.defaultvalueattribute?view=net-8.0&redirectedfrom=MSDN
+ /// https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.defaultvalueattribute
/// "A DefaultValueAttribute will not cause a member to be automatically initialized with the attribute's value. You must set the initial value in your code."
/// This function is created to be called in the OnHandleCreated event so that we can force the default values to be applied.
///
private void InitControlProps()
{
- CaretLineBackColor = Color.Yellow;
+ // I would like to see all of my text please
+ ScrollWidth = 1;
+ ScrollWidthTracking = true;
+
+ // Reset the valid "word chars" to work around a bug? in Scintilla which includes those below plus non-printable (beyond ASCII 127) characters
+ WordChars = "abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
+
+ // Hide all default margins
+ foreach (var margin in Margins)
+ {
+ margin.Width = 0;
+ }
}
///
@@ -1571,7 +1585,7 @@ public int MarkerLineFromHandle(MarkerHandle markerHandle)
public void MultiEdgeAddLine(int column, Color edgeColor)
{
column = Helpers.ClampMin(column, 0);
- var colour = ColorTranslator.ToWin32(edgeColor);
+ var colour = HelperMethods.ToWin32Color(edgeColor);
DirectMessage(NativeMethods.SCI_MULTIEDGEADDLINE, new IntPtr(column), new IntPtr(colour));
}
@@ -1788,24 +1802,9 @@ protected override unsafe void OnHandleCreated(EventArgs e)
InitDocument();
InitControlProps();
- // I would like to see all of my text please
- DirectMessage(NativeMethods.SCI_SETSCROLLWIDTH, new IntPtr(1));
- DirectMessage(NativeMethods.SCI_SETSCROLLWIDTHTRACKING, new IntPtr(1));
-
- //hide all default margins
- foreach (var margin in Margins)
- {
- margin.Width = 0;
- }
-
// Enable support for the call tip style and tabs
DirectMessage(NativeMethods.SCI_CALLTIPUSESTYLE, new IntPtr(16));
- // Reset the valid "word chars" to work around a bug? in Scintilla which includes those below plus non-printable (beyond ASCII 127) characters
- var bytes = Helpers.GetBytes("abcdefghijklmnopqrstuvwxyz_ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Encoding.ASCII, zeroTerminated: true);
- fixed (byte* bp = bytes)
- DirectMessage(NativeMethods.SCI_SETWORDCHARS, IntPtr.Zero, new IntPtr(bp));
-
// Native Scintilla uses the WM_CREATE message to register itself as an
// IDropTarget... beating Windows Forms to the punch. There are many possible
// ways to solve this, but my favorite is to revoke drag and drop from the
@@ -2411,9 +2410,10 @@ public void SelectAll()
///
/// Additional selections background color.
/// Calling will reset the specified.
+ [Obsolete("Superseded by SelectionAdditionalBackColor property.")]
public void SetAdditionalSelBack(Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
DirectMessage(NativeMethods.SCI_SETADDITIONALSELBACK, new IntPtr(colour));
}
@@ -2422,9 +2422,10 @@ public void SetAdditionalSelBack(Color color)
///
/// Additional selections foreground color.
/// Calling will reset the specified.
+ [Obsolete("Superseded by SelectionAdditionalTextColor property.")]
public void SetAdditionalSelFore(Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
DirectMessage(NativeMethods.SCI_SETADDITIONALSELFORE, new IntPtr(colour));
}
@@ -2457,7 +2458,7 @@ public void SetFoldFlags(FoldFlags flags)
///
public void SetFoldMarginColor(bool use, Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
var useFoldMarginColour = (use ? new IntPtr(1) : IntPtr.Zero);
DirectMessage(NativeMethods.SCI_SETFOLDMARGINCOLOUR, useFoldMarginColour, new IntPtr(colour));
@@ -2471,7 +2472,7 @@ public void SetFoldMarginColor(bool use, Color color)
///
public void SetFoldMarginHighlightColor(bool use, Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
var useFoldMarginHighlightColour = (use ? new IntPtr(1) : IntPtr.Zero);
DirectMessage(NativeMethods.SCI_SETFOLDMARGINHICOLOUR, useFoldMarginHighlightColour, new IntPtr(colour));
@@ -2642,9 +2643,10 @@ public void SetSelection(int caret, int anchor)
/// true to override the selection background color; otherwise, false.
/// The global selection background color.
///
+ [Obsolete("Superseded by SelectionBackColor property.")]
public void SetSelectionBackColor(bool use, Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
var useSelectionForeColour = (use ? new IntPtr(1) : IntPtr.Zero);
DirectMessage(NativeMethods.SCI_SETSELBACK, useSelectionForeColour, new IntPtr(colour));
@@ -2656,9 +2658,10 @@ public void SetSelectionBackColor(bool use, Color color)
/// true to override the selection foreground color; otherwise, false.
/// The global selection foreground color.
///
+ [Obsolete("Superseded by SelectionTextColor property.")]
public void SetSelectionForeColor(bool use, Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
var useSelectionForeColour = (use ? new IntPtr(1) : IntPtr.Zero);
DirectMessage(NativeMethods.SCI_SETSELFORE, useSelectionForeColour, new IntPtr(colour));
@@ -2745,9 +2748,10 @@ public void SetTargetRange(int start, int end)
/// When not overridden globally, the whitespace background color is determined by the current lexer.
///
///
+ [Obsolete("Superseded by WhitespaceBackColor property.")]
public void SetWhitespaceBackColor(bool use, Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
var useWhitespaceBackColour = (use ? new IntPtr(1) : IntPtr.Zero);
DirectMessage(NativeMethods.SCI_SETWHITESPACEBACK, useWhitespaceBackColour, new IntPtr(colour));
@@ -2761,9 +2765,10 @@ public void SetWhitespaceBackColor(bool use, Color color)
/// When not overridden globally, the whitespace foreground color is determined by the current lexer.
///
///
+ [Obsolete("Superseded by WhitespaceTextColor property.")]
public void SetWhitespaceForeColor(bool use, Color color)
{
- var colour = ColorTranslator.ToWin32(color);
+ var colour = HelperMethods.ToWin32Color(color);
var useWhitespaceForeColour = (use ? new IntPtr(1) : IntPtr.Zero);
DirectMessage(NativeMethods.SCI_SETWHITESPACEFORE, useWhitespaceForeColour, new IntPtr(colour));
@@ -3271,12 +3276,12 @@ public unsafe void ClearRepresentation(string encodedString)
#region Properties
///
- /// Gets or sets whether Scintilla's native drag & drop should be used instead of WinForms based one.
+ /// Gets or sets whether Scintilla's native drag & drop should be used instead of WinForms based one.
///
- /// true if Scintilla's native drag & drop should be used; otherwise, false. The default is false.
+ /// true if Scintilla's native drag & drop should be used; otherwise, false. The default is false.
[DefaultValue(false)]
- [Category("Behaviour")]
- [Description("Indicates whether Scintilla's native drag & drop should be used instead of WinForms based one.")]
+ [Category("Behavior")]
+ [Description("Indicates whether Scintilla's native drag && drop should be used instead of WinForms based one.")]
public bool _ScintillaManagedDragDrop { get; set; }
// Underscore is used so that WinForms Designer sets it before any other
// property. Otherwise ApplyResources gets called on the control before
@@ -3287,7 +3292,8 @@ public unsafe void ClearRepresentation(string encodedString)
/// Gets or sets the bi-directionality of the Scintilla control.
///
/// The bi-directionality of the Scintilla control.
- [Category("Behaviour")]
+ [DefaultValue(BiDirectionalDisplayType.Disabled)]
+ [Category("Behavior")]
[Description("The bi-directionality of the Scintilla control.")]
public BiDirectionalDisplayType BiDirectionality
{
@@ -3312,7 +3318,8 @@ public BiDirectionalDisplayType BiDirectionality
/// Gets or sets a value indicating whether the reading layout is from right to left.
///
/// true if reading layout is from right to left; otherwise, false.
- [Category("Behaviour")]
+ [DefaultValue(false)]
+ [Category("Behavior")]
[Description("A value indicating whether the reading layout is from right to left.")]
public bool UseRightToLeftReadingLayout
{
@@ -3365,13 +3372,13 @@ public Color AdditionalCaretForeColor
{
get
{
- var color = DirectMessage(NativeMethods.SCI_GETADDITIONALCARETFORE).ToInt32();
- return ColorTranslator.FromWin32(color);
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_CARET_ADDITIONAL)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
}
set
{
- var color = ColorTranslator.ToWin32(value);
- DirectMessage(NativeMethods.SCI_SETADDITIONALCARETFORE, new IntPtr(color));
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_CARET_ADDITIONAL), new IntPtr(color));
}
}
@@ -3425,6 +3432,9 @@ public bool AdditionalCaretsVisible
[DefaultValue(256)]
[Category("Multiple Selection")]
[Description("The transparency of additional selections.")]
+ [Obsolete("Use SelectionAdditionalTextColor with alpha channel instead.")]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ [Browsable(false)]
public int AdditionalSelAlpha
{
get
@@ -3504,6 +3514,86 @@ public Annotation AnnotationVisible
}
}
+ ///
+ /// Gets or sets the text color in autocompletion lists.
+ ///
+ [Description("The text color in autocompletion lists.")]
+ [Category("Autocompletion")]
+ [DefaultValue(typeof(Color), "Black")]
+ public Color AutocompleteListTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color in autocompletion lists.
+ ///
+ [Description("The background color in autocompletion lists.")]
+ [Category("Autocompletion")]
+ [DefaultValue(typeof(Color), "White")]
+ public Color AutocompleteListBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the text color of selected item in autocompletion lists.
+ ///
+ [Description("The text color of selected item in autocompletion lists.")]
+ [Category("Autocompletion")]
+ [DefaultValue(typeof(Color), "White")]
+ public Color AutocompleteListSelectedTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST_SELECTED)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST_SELECTED), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color of selected item in autocompletion lists.
+ ///
+ [Description("The background color of selected item in autocompletion lists.")]
+ [Category("Autocompletion")]
+ [DefaultValue(typeof(Color), "0, 120, 215")]
+ public Color AutocompleteListSelectedBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST_SELECTED_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_LIST_SELECTED_BACK), new IntPtr(color));
+ }
+ }
+
///
/// Gets a value indicating whether there is an autocompletion list displayed.
///
@@ -3647,9 +3737,9 @@ public bool AutoCIgnoreCase
///
/// Gets or sets the maximum height of the autocompletion list measured in rows.
///
- /// The max number of rows to display in an autocompletion window. The default is 5.
+ /// The max number of rows to display in an autocompletion window. The default is 9.
/// If there are more items in the list than max rows, a vertical scrollbar is shown.
- [DefaultValue(5)]
+ [DefaultValue(9)]
[Category("Autocompletion")]
[Description("The maximum number of rows to display in an autocompletion list.")]
public int AutoCMaxHeight
@@ -4020,13 +4110,13 @@ public Color CaretForeColor
{
get
{
- var color = DirectMessage(NativeMethods.SCI_GETCARETFORE).ToInt32();
- return ColorTranslator.FromWin32(color);
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_CARET)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
}
set
{
- var color = ColorTranslator.ToWin32(value);
- DirectMessage(NativeMethods.SCI_SETCARETFORE, new IntPtr(color));
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_CARET), new IntPtr(color));
}
}
@@ -4034,20 +4124,20 @@ public Color CaretForeColor
/// Gets or sets the caret line background color.
///
/// The caret line background color. The default is yellow.
- [DefaultValue(typeof(Color), "Yellow")]
+ [DefaultValue(typeof(Color), "Transparent")]
[Category("Caret")]
[Description("The background color of the current line.")]
public Color CaretLineBackColor
{
get
{
- var color = DirectMessage(NativeMethods.SCI_GETCARETLINEBACK).ToInt32();
- return ColorTranslator.FromWin32(color);
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_CARET_LINE_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
}
set
{
- var color = ColorTranslator.ToWin32(value);
- DirectMessage(NativeMethods.SCI_SETCARETLINEBACK, new IntPtr(color));
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_CARET_LINE_BACK), new IntPtr(color));
}
}
@@ -4061,6 +4151,9 @@ public Color CaretLineBackColor
[DefaultValue(256)]
[Category("Caret")]
[Description("The transparency of the current line background color.")]
+ [Obsolete("Use CaretLineBackColor with alpha channel instead.")]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ [Browsable(false)]
public int CaretLineBackColorAlpha
{
get
@@ -4097,15 +4190,18 @@ public int CaretLineFrame
///
/// Gets or sets whether the caret line is visible (highlighted).
///
- /// true if the caret line is visible; otherwise, false. The default is false.
+ /// true if the caret line is visible; otherwise, false. The default is true.
[DefaultValue(true)]
[Category("Caret")]
[Description("Determines whether to highlight the current caret line.")]
+ [Obsolete("Use CaretLineBackColor with alpha channel instead.")]
+ [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
+ [Browsable(false)]
public bool CaretLineVisible
{
get
{
- return (DirectMessage(NativeMethods.SCI_GETCARETLINEVISIBLE) != IntPtr.Zero);
+ return DirectMessage(NativeMethods.SCI_GETCARETLINEVISIBLE) != IntPtr.Zero;
}
set
{
@@ -4433,8 +4529,8 @@ public Document Document
/// Gets or sets the background color to use when indicating long lines with
/// .
///
- /// The background Color. The default is Silver.
- [DefaultValue(typeof(Color), "Silver")]
+ /// The background Color.
+ [DefaultValue(typeof(Color), "0, 192, 192, 192")]
[Category("Long Lines")]
[Description("The background color to use when indicating long lines.")]
public Color EdgeColor
@@ -4442,11 +4538,11 @@ public Color EdgeColor
get
{
var color = DirectMessage(NativeMethods.SCI_GETEDGECOLOUR).ToInt32();
- return ColorTranslator.FromWin32(color);
+ return HelperMethods.FromWin32Color(color);
}
set
{
- var color = ColorTranslator.ToWin32(value);
+ var color = HelperMethods.ToWin32Color(value);
DirectMessage(NativeMethods.SCI_SETEDGECOLOUR, new IntPtr(color));
}
}
@@ -4642,6 +4738,7 @@ public override Font Font
set
{
var defaultFontStyle = Styles[Style.Default];
+ value = value ?? Parent?.Font ?? Control.DefaultFont;
defaultFontStyle.Font = value.Name;
defaultFontStyle.SizeF = value.Size;
defaultFontStyle.Bold = value.Bold;
@@ -5385,9 +5482,9 @@ private IntPtr SciPointer
///
/// Gets or sets the range of the horizontal scroll bar.
///
- /// The range in pixels of the horizontal scroll bar. The default is 2000.
+ /// The range in pixels of the horizontal scroll bar.
/// The width will automatically increase as needed when is enabled.
- [DefaultValue(2000)]
+ [DefaultValue(1)]
[Category("Scrolling")]
[Description("The range in pixels of the horizontal scroll bar.")]
public int ScrollWidth
@@ -5517,6 +5614,326 @@ public bool SelectionEolFilled
}
}
+ ///
+ /// Gets or sets the color of visible white space.
+ ///
+ [Description("The color of visible white space.")]
+ [Category("Whitespace")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color WhitespaceTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_WHITE_SPACE)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_WHITE_SPACE), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color of visible white space.
+ ///
+ [Description("The background color of visible white space.")]
+ [Category("Whitespace")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color WhitespaceBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_WHITE_SPACE_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_WHITE_SPACE_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the text color of active hot spot.
+ ///
+ [Description("The text color of active hot spot.")]
+ [Category("Hotspot")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color ActiveHotspotTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_HOT_SPOT_ACTIVE)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_HOT_SPOT_ACTIVE), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color of active hot spot.
+ ///
+ [Description("The background color of active hot spot.")]
+ [Category("Hotspot")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color ActiveHotspotBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_HOT_SPOT_ACTIVE_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_HOT_SPOT_ACTIVE_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the text color of main selection.
+ ///
+ [Description("The text color of main selection.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color SelectionTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_TEXT)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_TEXT), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color of main selection.
+ ///
+ [Description("The background color of main selection.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Silver")]
+ public Color SelectionBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the text color of additional selections.
+ ///
+ [Description("The text color of additional selections.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color SelectionAdditionalTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_ADDITIONAL_TEXT)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_ADDITIONAL_TEXT), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color of additional selections.
+ ///
+ [Description("The background color of additional selections.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "215, 215, 215")]
+ public Color SelectionAdditionalBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_ADDITIONAL_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_ADDITIONAL_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the text colour of selections when another window contains the primary selection.
+ ///
+ [Description("The text colour of selections when another window contains the primary selection.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color SelectionSecondaryTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_SECONDARY_TEXT)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_SECONDARY_TEXT), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the background color of selections when another window contains the primary selection.
+ ///
+ [Description("The background color of selections when another window contains the primary selection.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "176, 176, 176")]
+ public Color SelectionSecondaryBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_SECONDARY_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_SECONDARY_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the text colour of selections when the control has no focus.
+ ///
+ [Description("The text colour of selections when the control has no focus.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color SelectionInactiveTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_TEXT)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_TEXT), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the selection highlight color to use when the control has no focus.
+ ///
+ [Description("The selection highlight color to use when the control has no focus.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "63, 128, 128, 128")]
+ public Color SelectionInactiveBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the selected text color to use when the control has no focus.
+ ///
+ [Description("The selected text color to use when the control has no focus.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color SelectionInactiveAdditionalTextColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_TEXT), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the selection highlight color to use when the control has no focus.
+ ///
+ [Description("The selection highlight color to use when the control has no focus.")]
+ [Category("Selection")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color SelectionInactiveAdditionalBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_SELECTION_INACTIVE_ADDITIONAL_BACK), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the color of fold lines.
+ ///
+ [Description("The color of fold lines.")]
+ [Category("Folding")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color FoldLineBackColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_FOLD_LINE)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_FOLD_LINE), new IntPtr(color));
+ }
+ }
+
+ ///
+ /// Gets or sets the color of line drawn to show there are lines hidden at that point.
+ ///
+ [Description("The color of line drawn to show there are lines hidden at that point.")]
+ [Category("Folding")]
+ [DefaultValue(typeof(Color), "Transparent")]
+ public Color FoldLineStripColor
+ {
+ get
+ {
+ int color = DirectMessage(NativeMethods.SCI_GETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_HIDDEN_LINE)).ToInt32();
+ return HelperMethods.FromWin32Color(color);
+ }
+ set
+ {
+ int color = HelperMethods.ToWin32Color(value);
+ DirectMessage(NativeMethods.SCI_SETELEMENTCOLOUR, new IntPtr(NativeMethods.SC_ELEMENT_HIDDEN_LINE), new IntPtr(color));
+ }
+ }
+
///
/// Gets a collection representing multiple selections in a control.
///
@@ -5611,7 +6028,7 @@ public TabDrawMode TabDrawMode
/// Gets or sets whether tab inserts a tab character, or indents.
///
/// Whether tab inserts a tab character (false), or indents (true).
- [DefaultValue(false)]
+ [DefaultValue(true)]
[Category("Indentation")]
[Description("Determines whether tab inserts a tab character, or indents.")]
public bool TabIndents
@@ -6076,9 +6493,9 @@ public WrapIndentMode WrapIndentMode
///
///
/// One of the enumeration values.
- /// The default is .
+ /// The default is .
///
- [DefaultValue(WrapMode.Word)]
+ [DefaultValue(WrapMode.None)]
[Category("Line Wrapping")]
[Description("The line wrapping strategy.")]
public WrapMode WrapMode
diff --git a/Scintilla.NET/ScintillaNET.Core.xml b/Scintilla.NET/ScintillaNET.Core.xml
deleted file mode 100644
index 4a83f14..0000000
--- a/Scintilla.NET/ScintillaNET.Core.xml
+++ /dev/null
@@ -1,9236 +0,0 @@
-
-
-
- ScintillaNET.Core
-
-
-
-
- Visibility and location of annotations in a control
-
-
-
-
- Annotations are not displayed. This is the default.
-
-
-
-
- Annotations are drawn left justified with no adornment.
-
-
-
-
- Annotations are indented to match the text and are surrounded by a box.
-
-
-
-
- Annotations are indented to match the text.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the fillup character that caused the completion.
-
- The fillup character used to cause the completion; otherwise, 0.
- Only a of will return a non-zero character.
-
-
-
-
- Gets a value indicating how the completion occurred.
-
- One of the enumeration values.
-
-
-
- Gets the start position of the word being completed.
-
- The zero-based document position of the word being completed.
-
-
-
- Gets the text of the selected autocompletion item.
-
- The selected autocompletion item text.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document of the word being completed.
- A pointer to the selected autocompletion text.
- The character that caused the completion.
- A value indicating the way in which the completion occurred.
-
-
-
- Configuration options for automatic code folding.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Automatic folding is disabled. This is the default.
-
-
-
-
- Automatically show lines as needed. The event is not raised when this value is used.
-
-
-
-
- Handle clicks in fold margin automatically. The event is not raised for folding margins when this value is used.
-
-
-
-
- Show lines as needed when the fold structure is changed.
-
-
-
-
- Provides data for the and events.
-
-
-
-
- Gets the zero-based document position where the modification will occur.
-
- The zero-based character position within the document where text will be inserted or deleted.
-
-
-
- Gets the source of the modification.
-
- One of the enum values.
-
-
-
- Gets the text being inserted or deleted.
-
-
- The text about to be inserted or deleted, or null when the the source of the modification is an undo/redo operation.
-
-
- This property will return null when is or .
-
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The source of the modification.
- The zero-based byte position within the document where text is being modified.
- The length in bytes of the text being modified.
- A pointer to the text being inserted.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the type of the call tip click.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- /// Type of the call tip click.
-
-
-
- The type of a call tip click.
-
-
-
-
- The call tip was clicked elsewhere; not the up or down arrows.
-
-
-
-
- The call tip up arrow was clicked.
-
-
-
-
- The call tip down arrow was clicked.
-
-
-
-
- The caret visual style.
-
-
-
-
- The caret is not displayed.
-
-
-
-
- The caret is drawn as a vertical line.
-
-
-
-
- The caret is drawn as a block.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the line index where the annotation changed.
-
- The zero-based line index where the annotation change occurred.
-
-
-
- Initializes a new instance of the class.
-
- The zero-based line index of the annotation that changed.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the text character added to a control.
-
- The character added.
-
-
-
- Initializes a new instance of the class.
-
- The character added.
-
-
-
- Actions which can be performed by the application or bound to keys in a control.
-
-
-
-
- When bound to keys performs the standard platform behavior.
-
-
-
-
- Performs no action and when bound to keys prevents them from propagating to the parent window.
-
-
-
-
- Moves the caret down one line.
-
-
-
-
- Extends the selection down one line.
-
-
-
-
- Extends the rectangular selection down one line.
-
-
-
-
- Scrolls down one line.
-
-
-
-
- Moves the caret up one line.
-
-
-
-
- Extends the selection up one line.
-
-
-
-
- Extends the rectangular selection up one line.
-
-
-
-
- Scrolls up one line.
-
-
-
-
- Moves the caret down one paragraph.
-
-
-
-
- Extends the selection down one paragraph.
-
-
-
-
- Moves the caret up one paragraph.
-
-
-
-
- Extends the selection up one paragraph.
-
-
-
-
- Moves the caret left one character.
-
-
-
-
- Extends the selection left one character.
-
-
-
-
- Extends the rectangular selection left one character.
-
-
-
-
- Moves the caret right one character.
-
-
-
-
- Extends the selection right one character.
-
-
-
-
- Extends the rectangular selection right one character.
-
-
-
-
- Moves the caret to the start of the previous word.
-
-
-
-
- Extends the selection to the start of the previous word.
-
-
-
-
- Moves the caret to the start of the next word.
-
-
-
-
- Extends the selection to the start of the next word.
-
-
-
-
- Moves the caret to the end of the previous word.
-
-
-
-
- Extends the selection to the end of the previous word.
-
-
-
-
- Moves the caret to the end of the next word.
-
-
-
-
- Extends the selection to the end of the next word.
-
-
-
-
- Moves the caret to the previous word segment (case change or underscore).
-
-
-
-
- Extends the selection to the previous word segment (case change or underscore).
-
-
-
-
- Moves the caret to the next word segment (case change or underscore).
-
-
-
-
- Extends the selection to the next word segment (case change or underscore).
-
-
-
-
- Moves the caret to the start of the line.
-
-
-
-
- Extends the selection to the start of the line.
-
-
-
-
- Extends the rectangular selection to the start of the line.
-
-
-
-
- Moves the caret to the start of the display line.
-
-
-
-
- Extends the selection to the start of the display line.
-
-
-
-
- Moves the caret to the start of the display or document line.
-
-
-
-
- Extends the selection to the start of the display or document line.
-
-
-
-
- Moves the caret to the first non-whitespace character of the line.
-
-
-
-
- Extends the selection to the first non-whitespace character of the line.
-
-
-
-
- Extends the rectangular selection to the first non-whitespace character of the line.
-
-
-
-
- Moves the caret to the first non-whitespace character of the display or document line.
-
-
-
-
- Extends the selection to the first non-whitespace character of the display or document line.
-
-
-
-
- Moves the caret to the first non-whitespace character of the display line.
-
-
-
-
- Extends the selection to the first non-whitespace character of the display line.
-
-
-
-
- Moves the caret to the end of the document line.
-
-
-
-
- Extends the selection to the end of the document line.
-
-
-
-
- Extends the rectangular selection to the end of the document line.
-
-
-
-
- Moves the caret to the end of the display line.
-
-
-
-
- Extends the selection to the end of the display line.
-
-
-
-
- Moves the caret to the end of the display or document line.
-
-
-
-
- Extends the selection to the end of the display or document line.
-
-
-
-
- Moves the caret to the start of the document.
-
-
-
-
- Extends the selection to the start of the document.
-
-
-
-
- Moves the caret to the end of the document.
-
-
-
-
- Extends the selection to the end of the document.
-
-
-
-
- Moves the caret up one page.
-
-
-
-
- Extends the selection up one page.
-
-
-
-
- Extends the rectangular selection up one page.
-
-
-
-
- Moves the caret down one page.
-
-
-
-
- Extends the selection down one page.
-
-
-
-
- Extends the rectangular selection down one page.
-
-
-
-
- Moves the caret up one window or page.
-
-
-
-
- Extends the selection up one window or page.
-
-
-
-
- Moves the caret down one window or page.
-
-
-
-
- Extends the selection down one window or page.
-
-
-
-
- Deletes the character left of the caret.
-
-
-
-
- Deletes the character (excluding line breaks) left of the caret.
-
-
-
-
- Deletes from the caret to the start of the previous word.
-
-
-
-
- Deletes from the caret to the start of the next word.
-
-
-
-
- Deletes from the caret to the end of the next word.
-
-
-
-
- Deletes the characters left of the caret to the start of the line.
-
-
-
-
- Deletes the characters right of the caret to the start of the line.
-
-
-
-
- Deletes the current line.
-
-
-
-
- Removes the current line and places it on the clipboard.
-
-
-
-
- Copies the current line and places it on the clipboard.
-
-
-
-
- Transposes the current and previous lines.
-
-
-
-
- Reverses the current line.
-
-
-
-
- Duplicates the current line.
-
-
-
-
- Converts the selection to lowercase.
-
-
-
-
- Converts the selection to uppercase.
-
-
-
-
- Cancels autocompletion, calltip display, and drops any additional selections.
-
-
-
-
- Toggles overtype. See .
-
-
-
-
- Inserts a newline character.
-
-
-
-
- Inserts a form feed character.
-
-
-
-
- Adds a tab (indent) character.
-
-
-
-
- Removes a tab (indent) character from the start of a line.
-
-
-
-
- Duplicates the current selection.
-
-
-
-
- Moves the caret vertically to the center of the screen.
-
-
-
-
- Moves the selected lines up.
-
-
-
-
- Moves the selected lines down.
-
-
-
-
- Scrolls to the start of the document without changing the selection.
-
-
-
-
- Scrolls to the end of the document without changing the selection.
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Specifies the clipboard formats to copy.
-
-
-
-
- Copies text to the clipboard in Unicode format.
-
-
-
-
- Copies text to the clipboard in Rich Text Format (RTF).
-
-
-
-
- Copies text to the clipboard in HyperText Markup Language (HTML) format.
-
-
-
-
- A document.
-
-
- This is an opaque type, meaning it can be used by a control but
- otherwise has no public members of its own.
-
-
-
-
- A read-only field that represents an uninitialized document.
-
-
-
-
- Returns a value indicating whether this instance is equal to a specified object.
-
- An object to compare with this instance or null.
- true if is an instance of and equals the value of this instance; otherwise, false.
-
-
-
- Returns the hash code for this instance.
-
- A 32-bit signed integer hash code.
-
-
-
- Determines whether two specified instances of are equal.
-
- The first document to compare.
- The second document to compare.
- true if equals ; otherwise, false.
-
-
-
- Determines whether two specified instances of are not equal.
-
- The first document to compare.
- The second document to compare.
- true if does not equal ; otherwise, false.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the line double clicked.
-
- The zero-based index of the double clicked line.
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when double clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
-
-
-
- Gets the zero-based document position of the text double clicked.
-
-
- The zero-based character position within the document of the double clicked text;
- otherwise, -1 if not a document position.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the double click.
- The zero-based byte position of the double clicked text.
- The zero-based line index of the double clicked text.
-
-
-
- Provides data for the and events.
-
-
-
-
- Gets the zero-based document position where the mouse pointer was lingering.
-
- The nearest zero-based document position to where the mouse pointer was lingering.
-
-
-
- Gets the x-coordinate of the mouse pointer.
-
- The x-coordinate of the mouse pointer relative to the control.
-
-
-
- Gets the y-coordinate of the mouse pointer.
-
- The y-coordinate of the mouse pointer relative to the control.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document where the mouse pointer was lingering.
- The x-coordinate of the mouse pointer relative to the control.
- The y-coordinate of the mouse pointer relative to the control.
-
-
-
- The long line edge display mode.
-
-
-
-
- Long lines are not indicated. This is the default.
-
-
-
-
- Long lines are indicated with a vertical line.
-
-
-
-
- Long lines are indicated with a background color.
-
-
-
-
- Similar to except allows for multiple vertical lines to be visible using the method.
-
- and are completely independant of this mode.
-
-
-
- End-of-line format.
-
-
-
-
- Carriage Return, Line Feed pair "\r\n" (0x0D0A).
-
-
-
-
- Carriage Return '\r' (0x0D).
-
-
-
-
- Line Feed '\n' (0x0A).
-
-
-
-
- Fold actions.
-
-
-
-
- Contract the fold.
-
-
-
-
- Expand the fold.
-
-
-
-
- Toggle between contracted and expanded.
-
-
-
-
- Display options for fold text tags.
-
-
-
-
- Do not display the text tags. This is the default.
-
-
-
-
- Display the text tags.
-
-
-
-
- Display the text tags with a box drawn around them.
-
-
-
-
- Additional display options for folds.
-
-
-
-
- A line is drawn above if expanded.
-
-
-
-
- A line is drawn above if not expanded.
-
-
-
-
- A line is drawn below if expanded.
-
-
-
-
- A line is drawn below if not expanded.
-
-
-
-
- Displays the hexadecimal fold levels in the margin to aid with debugging.
- This feature may change in the future.
-
-
-
-
- Displays the hexadecimal line state in the margin to aid with debugging. This flag
- cannot be used at the same time as the flag.
-
-
-
-
- Flags for additional line fold level behavior.
-
-
-
-
- Indicates that the line is blank and should be treated slightly different than its level may indicate;
- otherwise, blank lines should generally not be fold points.
-
-
-
-
- Indicates that the line is a header (fold point).
-
-
-
-
- The font quality (antialiasing method) used to render text.
-
-
-
-
- Specifies that the character quality of the font does not matter; so the lowest quality can be used.
- This is the default.
-
-
-
-
- Specifies that anti-aliasing should not be used when rendering text.
-
-
-
-
- Specifies that anti-aliasing should be used when rendering text, if the font supports it.
-
-
-
-
- Specifies that ClearType anti-aliasing should be used when rendering text, if the font supports it.
-
-
-
-
- Provides data for the , ,
- and events.
-
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
- Only the state of the CTRL key is reported in the event.
-
-
-
- Gets the zero-based document position of the text clicked.
-
- The zero-based character position within the document of the clicked text.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the click.
- The zero-based byte position of the clicked text.
-
-
-
- Possible strategies for styling text using application idle time.
-
-
-
-
-
- Syntax styling is performed for all the currently visible text before displaying it.
- This is the default.
-
-
-
-
- A small amount of styling is performed before display and then further styling is performed incrementally in the background as an idle-time task.
- This can improve initial display/scroll performance, but may result in the text initially appearing uncolored and then, some time later, it is colored.
-
-
-
-
- Text after the currently visible portion may be styled as an idle-time task.
- This will not improve initial display/scroll performance, but may improve subsequent display/scroll performance.
-
-
-
-
- Text before and after the current visible text.
- This is a combination of and .
-
-
-
-
- Provides methods for loading and creating a on a background (non-UI) thread.
-
-
- Internally an maintains a instance with a reference count of 1.
- You are responsible for ensuring the reference count eventually reaches 0 or memory leaks will occur.
-
-
-
-
- Adds the data specified to the internal document.
-
- The character buffer to copy to the new document.
- The number of characters in to copy.
-
- true if the data was added successfully; otherwise, false.
- A return value of false should be followed by a call to .
-
-
-
-
- Returns the internal document.
-
- A containing the added text. The document has a reference count of 1.
-
-
-
- Called to release the internal document when an error occurs using or to abandon loading.
-
-
- The internal document reference count.
- A return value of 0 indicates that the document has been destroyed and all associated memory released.
-
-
-
-
- Options for displaying indentation guides in a control.
-
- Indentation guides can be styled using the style.
-
-
-
- No indentation guides are shown. This is the default.
-
-
-
-
- Indentation guides are shown inside real indentation whitespace.
-
-
-
-
- Indentation guides are shown beyond the actual indentation up to the level of the next non-empty line.
- If the previous non-empty line was a fold header then indentation guides are shown for one more level of indent than that line.
- This setting is good for Python.
-
-
-
-
- Indentation guides are shown beyond the actual indentation up to the level of the next non-empty line or previous non-empty line whichever is the greater.
- This setting is good for most languages.
-
-
-
-
- Represents an indicator in a control.
-
-
-
-
- An OR mask to use with and to indicate
- that the user-defined indicator value should be treated as a RGB color.
-
-
-
-
- An AND mask to use with to retrieve the user-defined value as a RGB color when being treated as such.
-
-
-
-
- Given a document position which is filled with this indicator, will return the document position
- where the use of this indicator ends.
-
- A zero-based document position using this indicator.
- The zero-based document position where the use of this indicator ends.
-
- Specifying a which is not filled with this indicator will cause this method
- to return the end position of the range where this indicator is not in use (the negative space). If this
- indicator is not in use anywhere within the document the return value will be 0.
-
-
-
-
- Given a document position which is filled with this indicator, will return the document position
- where the use of this indicator starts.
-
- A zero-based document position using this indicator.
- The zero-based document position where the use of this indicator starts.
-
- Specifying a which is not filled with this indicator will cause this method
- to return the start position of the range where this indicator is not in use (the negative space). If this
- indicator is not in use anywhere within the document the return value will be 0.
-
-
-
-
- Returns the user-defined value for the indicator at the specified position.
-
- The zero-based document position to get the indicator value for.
- The user-defined value at the specified .
-
-
-
- Gets or sets the alpha transparency of the indicator.
-
-
- The alpha transparency ranging from 0 (completely transparent)
- to 255 (no transparency). The default is 30.
-
-
-
-
- Gets or sets the indicator flags.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Gets or sets the color used to draw an indicator.
-
- The Color used to draw an indicator. The default varies.
- Changing the property will reset the .
-
-
-
-
- Gets or sets the color used to draw an indicator when the mouse or caret is over an indicator.
-
-
- The Color used to draw an indicator.
- By default, the hover style is equal to the regular .
-
- Changing the property will reset the .
-
-
-
-
- Gets or sets the indicator style used when the mouse or caret is over an indicator.
-
-
- One of the enumeration values.
- By default, the hover style is equal to the regular .
-
- Changing the property will reset the .
-
-
-
-
- Gets the zero-based indicator index this object represents.
-
- The indicator definition index within the .
-
-
-
- Gets or sets the alpha transparency of the indicator outline.
-
-
- The alpha transparency ranging from 0 (completely transparent)
- to 255 (no transparency). The default is 50.
-
-
-
-
- Gets or sets the indicator style.
-
- One of the enumeration values. The default varies.
- Changing the property will reset the .
-
-
-
-
- Gets or sets whether indicators are drawn under or over text.
-
- true to draw the indicator under text; otherwise, false. The default is false.
- Drawing indicators under text requires or drawing.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this indicator.
- The index of this style within the that created it.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the click.
- The zero-based byte position of the clicked text.
-
-
-
- An immutable collection of indicators in a control.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets the number of indicators.
-
- The number of indicators in the .
-
-
-
- Gets an object at the specified index.
-
- The indicator index.
- An object representing the indicator at the specified .
-
- Indicators 0 through 7 are used by lexers.
- Indicators 32 through 35 are used for IME.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- Flags associated with a .
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- No flags. This is the default.
-
-
-
-
- When set, will treat an indicator value as a RGB color that has been OR'd with
- and will use that instead of the value specified in the property. This allows
- an indicator to display more than one color.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the zero-based document position of the text clicked.
-
- The zero-based character position within the document of the clicked text.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position of the clicked text.
-
-
-
- The visual appearance of an indicator.
-
-
-
-
- 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.
-
-
-
-
- A rectangle around the text.
-
-
-
-
- A rectangle around the text with rounded corners. The rectangle outline and fill transparencies can be adjusted using
- and .
-
-
-
-
- A rectangle around the text. The rectangle outline and fill transparencies can be adjusted using
- and .
-
-
-
-
- A dashed underline.
-
-
-
-
- A dotted underline.
-
-
-
-
- Similar to but only using 2 vertical pixels so will fit under small fonts.
-
-
-
-
- A dotted rectangle around the text. The dots transparencies can be adjusted using
- and .
-
-
-
-
- A 2-pixel thick underline with 1 pixel insets on either side.
-
-
-
-
- A 1-pixel thick underline with 1 pixel insets on either side.
-
-
-
-
- A rectangle around the entire character area. The rectangle outline and fill transparencies can be adjusted using
- and .
-
-
-
-
- An indicator that will change the foreground color of text to the foreground color of the indicator.
-
-
-
-
- A triangle below the start of the indicator range.
-
-
-
-
- A triangle below the center of the first character of the indicator range.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the zero-based document position where text will be inserted.
-
- The zero-based character position within the document where text will be inserted.
-
-
-
- Gets or sets the text being inserted.
-
- The text being inserted into the document.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document where text is being inserted.
- The length in bytes of the inserted text.
- A pointer to the text being inserted.
-
-
-
- Specifies the lexer to use for syntax highlighting in a control.
-
-
-
-
- Lexing is performed by the control container (host) using
- the event.
-
-
-
-
- No lexing should be performed.
-
-
-
-
- The Ada (95) language lexer.
-
-
-
-
- The assembly language lexer.
-
-
-
-
- The batch file lexer.
-
-
-
-
- The Clarion language
-
-
-
-
- The Clarion language No Case
-
-
-
-
- The C language family (C++, C, C#, Java, JavaScript, etc...) lexer.
-
-
-
-
- The Cascading Style Sheets (CSS, SCSS) lexer.
-
-
-
-
- The Fortran language lexer.
-
-
-
-
- The FreeBASIC language lexer.
-
-
-
-
- The HyperText Markup Language (HTML) lexer.
-
-
-
-
- JavaScript Object Notation (JSON) lexer.
-
-
-
-
- The Lisp language lexer.
-
-
-
-
- The Lua scripting language lexer.
-
-
-
-
- The Matlab scripting language lexer.
-
-
-
-
- The Pascal language lexer.
-
-
-
-
- The Perl language lexer.
-
-
-
-
- The PHP: Hypertext Preprocessor (PHP) script lexer.
-
-
-
-
- PowerShell script lexer.
-
-
-
-
- Properties file (INI) lexer.
-
-
-
-
- The PureBasic language lexer.
-
-
-
-
- The Python language lexer.
-
-
-
-
- The Ruby language lexer.
-
-
-
-
- The SmallTalk language lexer.
-
-
-
-
- The Structured Query Language (SQL) lexer.
-
-
-
-
- The Visual Basic (VB) lexer.
-
-
-
-
- The Visual Basic Script (VBScript) lexer.
-
-
-
-
- The Verilog hardware description language lexer.
-
-
-
-
- The Extensible Markup Language (XML) lexer.
-
-
-
-
- The Blitz (Blitz3D, BlitzMax, etc...) variant of Basic lexer.
-
-
-
-
- The Markdown syntax lexer.
-
-
-
-
- The R programming language lexer.
-
-
-
-
- Represents a line of text in a control.
-
-
-
-
- Expands any parent folds to ensure the line is visible.
-
-
-
-
- Performs the specified fold action on the current line and all child lines.
-
- One of the enumeration values.
-
-
-
- Performs the specified fold action on the current line.
-
- One of the enumeration values.
-
-
-
- Searches for the next line that has a folding level that is less than or equal to
- and returns the previous line index.
-
- The level of the line to search for. A value of -1 will use the current line .
-
- The zero-based index of the next line that has a less than or equal
- to . If the current line is a fold point and is -1 the
- index returned is the last line that would be made visible or hidden by toggling the fold state.
-
-
-
-
- Navigates the caret to the start of the line.
-
- Any selection is discarded.
-
-
-
- Adds the specified to the line.
-
- The zero-based index of the marker to add to the line.
- A which can be used to track the line.
- This method does not check if the line already contains the .
-
-
-
- Adds one or more markers to the line in a single call using a bit mask.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes to add.
-
-
-
- Removes the specified from the line.
-
- The zero-based index of the marker to remove from the line or -1 to delete all markers from the line.
- If the same marker has been added to the line more than once, this will delete one copy each time it is used.
-
-
-
- Returns a bit mask indicating which markers are present on the line.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
-
-
-
- Efficiently searches from the current line forward to the end of the document for the specified markers.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
- If found, the zero-based line index containing one of the markers in ; otherwise, -1.
- For example, the mask for marker index 10 is 1 shifted left 10 times (1 << 10).
-
-
-
- Efficiently searches from the current line backward to the start of the document for the specified markers.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
- If found, the zero-based line index containing one of the markers in ; otherwise, -1.
- For example, the mask for marker index 10 is 1 shifted left 10 times (1 << 10).
-
-
-
- Toggles the folding state of the line; expanding or contracting all child lines.
-
- The line must be set as a .
-
-
-
-
- Toggles the folding state of the line; expanding or contracting all child lines, and specifies the text tag to display to the right of the fold.
-
- The text tag to show to the right of the folded text.
- The display of fold text tags are determined by the method.
-
-
-
-
- Gets the number of annotation lines of text.
-
- The number of annotation lines.
-
-
-
- Gets or sets the style of the annotation text.
-
-
- The zero-based index of the annotation text or 256 when
- has been used to set individual character styles.
-
-
-
-
-
- Gets or sets an array of style indexes corresponding to each charcter in the
- so that each character may be individually styled.
-
-
- An array of indexes corresponding with each annotation text character or an uninitialized
- array when has been used to set a single style for all characters.
-
-
- must be set prior to setting this property.
- The specified should have a length equal to the length to properly style all characters.
-
-
-
-
-
- Gets or sets the line annotation text.
-
- A String representing the line annotation text.
-
-
-
- Searches from the current line to find the index of the next contracted fold header.
-
- The zero-based line index of the next contracted folder header.
- If the current line is contracted the current line index is returned.
-
-
-
- Gets the zero-based index of the line as displayed in a control
- taking into consideration folded (hidden) lines.
-
- The zero-based display line index.
-
-
-
-
- Gets the zero-based character position in the document where the line ends (exclusive).
-
- The equivalent of + .
-
-
-
- Gets or sets the expanded state (not the visible state) of the line.
-
-
- For toggling the fold state of a single line the method should be used.
- This property is useful for toggling the state of many folds without updating the display until finished.
-
-
-
-
-
- Gets or sets the fold level of the line.
-
- The fold level ranging from 0 to 4095. The default is 1024.
-
-
-
- Gets or sets the fold level flags.
-
- A bitwise combination of the enumeration.
-
-
-
- Gets the zero-based line index of the first line before the current line that is marked as
- and has a less than the current line.
-
- The zero-based line index of the fold parent if present; otherwise, -1.
-
-
-
- Gets the height of the line in pixels.
-
- The height in pixels of the line.
- Currently all lines are the same height.
-
-
-
- Gets the line index.
-
- The zero-based line index within the that created it.
-
-
-
- Gets the length of the line.
-
- The number of characters in the line including any end of line characters.
-
-
-
- Gets or sets the style of the margin text in a or margin.
-
-
- The zero-based index of the margin text or 256 when
- has been used to set individual character styles.
-
-
-
-
-
- Gets or sets an array of style indexes corresponding to each charcter in the
- so that each character may be individually styled.
-
-
- An array of indexes corresponding with each margin text character or an uninitialized
- array when has been used to set a single style for all characters.
-
-
- must be set prior to setting this property.
- The specified should have a length equal to the length to properly style all characters.
-
-
-
-
-
- Gets or sets the text displayed in the line margin when the margin type is
- or .
-
- The text displayed in the line margin.
-
-
-
- Gets the zero-based character position in the document where the line begins.
-
- The document position of the first character in the line.
-
-
-
- Gets the line text.
-
- A string representing the document line.
- The returned text includes any end of line characters.
-
-
-
- Sets or gets the line indentation.
-
- The indentation measured in character columns, which corresponds to the width of space characters.
-
-
-
- Gets a value indicating whether the line is visible.
-
- true if the line is visible; otherwise, false.
-
-
-
-
-
- Gets the number of display lines this line would occupy when wrapping is enabled.
-
- The number of display lines needed to wrap the current document line.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this line.
- The index of this line within the that created it.
-
-
-
- An immutable collection of lines of text in a control.
-
-
-
-
- Adjust the number of CHARACTERS in a line.
-
-
-
-
- Converts a BYTE offset to a CHARACTER offset.
-
-
-
-
- Returns the number of CHARACTERS in a line.
-
-
-
-
- Returns the CHARACTER offset where the line begins.
-
-
-
-
- Gets the number of CHARACTERS int a BYTE range.
-
-
-
-
- Gets the number of CHARACTERS in a BYTE range.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Returns the line index containing the CHARACTER position.
-
-
-
-
- Tracks a new line with the given CHARACTER length.
-
-
-
-
- Gets a value indicating whether all the document lines are visible (not hidden).
-
- true if all the lines are visible; otherwise, false.
-
-
-
- Gets the number of lines.
-
- The number of lines in the .
-
-
-
- Gets the number of CHARACTERS in the document.
-
-
-
-
- Gets the at the specified zero-based index.
-
- The zero-based index of the to get.
- The at the specified index.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- Stuff we track for each line.
-
-
-
-
- The CHARACTER position where the line begins.
-
-
-
-
- 1 if the line contains multibyte (Unicode) characters; -1 if not; 0 if undetermined.
-
- Using an enum instead of Nullable because it uses less memory per line...
-
-
-
- Line endings types supported by lexers and allowed by a control.
-
-
-
-
-
-
-
- ASCII line endings. Carriage Return, Line Feed pair "\r\n" (0x0D0A); Carriage Return '\r' (0x0D); Line Feed '\n' (0x0A).
-
-
-
-
- Unicode line endings. Next Line (0x0085); Line Separator (0x2028); Paragraph Separator (0x2029).
-
-
-
-
- Indicates how an autocompletion occurred.
-
-
-
-
- A fillup character (see ) triggered the completion.
- The character used is indicated by the property.
-
-
-
-
- A double-click triggered the completion.
-
-
-
-
- A tab key or the command triggered the completion.
-
-
-
-
- A new line or command triggered the completion.
-
-
-
-
- The method triggered the completion.
-
-
-
-
- Represents a margin displayed on the left edge of a control.
-
-
-
-
- Gets or sets the background color of the margin when the property is set to .
-
- A Color object representing the margin background color. The default is Black.
- Alpha color values are ignored.
-
-
-
- Gets or sets the mouse cursor style when over the margin.
-
- One of the enumeration values. The default is .
-
-
-
- Gets the zero-based margin index this object represents.
-
- The margin index within the .
-
-
-
- Gets or sets whether the margin is sensitive to mouse clicks.
-
- true if the margin is sensitive to mouse clicks; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the margin type.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets the width in pixels of the margin.
-
- The width of the margin measured in pixels.
- Scintilla assigns various default widths.
-
-
-
- Gets or sets a mask indicating which markers this margin can display.
-
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
- The default is 0x1FFFFFF, which is every marker except folder markers (i.e. 0 through 24).
-
-
- For example, the mask for marker index 10 is 1 shifted left 10 times (1 << 10).
- is a useful constant for working with just folder margin indexes.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that created this margin.
- The index of this margin within the that created it.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the margin clicked.
-
- The zero-based index of the clicked margin.
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when the margin was clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
-
-
-
- Gets the zero-based document position where the line ajacent to the clicked margin starts.
-
- The zero-based character position within the document of the start of the line adjacent to the margin clicked.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the margin click.
- The zero-based byte position within the document where the line adjacent to the clicked margin starts.
- The zero-based index of the clicked margin.
-
-
-
- An immutable collection of margins in a control.
-
-
-
-
- Removes all text displayed in every and margins.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets or sets the number of margins in the .
-
- The number of margins in the collection. The default is 5.
-
-
-
- Gets the number of margins in the .
-
- The number of margins in the collection.
- This property is kept for convenience. The return value will always be equal to .
-
-
-
-
- Gets or sets the width in pixels of the left margin padding.
-
- The left margin padding measured in pixels. The default is 1.
-
-
-
- Gets or sets the width in pixels of the right margin padding.
-
- The right margin padding measured in pixels. The default is 1.
-
-
-
- Gets a object at the specified index.
-
- The margin index.
- An object representing the margin at the specified .
- By convention margin 0 is used for line numbers and the two following for symbols.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- The display of a cursor when over a margin.
-
-
-
-
- A normal arrow.
-
-
-
-
- A reversed arrow.
-
-
-
-
- Flags used to define margin options.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- No options. This is the default.
-
-
-
-
- Lines selected by clicking on the margin will select only the subline of wrapped text.
-
-
-
-
- The behavior and appearance of a margin.
-
-
-
-
- Margin can display symbols.
-
-
-
-
- Margin displays line numbers.
-
-
-
-
- Margin can display symbols and has a background color equivalent to background color.
-
-
-
-
- Margin can display symbols and has a background color equivalent to foreground color.
-
-
-
-
- Margin can display application defined text.
-
-
-
-
- Margin can display application defined text right-justified.
-
-
-
-
- Margin can display symbols and has a background color specified using the property.
-
-
-
-
- Represents a margin marker in a control.
-
-
-
-
- An unsigned 32-bit mask of all indexes where each bit cooresponds to a margin index.
-
-
-
-
- An unsigned 32-bit mask of folder indexes (25 through 31) where each bit cooresponds to a margin index.
-
-
-
-
-
- Folder end marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder open marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder mid tail marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder tail marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder sub marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder open marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Sets the marker symbol to a custom image.
-
- The Bitmap to use as a marker symbol.
- Calling this method will also update the property to .
-
-
-
- Removes this marker from all lines.
-
-
-
-
- Sets the foreground alpha transparency for markers that are drawn in the content area.
-
- The alpha transparency ranging from 0 (completely transparent) to 255 (no transparency).
- See the remarks on the method for a full explanation of when a marker can be drawn in the content area.
-
-
-
-
- Sets the background color of the marker.
-
- The background Color. The default is White.
-
- The background color of the whole line will be drawn in the specified when the marker is not visible
- because it is hidden by a or the is zero.
-
-
-
-
-
- Sets the foreground color of the marker.
-
- The foreground Color. The default is Black.
-
-
-
- Gets the zero-based marker index this object represents.
-
- The marker index within the .
-
-
-
- Gets or sets the marker symbol.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Initializes a new instance of the class.
-
- The control that created this marker.
- The index of this style within the that created it.
-
-
-
- An immutable collection of markers in a control.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object for enumerating all objects within the .
-
-
-
- Gets the number of markers in the .
-
- This property always returns 32.
-
-
-
- Gets a object at the specified index.
-
- The marker index.
- An object representing the marker at the specified .
- Markers 25 through 31 are used by Scintilla for folding.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- A handle.
-
-
- This is an opaque type, meaning it can be used by a control but
- otherwise has no public members of its own.
-
-
-
-
- A read-only field that represents an uninitialized handle.
-
-
-
-
- Returns a value indicating whether this instance is equal to a specified object.
-
- An object to compare with this instance or null.
- true if is an instance of and equals the value of this instance; otherwise, false.
-
-
-
- Returns the hash code for this instance.
-
- A 32-bit signed integer hash code.
-
-
-
- Determines whether two specified instances of are equal.
-
- The first handle to compare.
- The second handle to compare.
- true if equals ; otherwise, false.
-
-
-
- Determines whether two specified instances of are not equal.
-
- The first handle to compare.
- The second handle to compare.
- true if does not equal ; otherwise, false.
-
-
-
- The symbol displayed by a
-
-
-
-
- A circle. This symbol is typically used to indicate a breakpoint.
-
-
-
-
- A rectangel with rounded edges.
-
-
-
-
- An arrow (triangle) pointing right.
-
-
-
-
- A rectangle that is wider than it is tall.
-
-
-
-
- An arrow and tail pointing right. This symbol is typically used to indicate the current line of execution.
-
-
-
-
- An invisible symbol useful for tracking the movement of lines.
-
-
-
-
- An arrow (triangle) pointing down.
-
-
-
-
- A minus (-) symbol.
-
-
-
-
- A plus (+) symbol.
-
-
-
-
- A thin vertical line. This symbol is typically used on the middle line of an expanded fold block.
-
-
-
-
- A thin 'L' shaped line. This symbol is typically used on the last line of an expanded fold block.
-
-
-
-
- A thin 't' shaped line. This symbol is typically used on the last line of an expanded nested fold block.
-
-
-
-
- A plus (+) symbol with surrounding box. This symbol is typically used on the first line of a collapsed fold block.
-
-
-
-
- A plus (+) symbol with surrounding box and thin vertical line. This symbol is typically used on the first line of a collapsed nested fold block.
-
-
-
-
- A minus (-) symbol with surrounding box. This symbol is typically used on the first line of an expanded fold block.
-
-
-
-
- A minus (-) symbol with surrounding box and thin vertical line. This symbol is typically used on the first line of an expanded nested fold block.
-
-
-
-
- Similar to a , but curved.
-
-
-
-
- Similar to a , but curved.
-
-
-
-
- Similar to a but surrounded by a circle.
-
-
-
-
- Similar to a , but surrounded by a circle.
-
-
-
-
- Similar to a , but surrounded by a circle.
-
-
-
-
- Similar to a , but surrounded by a circle.
-
-
-
-
- A special marker that displays no symbol but will affect the background color of the line.
-
-
-
-
- Three dots (ellipsis).
-
-
-
-
- Three bracket style arrows.
-
-
-
-
- A rectangle occupying the entire marker space.
-
-
-
-
- A rectangle occupying only the left edge of the marker space.
-
-
-
-
- A special marker left available to plugins.
-
-
-
-
- A special marker that displays no symbol but will underline the current line text.
-
-
-
-
- A user-defined image. Images can be set using the method.
-
-
-
-
- A left-rotated bookmark.
-
-
-
-
- Provides data for the and events.
-
-
-
-
- Gets the number of lines added or removed.
-
- The number of lines added to the document when text is inserted, or the number of lines removed from the document when text is deleted.
- When lines are deleted the return value will be negative.
-
-
-
- Gets the text that was inserted or deleted.
-
- The text inserted or deleted from the document.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The source of the modification.
- The zero-based byte position within the document where text was modified.
- The length in bytes of the inserted or deleted text.
- >A pointer to the text inserted or deleted.
- The number of lines added or removed (delta).
-
-
-
- The source of a modification
-
-
-
-
- Modification is the result of a user operation.
-
-
-
-
- Modification is the result of an undo operation.
-
-
-
-
- Modification is the result of a redo operation.
-
-
-
-
- Specifies the behavior of pasting into multiple selections.
-
-
-
-
- Pasting into multiple selections only pastes to the main selection. This is the default.
-
-
-
-
- Pasting into multiple selections pastes into each selection.
-
-
-
-
- Like an UnmanagedMemoryStream execpt it can grow.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the length of the text that needs to be shown.
-
- The length of text starting at that needs to be shown.
-
-
-
- Gets the zero-based document position where text needs to be shown.
-
- The zero-based document position where the range of text to be shown starts.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document where text needs to be shown.
- The length in bytes of the text that needs to be shown.
-
-
-
- The sorting order for autocompletion lists.
-
-
-
-
- Requires that an autocompletion lists be sorted in alphabetical order. This is the default.
-
-
-
-
- Instructs a control to perform an alphabetical sort of autocompletion lists.
-
-
-
-
- User-defined order.
-
-
-
-
- The number of phases used when drawing.
-
-
-
-
- Drawing is done in a single phase. This is the fastest but provides no support for kerning.
-
-
-
-
- Drawing is done in two phases; the background first and then the text. This is the default.
-
-
-
-
- Drawing is done in multiple phases; once for each feature. This is the slowest but allows
- extreme ascenders and descenders to overflow into adjacent lines.
-
-
-
-
- Behavior of the standard edit control context menu.
-
-
-
-
-
- Never show the default editing menu.
-
-
-
-
- Show default editing menu if clicking on the control.
-
-
-
-
- Show default editing menu only if clicking on text area.
-
- To receive the event, this value must be used.
-
-
-
-
- Non-generic class to produce instances of the generic class,
- optionally using type inference.
-
-
-
-
- Creates an instance of ProjectionEqualityComparer using the specified projection.
-
- Type parameter for the elements to be compared
- Type parameter for the keys to be compared,
- after being projected from the elements
- Projection to use when determining the key of an element
- A comparer which will compare elements by projecting
- each element to its key, and comparing keys
-
-
-
- Creates an instance of ProjectionEqualityComparer using the specified projection.
- The ignored parameter is solely present to aid type inference.
-
- Type parameter for the elements to be compared
- Type parameter for the keys to be compared,
- after being projected from the elements
- Value is ignored - type may be used by type inference
- Projection to use when determining the key of an element
- A comparer which will compare elements by projecting
- each element to its key, and comparing keys
-
-
-
- Class generic in the source only to produce instances of the
- doubly generic class, optionally using type inference.
-
-
-
-
- Creates an instance of ProjectionEqualityComparer using the specified projection.
-
- Type parameter for the keys to be compared,
- after being projected from the elements
- Projection to use when determining the key of an element
- A comparer which will compare elements by projecting each element to its key,
- and comparing keys
-
-
-
- Comparer which projects each element of the comparison to a key, and then compares
- those keys using the specified (or default) comparer for the key type.
-
- Type of elements which this comparer
- will be asked to compare
- Type of the key projected
- from the element
-
-
-
- Creates a new instance using the specified projection, which must not be null.
- The default comparer for the projected type is used.
-
- Projection to use during comparisons
-
-
-
- Creates a new instance using the specified projection, which must not be null.
-
- Projection to use during comparisons
- The comparer to use on the keys. May be null, in
- which case the default comparer will be used.
-
-
-
- Compares the two specified values for equality by applying the projection
- to each value and then using the equality comparer on the resulting keys. Null
- references are never passed to the projection.
-
-
-
-
- Produces a hash code for the given value by projecting it and
- then asking the equality comparer to find the hash code of
- the resulting key.
-
-
-
-
- Lexer property types.
-
-
-
-
- A Boolean property. This is the default.
-
-
-
-
- An integer property.
-
-
-
-
- A string property.
-
-
-
-
- Represents a Scintilla editor control.
-
-
-
-
- A constant used to specify an infinite mouse dwell wait time.
-
-
-
-
- A constant used to specify an invalid document position.
-
-
-
-
- Increases the reference count of the specified document by 1.
-
- The document reference count to increase.
-
-
-
- Adds an additional selection range to the existing main selection.
-
- The zero-based document position to end the selection.
- The zero-based document position to start the selection.
- A main selection must first have been set by a call to .
-
-
-
- Inserts the specified text at the current caret position.
-
- The text to insert at the current caret position.
- The caret position is set to the end of the inserted text, but it is not scrolled into view.
-
-
-
- Allocates some number of substyles for a particular base style. Substyles are allocated contiguously.
-
- The lexer style integer
- The amount of substyles to allocate
- Returns the first substyle number allocated.
-
-
-
- Removes the annotation text for every in the document.
-
-
-
-
- Adds the specified text to the end of the document.
-
- The text to add to the document.
- The current selection is not changed and the new text is not scrolled into view.
-
-
-
- Assigns the specified key definition to a command.
-
- The key combination to bind.
- The command to assign.
-
-
-
- Cancels any displayed autocompletion list.
-
-
-
-
-
- Triggers completion of the current autocompletion word.
-
-
-
-
- Selects an item in the autocompletion list.
-
-
- The autocompletion word to select.
- If found, the word in the autocompletion list is selected and the index can be obtained by calling .
- If not found, the behavior is determined by .
-
-
- Comparisons are performed according to the property
- and will match the first word starting with .
-
-
-
-
-
-
-
- Sets the characters that, when typed, cause the autocompletion item to be added to the document.
-
- A string of characters that trigger autocompletion. The default is null.
- Common fillup characters are '(', '[', and '.' depending on the language.
-
-
-
- Displays an auto completion list.
-
- The number of characters already entered to match on.
- A list of autocompletion words separated by the character.
-
-
-
- Specifies the characters that will automatically cancel autocompletion without the need to call .
-
- A String of the characters that will cancel autocompletion. The default is empty.
- Characters specified should be limited to printable ASCII characters.
-
-
-
- Marks the beginning of a set of actions that should be treated as a single undo action.
-
- A call to should be followed by a call to .
-
-
-
-
- Styles the specified character position with the style when there is an unmatched brace.
-
- The zero-based document position of the unmatched brace character or to remove the highlight.
-
-
-
- Styles the specified character positions with the style.
-
- The zero-based document position of the open brace character.
- The zero-based document position of the close brace character.
- Brace highlighting can be removed by specifying for and .
-
-
-
-
- Finds a corresponding matching brace starting at the position specified.
- The brace characters handled are '(', ')', '[', ']', '{', '}', '<', and '>'.
-
- The zero-based document position of a brace character to start the search from for a matching brace character.
- The zero-based document position of the corresponding matching brace or it no matching brace could be found.
- A match only occurs if the style of the matching brace is the same as the starting brace. Nested braces are handled correctly.
-
-
-
- Cancels the display of a call tip window.
-
-
-
-
- Sets the color of highlighted text in a call tip.
-
- The new highlight text Color. The default is dark blue.
-
-
-
- Sets the specified range of the call tip text to display in a highlighted style.
-
- The zero-based index in the call tip text to start highlighting.
- The zero-based index in the call tip text to stop highlighting (exclusive).
-
-
-
- Determines whether to display a call tip above or below text.
-
- true to display above text; otherwise, false. The default is false.
-
-
-
- Displays a call tip window.
-
- The zero-based document position where the call tip window should be aligned.
- The call tip text.
-
- Call tips can contain multiple lines separated by '\n' characters. Do not include '\r', as this will most likely print as an empty box.
- The '\t' character is supported and the size can be set by using .
-
-
-
-
- Sets the call tip tab size in pixels.
-
- The width in pixels of a tab '\t' character in a call tip. Specifying 0 disables special treatment of tabs.
-
-
-
- Indicates to the current that the internal lexer state has changed in the specified
- range and therefore may need to be redrawn.
-
- The zero-based document position at which the lexer state change starts.
- The zero-based document position at which the lexer state change ends.
-
-
-
- Finds the closest character position to the specified display point.
-
- The x pixel coordinate within the client rectangle of the control.
- The y pixel coordinate within the client rectangle of the control.
- The zero-based document position of the nearest character to the point specified.
-
-
-
- Finds the closest character position to the specified display point or returns -1
- if the point is outside the window or not close to any characters.
-
- The x pixel coordinate within the client rectangle of the control.
- The y pixel coordinate within the client rectangle of the control.
- The zero-based document position of the nearest character to the point specified when near a character; otherwise, -1.
-
-
-
- Explicitly sets the current horizontal offset of the caret as the X position to track
- when the user moves the caret vertically using the up and down keys.
-
-
- When not set explicitly, Scintilla automatically sets this value each time the user moves
- the caret horizontally.
-
-
-
-
- Removes the selected text from the document.
-
-
-
-
- Deletes all document text, unless the document is read-only.
-
-
-
-
- Makes the specified key definition do nothing.
-
- The key combination to bind.
- This is equivalent to binding the keys to .
-
-
-
- Removes all the key definition command mappings.
-
-
-
-
- Removes all styling from the document and resets the folding state.
-
-
-
-
- Removes all images registered for autocompletion lists.
-
-
-
-
- Sets a single empty selection at the start of the document.
-
-
-
-
- Requests that the current lexer restyle the specified range.
-
- The zero-based document position at which to start styling.
- The zero-based document position at which to stop styling (exclusive).
- This will also cause fold levels in the range specified to be reset.
-
-
-
- Changes all end-of-line characters in the document to the format specified.
-
- One of the enumeration values.
-
-
-
- Copies the selected text from the document and places it on the clipboard.
-
-
-
-
- Copies the selected text from the document and places it on the clipboard.
-
- One of the enumeration values.
-
-
-
- Copies the selected text from the document and places it on the clipboard.
- If the selection is empty the current line is copied.
-
-
- If the selection is empty and the current line copied, an extra "MSDEVLineSelect" marker is added to the
- clipboard which is then used in to paste the whole line before the current line.
-
-
-
-
- Copies the selected text from the document and places it on the clipboard.
- If the selection is empty the current line is copied.
-
- One of the enumeration values.
-
- If the selection is empty and the current line copied, an extra "MSDEVLineSelect" marker is added to the
- clipboard which is then used in to paste the whole line before the current line.
-
-
-
-
- Copies the specified range of text to the clipboard.
-
- The zero-based character position in the document to start copying.
- The zero-based character position (exclusive) in the document to stop copying.
-
-
-
- Copies the specified range of text to the clipboard.
-
- The zero-based character position in the document to start copying.
- The zero-based character position (exclusive) in the document to stop copying.
- One of the enumeration values.
-
-
-
- Create a new, empty document.
-
- A new with a reference count of 1.
- You are responsible for ensuring the reference count eventually reaches 0 or memory leaks will occur.
-
-
-
- Creates an object capable of loading a on a background (non-UI) thread.
-
- The initial number of characters to allocate.
- A new object, or null if the loader could not be created.
-
-
-
- Cuts the selected text from the document and places it on the clipboard.
-
-
-
-
- Deletes a range of text from the document.
-
- The zero-based character position to start deleting.
- The number of characters to delete.
-
-
-
- Retrieves a description of keyword sets supported by the current .
-
- A String describing each keyword set separated by line breaks for the current lexer.
-
-
-
- Retrieves a brief description of the specified property name for the current .
-
- A property name supported by the current .
- A String describing the lexer property name if found; otherwise, String.Empty.
- A list of supported property names for the current can be obtained by calling .
-
-
-
- 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.
- This API supports the Scintilla infrastructure and is not intended to be used directly from your code.
-
-
-
- Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Returns the zero-based document line index from the specified display line index.
-
- The zero-based display line index.
- The zero-based document line index.
-
-
-
-
- If there are multiple selections, removes the specified selection.
-
- The zero-based selection index.
-
-
-
-
- Clears any undo or redo history.
-
- This will also cause to be called but will not raise the event.
-
-
-
- Marks the end of a set of actions that should be treated as a single undo action.
-
-
-
-
-
- Performs the specified command.
-
- The command to perform.
-
-
-
- Performs the specified fold action on the entire document.
-
- One of the enumeration values.
- When using the first fold header in the document is examined to decide whether to expand or contract.
-
-
-
- Changes the appearance of fold text tags.
-
- One of the enumeration values.
- The text tag to display on a folded line can be set using .
- .
-
-
-
- Frees all allocated substyles.
-
-
-
-
- Returns the character as the specified document position.
-
- The zero-based document position of the character to get.
- The character at the specified .
-
-
-
- Returns the column number of the specified document position, taking the width of tabs into account.
-
- The zero-based document position to get the column for.
- The number of columns from the start of the line to the specified document .
-
-
-
- Returns the last document position likely to be styled correctly.
-
- The zero-based document position of the last styled character.
-
-
-
- Gets the Primary style associated with the given Secondary style.
-
- The secondary style
- For a secondary style, return the primary style, else return the argument.
-
-
-
- Lookup a property value for the current .
-
- The property name to lookup.
-
- A String representing the property value if found; otherwise, String.Empty.
- Any embedded property name macros as described in will not be replaced (expanded).
-
-
-
-
-
- Lookup a property value for the current and expand any embedded property macros.
-
- The property name to lookup.
-
- A String representing the property value if found; otherwise, String.Empty.
- Any embedded property name macros as described in will be replaced (expanded).
-
-
-
-
-
- Lookup a property value for the current and convert it to an integer.
-
- The property name to lookup.
- A default value to return if the property name is not found or has no value.
-
- An Integer representing the property value if found;
- otherwise, if not found or the property has no value;
- otherwise, 0 if the property is not a number.
-
-
-
-
- Gets the style of the specified document position.
-
- The zero-based document position of the character to get the style for.
- The zero-based index used at the specified .
-
-
-
- Gets the lexer base style of a substyle.
-
- The integer index of the substyle
- Returns the base style, else returns the argument.
-
-
-
- Gets the length of the number of substyles allocated for a given lexer base style.
-
- The lexer style integer
- Returns the length of the substyles allocated for a base style.
-
-
-
- Gets the start index of the substyles for a given lexer base style.
-
- The lexer style integer
- Returns the start of the substyles allocated for a base style.
-
-
-
- Returns the capture group text of the most recent regular expression search.
-
- The capture group (1 through 9) to get the text for.
- A String containing the capture group text if it participated in the match; otherwise, an empty string.
-
-
-
-
- Gets a range of text from the document.
-
- The zero-based starting character position of the range to get.
- The number of characters to get.
- A string representing the text range.
-
-
-
- Gets a range of text from the document formatted as Hypertext Markup Language (HTML).
-
- The zero-based starting character position of the range to get.
- The number of characters to get.
- A string representing the text range formatted as HTML.
-
-
-
- Returns the version information of the native Scintilla library.
-
- An object representing the version information of the native Scintilla library.
-
-
-
- Gets the word from the position specified.
-
- The zero-based document character position to get the word from.
- The word at the specified position.
-
-
-
- Navigates the caret to the document position specified.
-
- The zero-based document character position to navigate to.
- Any selection is discarded.
-
-
-
- Hides the range of lines specified.
-
- The zero-based index of the line range to start hiding.
- The zero-based index of the line range to end hiding.
-
-
-
-
-
- Returns a bitmap representing the 32 indicators in use at the specified position.
-
- The zero-based character position within the document to test.
- A bitmap indicating which of the 32 indicators are in use at the specified .
-
-
-
- Removes the indicator (and user-defined value) from the specified range of text.
-
- The zero-based character position within the document to start clearing.
- The number of characters to clear.
-
-
-
- Adds the indicator and value to the specified range of text.
-
- The zero-based character position within the document to start filling.
- The number of characters to fill.
-
-
-
- Inserts text at the specified position.
-
- The zero-based character position to insert the text. Specify -1 to use the current caret position.
- The text to insert into the document.
-
- less than zero and not equal to -1. -or-
- is greater than the document length.
-
- No scrolling is performed.
-
-
-
- Determines whether the specified and positions are
- at the beginning and end of a word, respectively.
-
- The zero-based document position of the possible word start.
- The zero-based document position of the possible word end.
-
- true if and are at the beginning and end of a word, respectively;
- otherwise, false.
-
-
- This method does not check whether there is whitespace in the search range,
- only that the and are at word boundaries.
-
-
-
-
- Returns the line that contains the document position specified.
-
- The zero-based document character position.
- The zero-based document line index containing the character .
-
-
-
- Scrolls the display the number of lines and columns specified.
-
- The number of lines to scroll.
- The number of columns to scroll.
-
- Negative values scroll in the opposite direction.
- A column is the width in pixels of a space character in the style.
-
-
-
-
- Loads a compatible lexer from an external DLL.
-
- The path to the external lexer DLL.
-
-
-
- Removes the specified marker from all lines.
-
- The zero-based index to remove from all lines, or -1 to remove all markers from all lines.
-
-
-
- Searches the document for the marker handle and deletes the marker if found.
-
- The created by a previous call to of the marker to delete.
-
-
-
- Enable or disable highlighting of the current folding block.
-
- true to highlight the current folding block; otherwise, false.
-
-
-
- Searches the document for the marker handle and returns the line number containing the marker if found.
-
- The created by a previous call to of the marker to search for.
- If found, the zero-based line index containing the marker; otherwise, -1.
-
-
-
- Specifies the long line indicator column number and color when is .
-
- The zero-based column number to indicate.
- The color of the vertical long line indicator.
- A column is defined as the width of a space character in the style.
-
-
-
-
- Removes all the long line column indicators specified using .
-
-
-
-
-
- Searches for all instances of the main selection within the and
- range and adds any matches to the selection.
-
-
- The property is respected when searching, allowing additional
- selections to match on different case sensitivity and word search options.
-
-
-
-
-
- Searches for the next instance of the main selection within the and
- range and adds any match to the selection.
-
-
- The property is respected when searching, allowing additional
- selections to match on different case sensitivity and word search options.
-
-
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs 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.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs 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.
-
- 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.
-
- A that contains the event data.
-
-
-
- Raises the HandleCreated event.
-
- An EventArgs 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.
-
-
-
- Raises the event.
-
- An that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- 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.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the MouseUp event.
-
- A MouseEventArgs that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- An that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Pastes the contents of the clipboard into the current selection.
-
-
-
-
- Returns the X display pixel location of the specified document position.
-
- The zero-based document character position.
- The x-coordinate of the specified within the client rectangle of the control.
-
-
-
- Returns the Y display pixel location of the specified document position.
-
- The zero-based document character position.
- The y-coordinate of the specified within the client rectangle of the control.
-
-
-
- Retrieves a list of property names that can be set for the current .
-
- A String of property names separated by line breaks.
-
-
-
- Retrieves the data type of the specified property name for the current .
-
- A property name supported by the current .
- One of the enumeration values. The default is .
- A list of supported property names for the current can be obtained by calling .
-
-
-
- Redoes the effect of an operation.
-
-
-
-
- Maps the specified image to a type identifer for use in an autocompletion list.
-
- The numeric identifier for this image.
- The Bitmap to use in an autocompletion list.
-
- The registered can be referenced by its identifer in an autocompletion
- list by suffixing a word with the character and the value. e.g.
- "int?2 long?3 short?1" etc....
-
-
-
-
-
- Decreases the reference count of the specified document by 1.
-
-
- The document reference count to decrease.
- When a document's reference count reaches 0 it is destroyed and any associated memory released.
-
-
-
-
- Replaces the current selection with the specified text.
-
- The text that should replace the current selection.
-
- If there is not a current selection, the text will be inserted at the current caret position.
- Following the operation the caret is placed at the end of the inserted text and scrolled into view.
-
-
-
-
- Replaces the target defined by and with the specified .
-
- The text that will replace the current target.
- The length of the replaced text.
-
- The and properties will be updated to the start and end positions of the replaced text.
- The recommended way to delete text in the document is to set the target range to be removed and replace the target with an empty string.
-
-
-
-
- Replaces the target text defined by and with the specified value after first substituting
- "\1" through "\9" macros in the with the most recent regular expression capture groups.
-
- The text containing "\n" macros that will be substituted with the most recent regular expression capture groups and then replace the current target.
- The length of the replaced text.
-
- The "\0" macro will be substituted by the entire matched text from the most recent search.
- The and properties will be updated to the start and end positions of the replaced text.
-
-
-
-
-
- Makes the next selection the main selection.
-
-
-
-
- Scrolls the current position into view, if it is not already visible.
-
-
-
-
- Scrolls the specified range into view.
-
- The zero-based document start position to scroll to.
-
- The zero-based document end position to scroll to if doing so does not cause the
- position to scroll out of view.
-
- This may be used to make a search match visible.
-
-
-
- Searches for the first occurrence of the specified text in the target defined by and .
-
- The text to search for. The interpretation of the text (i.e. whether it is a regular expression) is defined by the property.
- The zero-based start position of the matched text within the document if successful; otherwise, -1.
-
- If successful, the and properties will be updated to the start and end positions of the matched text.
- Searching can be performed in reverse using a greater than the .
-
-
-
-
- Selects all the text in the document.
-
- The current position is not scrolled into view.
-
-
-
- Sets the background color of additional selections.
-
- Additional selections background color.
- Calling will reset the specified.
-
-
-
- Sets the foreground color of additional selections.
-
- Additional selections foreground color.
- Calling will reset the specified.
-
-
-
- Removes any selection and places the caret at the specified position.
-
- The zero-based document position to place the caret at.
- The caret is not scrolled into view.
-
-
-
- Sets additional options for displaying folds.
-
- A bitwise combination of the enumeration.
-
-
-
- Sets a global override to the fold margin color.
-
- true to override the fold margin color; otherwise, false.
- The global fold margin color.
-
-
-
-
- Sets a global override to the fold margin highlight color.
-
- true to override the fold margin highlight color; otherwise, false.
- The global fold margin highlight color.
-
-
-
-
- Similar to but for substyles.
-
- The substyle integer index
- A list of words separated by whitespace (space, tab, '\n', '\r') characters.
-
-
-
- Updates a keyword set used by the current .
-
- The zero-based index of the keyword set to update.
-
- A list of keywords pertaining to the current separated by whitespace (space, tab, '\n', '\r') characters.
-
- The keywords specified will be styled according to the current .
-
-
-
-
- Sets the application-wide behavior for destroying controls.
-
-
- true to reparent Scintilla controls to message-only windows when destroyed rather than actually destroying the control handle; otherwise, false.
- The default is true.
-
- This method must be called prior to the first control being created.
-
-
-
- Sets the application-wide default module path of the native Scintilla library.
-
- The native Scintilla module path.
-
- This method must be called prior to the first control being created.
- The can be relative or absolute.
-
-
-
-
- Passes the specified property name-value pair to the current .
-
- The property name to set.
-
- The property value. Values can refer to other property names using the syntax $(name), where 'name' is another property
- name for the current . When the property value is retrieved by a call to
- the embedded property name macro will be replaced (expanded) with that current property value.
-
- Property names are case-sensitive.
-
-
-
- Marks the document as unmodified.
-
-
-
-
-
- Sets the anchor and current position.
-
- The zero-based document position to start the selection.
- The zero-based document position to end the selection.
-
- A negative value for signifies the end of the document.
- A negative value for signifies no selection (i.e. sets the
- to the same position as the ).
- The current position is scrolled into view following this operation.
-
-
-
-
- Sets a single selection from anchor to caret.
-
- The zero-based document position to end the selection.
- The zero-based document position to start the selection.
-
-
-
- Sets a global override to the selection background color.
-
- true to override the selection background color; otherwise, false.
- The global selection background color.
-
-
-
-
- Sets a global override to the selection foreground color.
-
- true to override the selection foreground color; otherwise, false.
- The global selection foreground color.
-
-
-
-
- Styles the specified length of characters.
-
- The number of characters to style.
- The definition index to assign each character.
-
- or is less than zero. -or-
- The sum of a preceeding call to or and is greater than the document length. -or-
- is greater than or equal to the number of style definitions.
-
-
- The styling position is advanced by after each call allowing multiple
- calls to for a single call to .
-
-
-
-
-
- Sets the and properties in a single call.
-
- The zero-based character position within the document to start a search or replace operation.
- The zero-based character position within the document to end a search or replace operation.
-
-
-
-
-
- Sets a global override to the whitespace background color.
-
- true to override the whitespace background color; otherwise, false.
- The global whitespace background color.
- When not overridden globally, the whitespace background color is determined by the current lexer.
-
-
-
-
-
- Sets a global override to the whitespace foreground color.
-
- true to override the whitespace foreground color; otherwise, false.
- The global whitespace foreground color.
- When not overridden globally, the whitespace foreground color is determined by the current lexer.
-
-
-
-
-
- Shows the range of lines specified.
-
- The zero-based index of the line range to start showing.
- The zero-based index of the line range to end showing.
-
-
-
-
-
- Prepares for styling by setting the styling to start at.
-
- The zero-based character position in the document to start styling.
-
- After preparing the document for styling, use successive calls to
- to style the document.
-
-
-
-
-
- Resets all style properties to those currently configured for the style.
-
-
-
-
-
- Resets the style to its initial state.
-
-
-
-
-
- Moves the caret to the opposite end of the main selection.
-
-
-
-
- Sets the and to the start and end positions of the selection.
-
-
-
-
-
- Sets the and to the start and end positions of the document.
-
-
-
-
-
- Measures the width in pixels of the specified string when rendered in the specified style.
-
- The index of the to use when rendering the text to measure.
- The text to measure.
- The width in pixels.
-
-
-
- Undoes the previous action.
-
-
-
-
- Determines whether to show the right-click context menu.
-
- true to enable the popup window; otherwise, false.
-
-
-
-
- Determines the conditions for displaying the standard right-click context menu.
-
- One of the enumeration values.
-
-
-
- Processes Windows messages.
-
- The Windows Message to process.
-
-
-
- Returns the position where a word ends, searching forward from the position specified.
-
- The zero-based document position to start searching from.
-
- true to stop searching at the first non-word character regardless of whether the search started at a word or non-word character.
- false to use the first character in the search as a word or non-word indicator and then search for that word or non-word boundary.
-
- The zero-based document postion of the word boundary.
-
-
-
-
- Returns the position where a word starts, searching backward from the position specified.
-
- The zero-based document position to start searching from.
-
- true to stop searching at the first non-word character regardless of whether the search started at a word or non-word character.
- false to use the first character in the search as a word or non-word indicator and then search for that word or non-word boundary.
-
- The zero-based document postion of the word boundary.
-
-
-
-
- Increases the zoom factor by 1 until it reaches 20 points.
-
-
-
-
-
- Decreases the zoom factor by 1 until it reaches -10 points.
-
-
-
-
-
- Gets or sets the caret foreground color for additional selections.
-
- The caret foreground color in additional selections. The default is (127, 127, 127).
-
-
-
- Gets or sets whether the carets in additional selections will blink.
-
- true if additional selection carets should blink; otherwise, false. The default is true.
-
-
-
- Gets or sets whether the carets in additional selections are visible.
-
- true if additional selection carets are visible; otherwise, false. The default is true.
-
-
-
- Gets or sets the alpha transparency of additional multiple selections.
-
-
- The alpha transparency ranging from 0 (completely transparent) to 255 (completely opaque).
- The value 256 will disable alpha transparency. The default is 256.
-
-
-
-
- Gets or sets whether additional typing affects multiple selections.
-
- true if typing will affect multiple selections instead of just the main selection; otherwise, false. The default is false.
-
-
-
- Gets or sets the current anchor position.
-
- The zero-based character position of the anchor.
-
- Setting the current anchor position will create a selection between it and the .
- The caret is not scrolled into view.
-
-
-
-
-
- Gets or sets the display of annotations.
-
- One of the enumeration values. The default is .
-
-
-
- Gets a value indicating whether there is an autocompletion list displayed.
-
- true if there is an active autocompletion list; otherwise, false.
-
-
-
- Gets or sets whether to automatically cancel autocompletion when there are no viable matches.
-
-
- true to automatically cancel autocompletion when there is no possible match; otherwise, false.
- The default is true.
-
-
-
-
- Gets or sets whether to cancel an autocompletion if the caret moves from its initial location,
- or is allowed to move to the word start.
-
-
- true to cancel autocompletion when the caret moves.
- false to allow the caret to move to the beginning of the word without cancelling autocompletion.
-
-
-
-
- Gets the index of the current autocompletion list selection.
-
- The zero-based index of the current autocompletion selection.
-
-
-
- Gets or sets whether to automatically select an item when it is the only one in an autocompletion list.
-
-
- true to automatically choose the only autocompletion item and not display the list; otherwise, false.
- The default is false.
-
-
-
-
- Gets or sets whether to delete any word characters following the caret after an autocompletion.
-
-
- true to delete any word characters following the caret after autocompletion; otherwise, false.
- The default is false.
-
-
-
- Gets or sets whether matching characters to an autocompletion list is case-insensitive.
-
- true to use case-insensitive matching; otherwise, false. The default is false.
-
-
-
- Gets or sets the maximum height of the autocompletion list measured in rows.
-
- The max number of rows to display in an autocompletion window. The default is 5.
- If there are more items in the list than max rows, a vertical scrollbar is shown.
-
-
-
- Gets or sets the width in characters of the autocompletion list.
-
-
- The width of the autocompletion list expressed in characters, or 0 to automatically set the width
- to the longest item. The default is 0.
-
- Any items that cannot be fully displayed will be indicated with ellipsis.
-
-
-
- Gets or sets the autocompletion list sort order to expect when calling .
-
- One of the enumeration values. The default is .
-
-
-
- Gets the document position at the time was called.
-
- The zero-based document position at the time was called.
-
-
-
-
- Gets or sets the delimiter character used to separate words in an autocompletion list.
-
- The separator character used when calling . The default is the space character.
- The specified should be limited to printable ASCII characters.
-
-
-
- Gets or sets the delimiter character used to separate words and image type identifiers in an autocompletion list.
-
- The separator character used to reference an image registered with . The default is '?'.
- The specified should be limited to printable ASCII characters.
-
-
-
- Gets or sets the automatic folding flags.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Gets or sets whether backspace deletes a character, or unindents.
-
- Whether backspace deletes a character, (false) or unindents (true).
-
-
-
- Gets or sets the border type of the control.
-
- A BorderStyle enumeration value that represents the border type of the control. The default is Fixed3D.
- A value that is not within the range of valid values for the enumeration was assigned to the property.
-
-
-
- Gets or sets whether drawing is double-buffered.
-
-
- true to draw each line into an offscreen bitmap first before copying it to the screen; otherwise, false.
- The default is true.
-
- Disabling buffer can improve performance but will cause flickering.
-
-
-
- Gets a value indicating whether there is a call tip window displayed.
-
- true if there is an active call tip window; otherwise, false.
-
-
-
- Gets a value indicating whether there is text on the clipboard that can be pasted into the document.
-
- true when there is text on the clipboard to paste; otherwise, false.
- The document cannot be and the selection cannot contain protected text.
-
-
-
- Gets a value indicating whether there is an undo action to redo.
-
- true when there is something to redo; otherwise, false.
-
-
-
- Gets a value indicating whether there is an action to undo.
-
- true when there is something to undo; otherwise, false.
-
-
-
- Gets or sets the caret foreground color.
-
- The caret foreground color. The default is black.
-
-
-
- Gets or sets the caret line background color.
-
- The caret line background color. The default is yellow.
-
-
-
- Gets or sets the alpha transparency of the .
-
-
- The alpha transparency ranging from 0 (completely transparent) to 255 (completely opaque).
- The value 256 will disable alpha transparency. The default is 256.
-
-
-
-
- Gets or sets the width of the caret line frame.
-
- must be set to true. A value of 0 disables the frame. The default is 0.
-
-
-
- Gets or sets whether the caret line is visible (highlighted).
-
- true if the caret line is visible; otherwise, false. The default is false.
-
-
-
- Gets or sets whether the caret line is always visible even when the window is not in focus.
-
- true if the caret line is always visible; otherwise, false. The default is false.
-
-
-
- Gets or sets the caret blink rate in milliseconds.
-
- The caret blink rate measured in milliseconds. The default is 530.
- A value of 0 will stop the caret blinking.
-
-
-
- Gets or sets the caret display style.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the width in pixels of the caret.
-
- The width of the caret in pixels. The default is 1 pixel.
-
- The caret width can only be set to a value of 0, 1, 2 or 3 pixels and is only effective
- when the property is set to .
-
-
-
-
- Gets the required creation parameters when the control handle is created.
-
- A CreateParams that contains the required creation parameters when the handle to the control is created.
-
-
-
- Gets the current line index.
-
- The zero-based line index containing the .
-
-
-
- Gets or sets the current caret position.
-
- The zero-based character position of the caret.
-
- Setting the current caret position will create a selection between it and the current .
- The caret is not scrolled into view.
-
-
-
-
-
- Not supported.
-
-
-
-
- Gets or sets the default cursor for the control.
-
- An object of type Cursor representing the current default cursor.
-
-
-
- Gets the default size of the control.
-
- The default Size of the control.
-
-
-
- Gets a value indicating the start index of the secondary styles.
-
- Returns the distance between a primary style and its corresponding secondary style.
-
-
-
- Gets or sets the current document used by the control.
-
- The current .
-
- Setting this property is equivalent to calling on the current document, and
- calling if the new is or
- if the new is not .
-
-
-
-
- Gets or sets the background color to use when indicating long lines with
- .
-
- The background Color. The default is Silver.
-
-
-
- Gets or sets the column number at which to begin indicating long lines.
-
- The number of columns in a long line. The default is 0.
-
- When using , a column is defined as the width of a space character in the style.
- When using a column is equal to a character (including tabs).
-
-
-
-
- Gets or sets the mode for indicating long lines.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets whether vertical scrolling ends at the last line or can scroll past.
-
- true if the maximum vertical scroll position ends at the last line; otherwise, false. The default is true.
-
-
-
- Gets or sets the end-of-line mode, or rather, the characters added into
- the document when the user presses the Enter key.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets the amount of whitespace added to the ascent (top) of each line.
-
- The extra line ascent. The default is zero.
-
-
-
- Gets or sets the amount of whitespace added to the descent (bottom) of each line.
-
- The extra line descent. The default is zero.
-
-
-
- Gets or sets the first visible line on screen.
-
- The zero-based index of the first visible screen line.
- The value is a visible line, not a document line.
-
-
-
- Not supported.
-
-
-
-
- Gets or sets font quality (anti-aliasing method) used to render fonts.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Not supported.
-
-
-
-
- Gets or sets the column number of the indentation guide to highlight.
-
- The column number of the indentation guide to highlight or 0 if disabled.
- Guides are highlighted in the style. Column numbers can be determined by calling .
-
-
-
- Gets or sets whether to display the horizontal scroll bar.
-
- true to display the horizontal scroll bar when needed; otherwise, false. The default is true.
-
-
-
- Gets or sets the strategy used to perform styling using application idle time.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the size of indentation in terms of space characters.
-
- The indentation size measured in characters. The default is 0.
- A value of 0 will make the indent width the same as the tab width.
-
-
-
- Gets or sets whether to display indentation guides.
-
- One of the enumeration values. The default is .
- The style can be used to specify the foreground and background color of indentation guides.
-
-
-
- Gets or sets the indicator used in a subsequent call to or .
-
- The zero-based indicator index to apply when calling or remove when calling .
-
-
-
- Gets a collection of objects for working with indicators.
-
- A collection of objects.
-
-
-
- Gets or sets the user-defined value used in a subsequent call to .
-
- The indicator value to apply when calling .
-
-
-
- This is used by clients that have complex focus requirements such as having their own window
- that gets the real focus but with the need to indicate that Scintilla has the logical focus.
-
-
-
-
- Gets or sets the current lexer.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets the current lexer by name.
-
- A String representing the current lexer.
- Lexer names are case-sensitive.
-
-
-
- Gets the combined result of the and
- properties to report the line end types actively being interpreted.
-
- A bitwise combination of the enumeration.
-
-
-
- Gets or sets the line ending types interpreted by the control.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
- The line ending types allowed must also be supported by the current lexer to be effective.
-
-
-
- Gets the different types of line ends supported by the current lexer.
-
- A bitwise combination of the enumeration.
-
-
-
- Gets a collection representing lines of text in the control.
-
- A collection of text lines.
-
-
-
- Gets the number of lines that can be shown on screen given a constant
- line height and the space available.
-
-
- The number of screen lines which could be displayed (including any partial lines).
-
-
-
-
- Gets or sets the main selection when their are multiple selections.
-
- The zero-based main selection index.
-
-
-
- Gets a collection representing margins in a control.
-
- A collection of margins.
-
-
-
- Gets a collection representing markers in a control.
-
- A collection of markers.
-
-
-
- Gets a value indicating whether the document has been modified (is dirty)
- since the last call to .
-
- true if the document has been modified; otherwise, false.
-
-
-
- Gets or sets the time in milliseconds the mouse must linger to generate a event.
-
-
- The time in milliseconds the mouse must linger to generate a event
- or if dwell events are disabled.
-
-
-
-
- Gets or sets the ability to switch to rectangular selection mode while making a selection with the mouse.
-
-
- true if the current mouse selection can be switched to a rectangular selection by pressing the ALT key; otherwise, false.
- The default is false.
-
-
-
-
- Gets or sets whether multiple selection is enabled.
-
-
- true if multiple selections can be made by holding the CTRL key and dragging the mouse; otherwise, false.
- The default is false.
-
-
-
-
- Gets or sets the behavior when pasting text into multiple selections.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets whether to write over text rather than insert it.
-
- true to write over text; otherwise, false. The default is false.
-
-
-
- Not supported.
-
-
-
-
- Gets or sets whether line endings in pasted text are convereted to the document .
-
- true to convert line endings in pasted text; otherwise, false. The default is true.
-
-
-
- Gets or sets the number of phases used when drawing.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets whether the document is read-only.
-
- true if the document is read-only; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the anchor position of the rectangular selection.
-
- The zero-based document position of the rectangular selection anchor.
-
-
-
- Gets or sets the amount of anchor virtual space in a rectangular selection.
-
- The amount of virtual space past the end of the line offsetting the rectangular selection anchor.
-
-
-
- Gets or sets the caret position of the rectangular selection.
-
- The zero-based document position of the rectangular selection caret.
-
-
-
- Gets or sets the amount of caret virtual space in a rectangular selection.
-
- The amount of virtual space past the end of the line offsetting the rectangular selection caret.
-
-
-
- Gets or sets the range of the horizontal scroll bar.
-
- The range in pixels of the horizontal scroll bar. The default is 2000.
- The width will automatically increase as needed when is enabled.
-
-
-
- Gets or sets whether the is automatically increased as needed.
-
-
- true to automatically increase the horizontal scroll width as needed; otherwise, false.
- The default is true.
-
-
-
-
- Gets or sets the search flags used when searching text.
-
- A bitwise combination of values. The default is .
-
-
-
-
- Gets the selected text.
-
- The selected text if there is any; otherwise, an empty string.
-
-
-
- Gets or sets the end position of the selection.
-
- The zero-based document position where the selection ends.
-
- When getting this property, the return value is Math.Max(, )
.
- When setting this property, is set to the value specified and set to Math.Min(, )
.
- The caret is not scrolled into view.
-
-
-
-
-
- Gets or sets whether to fill past the end of a line with the selection background color.
-
- true to fill past the end of the line; otherwise, false. The default is false.
-
-
-
- Gets a collection representing multiple selections in a control.
-
- A collection of selections.
-
-
-
- Gets or sets the start position of the selection.
-
- The zero-based document position where the selection starts.
-
- When getting this property, the return value is Math.Min(, )
.
- When setting this property, is set to the value specified and set to Math.Max(, )
.
- The caret is not scrolled into view.
-
-
-
-
-
- Gets or sets the last internal error code used by Scintilla.
-
-
- One of the enumeration values.
- The default is .
-
- The status can be reset by setting the property to .
-
-
-
- Gets a collection representing style definitions in a control.
-
- A collection of style definitions.
-
-
-
- Gets or sets how tab characters are represented when whitespace is visible.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
-
- Gets or sets whether tab inserts a tab character, or indents.
-
- Whether tab inserts a tab character (false), or indents (true).
-
-
-
- Gets or sets the width of a tab as a multiple of a space character.
-
- The width of a tab measured in characters. The default is 4.
-
-
-
- Gets or sets the end position used when performing a search or replace.
-
- The zero-based character position within the document to end a search or replace operation.
-
-
-
-
-
-
- Gets or sets the start position used when performing a search or replace.
-
- The zero-based character position within the document to start a search or replace operation.
-
-
-
-
-
-
- Gets the current target text.
-
- A String representing the text between and .
- Targets which have a start position equal or greater to the end position will return an empty String.
-
-
-
-
-
- Gets or sets the rendering technology used.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the current document text in the control.
-
- The text displayed in the control.
- Depending on the length of text get or set, this operation can be expensive.
-
-
-
- Gets the length of the text in the control.
-
- The number of characters in the document.
-
-
-
- Gets or sets whether to use a mixture of tabs and spaces for indentation or purely spaces.
-
- true to use tab characters; otherwise, false. The default is true.
-
-
-
- Gets or sets a value indicating whether to use the wait cursor for the current control.
-
- true to use the wait cursor for the current control; otherwise, false. The default is false.
-
-
-
- Gets or sets the visibility of end-of-line characters.
-
- true to display end-of-line characters; otherwise, false. The default is false.
-
-
-
- Gets or sets how to display whitespace characters.
-
- One of the enumeration values. The default is .
-
-
-
-
-
- Gets or sets the ability for the caret to move into an area beyond the end of each line, otherwise known as virtual space.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Gets or sets whether to display the vertical scroll bar.
-
- true to display the vertical scroll bar when needed; otherwise, false. The default is true.
-
-
-
- Gets or sets the size of the dots used to mark whitespace.
-
- The size of the dots used to mark whitespace. The default is 1.
-
-
-
-
- Gets or sets the characters considered 'word' characters when using any word-based logic.
-
- A string of word characters.
-
-
-
- Gets or sets the line wrapping indent mode.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the line wrapping mode.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the indented size in pixels of wrapped sublines.
-
- The indented size of wrapped sublines measured in pixels. The default is 0.
-
- Setting to will add an
- additional 1 pixel to the value specified.
-
-
-
-
- Gets or sets the wrap visual flags.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Gets or sets additional location options when displaying wrap visual flags.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the horizontal scroll offset.
-
- The horizontal scroll offset in pixels.
-
-
-
- Gets or sets the zoom factor.
-
- The zoom factor measured in points.
- For best results, values should range from -10 to 20 points.
-
-
-
-
-
- Occurs when an autocompletion list is cancelled.
-
-
-
-
- Occurs when the user deletes a character while an autocompletion list is active.
-
-
-
-
- Occurs after autocompleted text is inserted.
-
-
-
-
- Occurs when a user has selected an item in an autocompletion list.
-
- Automatic insertion can be cancelled by calling from the event handler.
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Occurs when text is about to be deleted.
-
-
-
-
- Occurs when text is about to be inserted.
-
-
-
-
- Occurs when the value of the property has changed.
-
-
-
-
- Occurs when an annotation has changed.
-
-
-
-
- Occurs when the user enters a text character.
-
-
-
-
- Not supported.
-
-
-
-
- Occurs when text has been deleted from the document.
-
-
-
-
- Occurs when the control is double-clicked.
-
-
-
-
- Occurs when the mouse moves or another activity such as a key press ends a event.
-
-
-
-
- Occurs when the mouse clicked over a call tip displayed by the method.
-
-
-
-
- Occurs when the mouse is kept in one position (hovers) for the .
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Occurs when the user clicks on text that is in a style with the property set.
-
-
-
-
- Occurs when the user double clicks on text that is in a style with the property set.
-
-
-
-
- Occurs when the user releases a click on text that is in a style with the property set.
-
-
-
-
- Occurs when the user clicks on text that has an indicator.
-
-
-
-
- Occurs when the user releases a click on text that has an indicator.
-
-
-
-
- Occurs when text has been inserted into the document.
-
-
-
-
- Occurs when text is about to be inserted. The inserted text can be changed.
-
-
-
-
- Occurs when the mouse was clicked inside a margin that was marked as sensitive.
-
- The property must be set for a margin to raise this event.
-
-
-
- Occurs when the mouse was right-clicked inside a margin that was marked as sensitive.
-
- The property and must be set for a margin to raise this event.
-
-
-
-
- Occurs when a user attempts to change text while the document is in read-only mode.
-
-
-
-
-
- Occurs when the control determines hidden text needs to be shown.
-
- An example of when this event might be raised is if the end of line of a contracted fold point is deleted.
-
-
-
- Not supported.
-
-
-
-
- Occurs when painting has just been done.
-
-
-
-
- Occurs when the document becomes 'dirty'.
-
- The document 'dirty' state can be checked with the property and reset by calling .
-
-
-
-
-
- Occurs when the document 'dirty' flag is reset.
-
- The document 'dirty' state can be reset by calling or undoing an action that modified the document.
-
-
-
-
-
- Occurs when the control is about to display or print text and requires styling.
-
-
- This event is only raised when is set to .
- The last position styled correctly can be determined by calling .
-
-
-
-
-
- Occurs when the control UI is updated as a result of changes to text (including styling),
- selection, and/or scroll positions.
-
-
-
-
- Occurs when the user zooms the display using the keyboard or the property is changed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Implements a TextReader that reads from a Scintilla control.
-
-
-
-
- Arbitrarily chosen default buffer size
-
-
-
-
- Returns the number of buffered characters left to be read.
-
-
-
-
- Returns the number of unbuffered characters left to be read.
-
-
-
-
- Returns the total number of characters left to be read.
-
-
-
-
- Initializes a new instance of the ScintillaReader class that reads all text from the specified Scintilla control.
-
- The Scintilla control from which to read.
-
-
-
- Initializes a new instance of the ScintillaReader class that reads all text from the specified Scintilla control.
-
- The Scintilla control from which to read.
- The number of characters to buffer at a time.
-
-
-
- Initializes a new instance of the ScintillaReader class that reads a subsection from the specified Scintilla control.
-
- The Scintilla control from which to read.
- The index of the first character to read.
- The index just past the last character to read.
-
-
-
- Initializes a new instance of the ScintillaReader class that reads a subsection from the specified Scintilla control.
-
- The Scintilla control from which to read.
- The index of the first character to read.
- The index just past the last character to read.
- The number of characters to buffer at a time.
-
-
-
- Returns the next character to be read from the reader without actually removing it from the stream. Returns -1 if no characters are available.
-
- The next character from the input stream, or -1 if no more characters are available.
-
-
-
- Removes a character from the stream and returns it. Returns -1 if no characters are available.
-
- The next character from the input stream, or -1 if no more characters are available.
-
-
-
- Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
-
- The buffer to receive the characters.
- The position in buffer at which to begin writing.
- The maximum number of characters to read.
- The actual number of characters that have been read. The number will be less than or equal to count.
- buffer is null.
- The buffer length minus index is less than count.
- index or count is negative.
-
-
-
- Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
-
- The buffer to receive the characters.
- The position in buffer at which to begin writing.
- The maximum number of characters to read.
- The actual number of characters that have been read. The number will be less than or equal to count.
- buffer is null.
- The buffer length minus index is less than count.
- index or count is negative.
-
-
-
- Fills the buffer with the next section of text.
-
-
-
-
- Specifies the how patterns are matched when performing a search in a control.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Matches every instance of the search string.
-
-
-
-
- A match only occurs with text that matches the case of the search string.
-
-
-
-
- A match only occurs if the characters before and after are not word characters.
-
-
-
-
- A match only occurs if the character before is not a word character.
-
-
-
-
- The search string should be interpreted as a regular expression.
- Regular expressions will only match ranges within a single line, never matching over multiple lines.
-
-
-
-
- Treat regular expression in a more POSIX compatible manner by interpreting bare '(' and ')' for tagged sections rather than "\(" and "\)".
-
-
-
-
- The search string should be interpreted as a regular expression and use the C++11 <regex> standard library engine.
- The property can queried to determine if the regular expression is invalid.
- The ECMAScript flag is set on the regex object and documents will exhibit Unicode-compliant behaviour.
- Regular expressions will only match ranges within a single line, never matching over multiple lines.
-
-
-
-
- Represents a selection when there are multiple active selections in a control.
-
-
-
-
- Gets or sets the anchor position of the selection.
-
- The zero-based document position of the selection anchor.
-
-
-
- Gets or sets the amount of anchor virtual space.
-
- The amount of virtual space past the end of the line offsetting the selection anchor.
-
-
-
- Gets or sets the caret position of the selection.
-
- The zero-based document position of the selection caret.
-
-
-
- Gets or sets the amount of caret virtual space.
-
- The amount of virtual space past the end of the line offsetting the selection caret.
-
-
-
- Gets or sets the end position of the selection.
-
- The zero-based document position where the selection ends.
-
-
-
- Gets the selection index.
-
- The zero-based selection index within the that created it.
-
-
-
- Gets or sets the start position of the selection.
-
- The zero-based document position where the selection starts.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this selection.
- The index of this selection within the that created it.
-
-
-
- A multiple selection collection.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets the number of active selections.
-
- The number of selections in the .
-
-
-
- Gets a value indicating whether all selection ranges are empty.
-
- true if all selection ranges are empty; otherwise, false.
-
-
-
- Gets the at the specified zero-based index.
-
- The zero-based index of the to get.
- The at the specified index.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
- Possible status codes returned by the property.
-
-
-
-
- No failures.
-
-
-
-
- Generic failure.
-
-
-
-
- Memory is exhausted.
-
-
-
-
- Regular expression is invalid.
-
-
-
-
- A style definition in a control.
-
-
-
-
- Default style index. This style is used to define properties that all styles receive when calling .
-
-
-
-
- Line number style index. This style is used for text in line number margins. The background color of this style also
- sets the background color for all margins that do not have any folding mask set.
-
-
-
-
- Call tip style index. Only font name, size, foreground color, background color, and character set attributes
- can be used when displaying a call tip.
-
-
-
-
- Indent guide style index. This style is used to specify the foreground and background colors of .
-
-
-
-
- Brace highlighting style index. This style is used on a brace character when set with the method
- or the indentation guide when used with the property.
-
-
-
-
- Bad brace style index. This style is used on an unmatched brace character when set with the method.
-
-
-
-
- Fold text tag style index. This is the style used for drawing text tags attached to folded text when
- and are used.
-
-
-
-
- Copies the current style to another style.
-
- The to which the current style should be copied.
-
-
-
- Gets or sets the background color of the style.
-
- A Color object representing the style background color. The default is White.
- Alpha color values are ignored.
-
-
-
- Gets or sets whether the style font is bold.
-
- true if bold; otherwise, false. The default is false.
- Setting this property affects the property.
-
-
-
- Gets or sets the casing used to display the styled text.
-
- One of the enum values. The default is .
- This does not affect how text is stored, only displayed.
-
-
-
- Gets or sets whether the remainder of the line is filled with the
- when this style is used on the last character of a line.
-
- true to fill the line; otherwise, false. The default is false.
-
-
-
- Gets or sets the style font name.
-
- The style font name. The default is Verdana.
- Scintilla caches fonts by name so font names and casing should be consistent.
-
-
-
- Gets or sets the foreground color of the style.
-
- A Color object representing the style foreground color. The default is Black.
- Alpha color values are ignored.
-
-
-
- Gets or sets whether hovering the mouse over the style text exhibits hyperlink behavior.
-
- true to use hyperlink behavior; otherwise, false. The default is false.
-
-
-
- Gets the zero-based style definition index.
-
- The style definition index within the .
-
-
-
- Gets or sets whether the style font is italic.
-
- true if italic; otherwise, false. The default is false.
-
-
-
- Gets or sets the size of the style font in points.
-
- The size of the style font as a whole number of points. The default is 8.
-
-
-
- Gets or sets the size of the style font in fractoinal points.
-
- The size of the style font in fractional number of points. The default is 8.
-
-
-
- Gets or sets whether the style is underlined.
-
- true if underlined; otherwise, false. The default is false.
-
-
-
- Gets or sets whether the style text is visible.
-
- true to display the style text; otherwise, false. The default is true.
-
-
-
- Gets or sets the style font weight.
-
- The font weight. The default is 400.
- Setting this property affects the property.
-
-
-
- Initializes a new instances of the class.
-
- The control that created this style.
- The index of this style within the that created it.
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Delimiter style index.
-
-
-
-
- Label style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Unclosed character EOL style index.
-
-
-
-
- Illegal identifier or keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Comment block style index.
-
-
-
-
- Number style index.
-
-
-
-
- Math instruction (keword list 1) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- CPU instruction (keyword list 0) style index.
-
-
-
-
- Register (keyword list 2) style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Directive (keyword list 3) string style index.
-
-
-
-
- Directive operand (keyword list 4) style index.
-
-
-
-
- Extended instruction (keyword list 5) style index.
-
-
-
-
- Comment directive style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Keyword (list 0) style index.
-
-
-
-
- Label style index.
-
-
-
-
- Hide (@ECHO OFF/ON) style index.
-
-
-
-
- External command (keyword list 1) style index.
-
-
-
-
- Identifier string style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Attributes style index
-
-
-
-
- Built in procedures function style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Compiler directive style index
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Depreciated style index
-
-
-
-
- Error style index
-
-
-
-
- Integer Constant style index.
-
-
-
-
- Keyword style index
-
-
-
-
- Label string style index.
-
-
-
-
- Real Constant style index.
-
-
-
-
- Real Constant style index.
-
-
-
-
- Runtime expressions style index
-
-
-
-
- Standard equates style index
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Structure data type style index.
-
-
-
-
- User Identifier style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Documentation comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- UUID style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Verbatim string style index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- Documentation comment line style index.
-
-
-
-
- Keyword style 2 index.
-
-
-
-
- Comment keyword style index.
-
-
-
-
- Comment keyword error style index.
-
-
-
-
- Global class style index.
-
-
-
-
- Raw string style index.
-
-
-
-
- Triple-quoted string style index.
-
-
-
-
- Hash-quoted string style index.
-
-
-
-
- Preprocessor comment style index.
-
-
-
-
- Preprocessor documentation comment style index.
-
-
-
-
- User-defined literal style index.
-
-
-
-
- Task marker style index.
-
-
-
-
- Escape sequence style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Tag style index.
-
-
-
-
- Class style index.
-
-
-
-
- Pseudo class style index.
-
-
-
-
- Unknown pseudo class style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unknown identifier style index.
-
-
-
-
- Value style index.
-
-
-
-
- Comment style index.
-
-
-
-
- ID style index.
-
-
-
-
- Important style index.
-
-
-
-
- Directive style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Identifier style 2 index.
-
-
-
-
- Attribute style index.
-
-
-
-
- Identifier style 3 index.
-
-
-
-
- Pseudo element style index.
-
-
-
-
- Extended identifier style index.
-
-
-
-
- Extended pseudo class style index.
-
-
-
-
- Extended pseudo element style index.
-
-
-
-
- Media style index.
-
-
-
-
- Variable style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Keyword (list 0) style index.
-
-
-
-
- Keyword 2 (list 1) style index.
-
-
-
-
- Keyword 3 (list 2) style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator 2 style index.
-
-
-
-
- Label string style index.
-
-
-
-
- Continuation style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Content style index.
-
-
-
-
- Tag style index.
-
-
-
-
- Unknown tag style index.
-
-
-
-
- Attribute style index.
-
-
-
-
- Unknown attribute style index.
-
-
-
-
- Number style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Other tag content (not elements or attributes) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Entity ($nnn;) name style index.
-
-
-
-
- End-tag style index.
-
-
-
-
- Start of XML declaration (<?xml>) style index.
-
-
-
-
- End of XML declaration (?>) style index.
-
-
-
-
- Script tag (<script>) style index.
-
-
-
-
- ASP-like script engine block (<%) style index.
-
-
-
-
- ASP-like language declaration (<%@) style index.
-
-
-
-
- CDATA section style index.
-
-
-
-
- Question mark style index.
-
-
-
-
- Value style index.
-
-
-
-
- Script engine comment (<%--) style index.
-
-
-
-
- Embedded JavaScript style constants for use with the lexer.
-
-
-
-
- Start style index (allows EOL filled background to not start on same line as SCRIPT tag).
-
-
-
-
- Default style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Doc comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Word style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Symbols style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Number style index.
-
-
-
-
- String style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Property name style index.
-
-
-
-
- Escape sequence style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Operator style index.
-
-
-
-
- URI style index.
-
-
-
-
- Compact Internationalized Resource Identifier (IRI) style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Linked data (LD) keyword style index.
-
-
-
-
- Error style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Functions and special operators (list 0) style index.
-
-
-
-
- Keywords (list 1) style index.
-
-
-
-
- Symbol style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Special character style index.
-
-
-
-
- Multi-line comment style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Documentation comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword list 1 (index 0) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Literal string style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keywords list 2 (index 1) style index.
-
-
-
-
- Keywords list 3 (index 2) style index.
-
-
-
-
- Keywords list 4 (index 3) style index.
-
-
-
-
- Keywords list 5 (index 4) style index.
-
-
-
-
- Keywords list 6 (index 5) style index.
-
-
-
-
- Keywords list 7 (index 6) style index.
-
-
-
-
- Keywords list 8 (index 7) style index.
-
-
-
-
- Label style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- String style index.
-
-
-
-
- Command style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double quote string style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Comment style '{' index.
-
-
-
-
- Comment style 2 "(*" index.
-
-
-
-
- Comment line style "//" index.
-
-
-
-
- Preprocessor style "{$" index.
-
-
-
-
- Preprocessor style 2 "(*$" index.
-
-
-
-
- Number style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Word (keyword set 0) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Assembly style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Error style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- POD style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Punctuation style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Scalar style index.
-
-
-
-
- Array style index.
-
-
-
-
- Hash style index.
-
-
-
-
- Symbol table style index.
-
-
-
-
- Variable indexer index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- RegSubst style index.
-
-
-
-
- Backtick (grave accent, backquote) style index.
-
-
-
-
- Data section style index.
-
-
-
-
- HereDoc delimiter style index.
-
-
-
-
- HereDoc single-quote style index.
-
-
-
-
- HereDoc double-quote style index.
-
-
-
-
- HereDoc backtick style index.
-
-
-
-
- Q quote style index.
-
-
-
-
- QQ quote style index.
-
-
-
-
- QZ quote style index.
-
-
-
-
- QR quote style index.
-
-
-
-
- QW quote style index.
-
-
-
-
- POD verbatim style index.
-
-
-
-
- Subroutine prototype style index.
-
-
-
-
- Format identifier style index.
-
-
-
-
- Format style index.
-
-
-
-
- String variable style index.
-
-
-
-
- XLAT style index.
-
-
-
-
- Regular expression variable style index.
-
-
-
-
- RegSubst variable style index.
-
-
-
-
- Backticks variable style index.
-
-
-
-
- HereDoc QQ quote variable style index.
-
-
-
-
- HereDoc QX quote variable style index.
-
-
-
-
- QQ quote variable style index.
-
-
-
-
- QX quote variable style index.
-
-
-
-
- QR quote variable style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Complex Variable style index.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Number style index.
-
-
-
-
- Variable style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Double-quoted string variable style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index
-
-
-
-
- String style index.
-
-
-
-
- Character style index.
-
-
-
-
- Number style index.
-
-
-
-
- Variable style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Keyword (set 0) style index.
-
-
-
-
- Cmdlet (set 1) style index.
-
-
-
-
- Alias (set 2) style index.
-
-
-
-
- Function (set 3) style index.
-
-
-
-
- User word (set 4) style index.
-
-
-
-
- Multi-line comment style index.
-
-
-
-
- Here string style index.
-
-
-
-
- Here character style index.
-
-
-
-
- Comment based help keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Section style index.
-
-
-
-
- Assignment operator index.
-
-
-
-
- Default (registry-only) value index.
-
-
-
-
- Key style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- String style index.
-
-
-
-
- Single-quote style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Triple single-quote style index.
-
-
-
-
- Triple double-quote style index.
-
-
-
-
- Class name style index.
-
-
-
-
- Function or method name style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword style 2 index.
-
-
-
-
- Decorator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Error style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- POD style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Class name style index.
-
-
-
-
- Definition style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- Global style index.
-
-
-
-
- Symbol style index.
-
-
-
-
- Module name style index.
-
-
-
-
- Instance variable style index.
-
-
-
-
- Class variable style index.
-
-
-
-
- Backticks style index.
-
-
-
-
- Data section style index.
-
-
-
-
- HereDoc delimiter style index.
-
-
-
-
- HereDoc Q quote style index.
-
-
-
-
- HereDoc QQ quote style index.
-
-
-
-
- HereDoc QX quote style index.
-
-
-
-
- Q quote string style index.
-
-
-
-
- QQ quote string style index.
-
-
-
-
- QX quote string style index.
-
-
-
-
- QR quote string style index.
-
-
-
-
- QW quote style index.
-
-
-
-
- Demoted keyword style index.
-
-
-
-
- Standard-in style index.
-
-
-
-
- Standard-out style index.
-
-
-
-
- Standard-error style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Number style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Symbol style index.
-
-
-
-
- Binary style index.
-
-
-
-
- Bool style index.
-
-
-
-
- Self style index.
-
-
-
-
- Super style index.
-
-
-
-
- NIL style index.
-
-
-
-
- Global style index.
-
-
-
-
- Return style index.
-
-
-
-
- Special style index.
-
-
-
-
- KWS End style index.
-
-
-
-
- Assign style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Special selector style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Documentation comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword list 1 (index 0) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Keyword from the SQL*Plus list (index 3) style index.
-
-
-
-
- SQL*Plus prompt style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- SQL*Plus comment style index.
-
-
-
-
- Documentation line comment style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Documentation (Doxygen) keyword style index.
-
-
-
-
- Documentation (Doxygen) keyword error style index.
-
-
-
-
- Keyword user-list 1 (index 4) style index.
-
-
-
-
- Keyword user-list 2 (index 5) style index.
-
-
-
-
- Keyword user-list 3 (index 6) style index.
-
-
-
-
- Keyword user-list 4 (index 7) style index.
-
-
-
-
- Quoted identifier style index.
-
-
-
-
- Q operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default text style index.
-
-
-
-
- Line begin style index.
-
-
-
-
- Strong type 1 style index.
-
-
-
-
- Strong type 2 style index.
-
-
-
-
- Empasis type 1 style index.
-
-
-
-
- Empasis type 2 style index.
-
-
-
-
- Header type 1 style index.
-
-
-
-
- Header type 2 style index.
-
-
-
-
- Header type 3 style index.
-
-
-
-
- Header type 4 style index.
-
-
-
-
- Header type 5 style index.
-
-
-
-
- Header type 6 style index.
-
-
-
-
- Pre char style index.
-
-
-
-
- Unordered list style index.
-
-
-
-
- Ordered list style index.
-
-
-
-
- Blockquote style index.
-
-
-
-
- Strikeout style index.
-
-
-
-
- Horizontal rule style index.
-
-
-
-
- Link style index.
-
-
-
-
- Code type 1 style index.
-
-
-
-
- Code type 2 style index.
-
-
-
-
- Code block style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Keyword (set 0) style index.
-
-
-
-
- Base keyword (set 1) style index.
-
-
-
-
- Other keyword (set 2) style index.
-
-
-
-
- Number style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Infix style index.
-
-
-
-
- Unclosed infix EOL style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Comment line style index.
-
-
-
-
- Comment line bang (exclamation) style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword (set 0) style index.
-
-
-
-
- String style index.
-
-
-
-
- Keyword (set 1) style index.
-
-
-
-
- Keyword (set 2) style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- User word (set 3) style index.
-
-
-
-
- Comment word (set 4) style index.
-
-
-
-
- Input style index.
-
-
-
-
- Output style index.
-
-
-
-
- In-out style index.
-
-
-
-
- Port connect style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Content style index.
-
-
-
-
- Tag style index.
-
-
-
-
- Unknown tag style index.
-
-
-
-
- Attribute style index.
-
-
-
-
- Unknown attribute style index.
-
-
-
-
- Number style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Other tag content (not elements or attributes) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Entity ($nnn;) name style index.
-
-
-
-
- End-tag style index.
-
-
-
-
- Start of XML declaration (<?xml>) style index.
-
-
-
-
- End of XML declaration (?>) style index.
-
-
-
-
- Script tag (<script>) style index.
-
-
-
-
- ASP-like script engine block (<%) style index.
-
-
-
-
- ASP-like language declaration (<%@) style index.
-
-
-
-
- CDATA section style index.
-
-
-
-
- Question mark style index.
-
-
-
-
- Value style index.
-
-
-
-
- Script engine comment (<%--) style index.
-
-
-
-
- The possible casing styles of a style.
-
-
-
-
- Display the text normally.
-
-
-
-
- Display the text in upper case.
-
-
-
-
- Display the text in lower case.
-
-
-
-
- Display the text in camel case.
-
-
-
-
- An immutable collection of style definitions in a control.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets the number of styles.
-
- The number of styles in the .
-
-
-
- Gets a object at the specified index.
-
- The style definition index.
- An object representing the style definition at the specified .
- Styles 32 through 39 have special significance.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the document position where styling should end. The method
- indicates the last position styled correctly and the starting place for where styling should begin.
-
- The zero-based position within the document to perform styling up to.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document to stop styling.
-
-
-
- Specifies how tab characters are drawn when whitespace is visible.
-
-
-
-
- The default mode of an arrow stretching until the tabstop.
-
-
-
-
- A horizontal line stretching until the tabstop.
-
-
-
-
- The rendering technology used in a control.
-
-
-
-
- Renders text using GDI. This is the default.
-
-
-
-
- Renders text using Direct2D/DirectWrite. Since Direct2D buffers drawing,
- Scintilla's buffering can be turned off with .
-
-
-
-
- Specifies the change that triggered a event.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Contents, styling or markers have been changed.
-
-
-
-
- Selection has been changed.
-
-
-
-
- Scrolled vertically.
-
-
-
-
- Scrolled horizontally.
-
-
-
-
- Provides data for the event.
-
-
-
-
- The UI update that occurred.
-
- A bitwise combination of values specifying the UI update that occurred.
-
-
-
- Initializes a new instance of the class.
-
- A bitwise combination of values specifying the reason to update the UI.
-
-
-
- Enables virtual space for rectangular selections or in other circumstances or in both.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Virtual space is not enabled. This is the default.
-
-
-
-
- Virtual space is enabled for rectangular selections.
-
-
-
-
- Virtual space is user accessible.
-
-
-
-
- Prevents left arrow movement and selection from wrapping to the previous line.
-
-
-
-
- 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.
-
-
-
-
- Whitespace used for indentation is displayed as dots and arrows.
-
-
-
-
- Indenting behavior of wrapped sublines.
-
-
-
-
- Wrapped sublines aligned to left of window plus the amount set by .
- This is the default.
-
-
-
-
- Wrapped sublines are aligned to first subline indent.
-
-
-
-
- Wrapped sublines are aligned to first subline indent plus one more level of indentation.
-
-
-
-
- The line wrapping strategy.
-
-
-
-
- Line wrapping is disabled. This is the default.
-
-
-
-
- Lines are wrapped on word or style boundaries.
-
-
-
-
- Lines are wrapped between any character.
-
-
-
-
- Lines are wrapped on whitespace.
-
-
-
-
- Additional location options for line wrapping visual indicators.
-
-
-
-
- Wrap indicators are drawn near the border. This is the default.
-
-
-
-
- Wrap indicators are drawn at the end of sublines near the text.
-
-
-
-
- Wrap indicators are drawn at the beginning of sublines near the text.
-
-
-
-
- The visual indicator used on a wrapped line.
-
-
-
-
- No visual indicator is displayed. This the default.
-
-
-
-
- A visual indicator is displayed at th end of a wrapped subline.
-
-
-
-
- A visual indicator is displayed at the beginning of a subline.
- The subline is indented by 1 pixel to make room for the display.
-
-
-
-
- A visual indicator is displayed in the number margin.
-
-
-
-
- Flags enumeration type converter.
-
-
-
-
- This class represents an enumeration field in the property grid.
-
-
-
-
- Stores the context which the enumeration field descriptor was created in.
-
-
-
-
- Creates an instance of the enumeration field descriptor class.
-
- The type of the enumeration.
- The name of the enumeration field.
- The current context.
-
-
-
- Retrieves the value of the enumeration field.
-
-
- The instance of the enumeration type which to retrieve the field value for.
-
-
- True if the enumeration field is included to the enumeration;
- otherwise, False.
-
-
-
-
- Sets the value of the enumeration field.
-
-
- The instance of the enumeration type which to set the field value to.
-
-
- True if the enumeration field should included to the enumeration;
- otherwise, False.
-
-
-
-
- Retrieves a value indicating whether the enumeration
- field is set to a non-default value.
-
-
-
-
- Resets the enumeration field to its default value.
-
-
-
-
- Retrieves a value indicating whether the enumeration
- field can be reset to the default value.
-
-
-
-
- Retrieves the enumerations field�s default value.
-
-
-
-
- Creates an instance of the FlagsEnumConverter class.
-
- The type of the enumeration.
-
-
-
- Retrieves the property descriptors for the enumeration fields.
- These property descriptors will be used by the property grid
- to show separate enumeration fields.
-
- The current context.
- A value of an enumeration type.
-
-
-
diff --git a/Shared/ScintillaReader.cs b/Scintilla.NET/ScintillaReader.cs
similarity index 100%
rename from Shared/ScintillaReader.cs
rename to Scintilla.NET/ScintillaReader.cs
diff --git a/Shared/SearchFlags.cs b/Scintilla.NET/SearchFlags.cs
similarity index 100%
rename from Shared/SearchFlags.cs
rename to Scintilla.NET/SearchFlags.cs
diff --git a/Shared/Selection.cs b/Scintilla.NET/Selection.cs
similarity index 100%
rename from Shared/Selection.cs
rename to Scintilla.NET/Selection.cs
diff --git a/Shared/SelectionCollection.cs b/Scintilla.NET/SelectionCollection.cs
similarity index 100%
rename from Shared/SelectionCollection.cs
rename to Scintilla.NET/SelectionCollection.cs
diff --git a/Shared/Status.cs b/Scintilla.NET/Status.cs
similarity index 100%
rename from Shared/Status.cs
rename to Scintilla.NET/Status.cs
diff --git a/Shared/Style.cs b/Scintilla.NET/Style.cs
similarity index 99%
rename from Shared/Style.cs
rename to Scintilla.NET/Style.cs
index e86b2e7..cc92e64 100644
--- a/Shared/Style.cs
+++ b/Scintilla.NET/Style.cs
@@ -98,14 +98,14 @@ public Color BackColor
get
{
var color = scintilla.DirectMessage(NativeMethods.SCI_STYLEGETBACK, new IntPtr(Index), IntPtr.Zero).ToInt32();
- return ColorTranslator.FromWin32(color);
+ return HelperMethods.FromWin32Color(color);
}
set
{
if (value.IsEmpty)
value = Color.White;
- var color = ColorTranslator.ToWin32(value);
+ var color = HelperMethods.ToWin32Color(value);
scintilla.DirectMessage(NativeMethods.SCI_STYLESETBACK, new IntPtr(Index), new IntPtr(color));
}
}
@@ -231,14 +231,14 @@ public Color ForeColor
get
{
var color = scintilla.DirectMessage(NativeMethods.SCI_STYLEGETFORE, new IntPtr(Index), IntPtr.Zero).ToInt32();
- return ColorTranslator.FromWin32(color);
+ return HelperMethods.FromWin32Color(color);
}
set
{
if (value.IsEmpty)
value = Color.Black;
- var color = ColorTranslator.ToWin32(value);
+ var color = HelperMethods.ToWin32Color(value);
scintilla.DirectMessage(NativeMethods.SCI_STYLESETFORE, new IntPtr(Index), new IntPtr(color));
}
}
diff --git a/Shared/StyleCase.cs b/Scintilla.NET/StyleCase.cs
similarity index 100%
rename from Shared/StyleCase.cs
rename to Scintilla.NET/StyleCase.cs
diff --git a/Shared/StyleCollection.cs b/Scintilla.NET/StyleCollection.cs
similarity index 100%
rename from Shared/StyleCollection.cs
rename to Scintilla.NET/StyleCollection.cs
diff --git a/Shared/StyleNeededEventArgs.cs b/Scintilla.NET/StyleNeededEventArgs.cs
similarity index 100%
rename from Shared/StyleNeededEventArgs.cs
rename to Scintilla.NET/StyleNeededEventArgs.cs
diff --git a/Shared/TabDrawMode.cs b/Scintilla.NET/TabDrawMode.cs
similarity index 100%
rename from Shared/TabDrawMode.cs
rename to Scintilla.NET/TabDrawMode.cs
diff --git a/Shared/Technology.cs b/Scintilla.NET/Technology.cs
similarity index 100%
rename from Shared/Technology.cs
rename to Scintilla.NET/Technology.cs
diff --git a/Shared/Tuple.cs b/Scintilla.NET/Tuple.cs
similarity index 100%
rename from Shared/Tuple.cs
rename to Scintilla.NET/Tuple.cs
diff --git a/Shared/UpdateChange.cs b/Scintilla.NET/UpdateChange.cs
similarity index 100%
rename from Shared/UpdateChange.cs
rename to Scintilla.NET/UpdateChange.cs
diff --git a/Shared/UpdateUIEventArgs.cs b/Scintilla.NET/UpdateUIEventArgs.cs
similarity index 100%
rename from Shared/UpdateUIEventArgs.cs
rename to Scintilla.NET/UpdateUIEventArgs.cs
diff --git a/Shared/VirtualSpace.cs b/Scintilla.NET/VirtualSpace.cs
similarity index 100%
rename from Shared/VirtualSpace.cs
rename to Scintilla.NET/VirtualSpace.cs
diff --git a/Shared/WhitespaceMode.cs b/Scintilla.NET/WhitespaceMode.cs
similarity index 100%
rename from Shared/WhitespaceMode.cs
rename to Scintilla.NET/WhitespaceMode.cs
diff --git a/Shared/WinApiHelper.cs b/Scintilla.NET/WinApiHelper.cs
similarity index 100%
rename from Shared/WinApiHelper.cs
rename to Scintilla.NET/WinApiHelper.cs
diff --git a/Shared/WrapIndentMode.cs b/Scintilla.NET/WrapIndentMode.cs
similarity index 100%
rename from Shared/WrapIndentMode.cs
rename to Scintilla.NET/WrapIndentMode.cs
diff --git a/Shared/WrapMode.cs b/Scintilla.NET/WrapMode.cs
similarity index 100%
rename from Shared/WrapMode.cs
rename to Scintilla.NET/WrapMode.cs
diff --git a/Shared/WrapVisualFlagLocation.cs b/Scintilla.NET/WrapVisualFlagLocation.cs
similarity index 100%
rename from Shared/WrapVisualFlagLocation.cs
rename to Scintilla.NET/WrapVisualFlagLocation.cs
diff --git a/Shared/WrapVisualFlags.cs b/Scintilla.NET/WrapVisualFlags.cs
similarity index 100%
rename from Shared/WrapVisualFlags.cs
rename to Scintilla.NET/WrapVisualFlags.cs
diff --git a/native/scintilla5.net.targets b/Scintilla.NET/build/scintilla5.net.targets
similarity index 53%
rename from native/scintilla5.net.targets
rename to Scintilla.NET/build/scintilla5.net.targets
index bf5ab98..e728ae4 100644
--- a/native/scintilla5.net.targets
+++ b/Scintilla.NET/build/scintilla5.net.targets
@@ -1,9 +1,9 @@
-
-
- %(RecursiveDir)%(FileName)%(Extension)
+
+ runtimes\%(RecursiveDir)%(FileName)%(Extension)
PreserveNewest
+ False
diff --git a/Shared/vpksoft_logo.png b/Scintilla.NET/icon.png
similarity index 100%
rename from Shared/vpksoft_logo.png
rename to Scintilla.NET/icon.png
diff --git a/Scintilla.NET/nupkg.ps1 b/Scintilla.NET/nupkg.ps1
new file mode 100644
index 0000000..a27485f
--- /dev/null
+++ b/Scintilla.NET/nupkg.ps1
@@ -0,0 +1,24 @@
+param (
+ [Parameter(Mandatory=$true)][string]$NuGetPackageRoot,
+ [Parameter(Mandatory=$true)][string]$NuGetPackageSourceDir,
+ [Parameter(Mandatory=$true)][string]$PackageOutputPath,
+ [Parameter(Mandatory=$true)][string]$PackageId,
+ [Parameter(Mandatory=$true)][string]$PackageVersion
+)
+
+$PackageVersionList = $PackageVersion.Split('.')
+
+if ($PackageVersionList.Count -Eq 4 -And [int]::Parse($PackageVersionList[3]) -Eq 0) {
+ $PackageVersion = [string]::Join('.', $PackageVersionList[0..2])
+}
+
+$LocalNuGetPackageRegistry = [System.IO.Path]::GetFullPath((Join-Path $NuGetPackageSourceDir ..\registry))
+$PackagePath = Join-Path $PackageOutputPath "$PackageId.$PackageVersion.nupkg"
+
+$PackageInRegistry = Join-Path $LocalNuGetPackageRegistry $PackageId
+$PackageInRoot = Join-Path $NuGetPackageRoot $PackageId
+
+Remove-Item $PackageInRegistry -Recurse -Force -ErrorAction Ignore
+Remove-Item $PackageInRoot -Recurse -Force -ErrorAction Ignore
+
+nuget add $PackagePath -Source $LocalNuGetPackageRegistry
diff --git a/Scintilla.NET/runtimes/win-x64/native/Lexilla.dll b/Scintilla.NET/runtimes/win-x64/native/Lexilla.dll
new file mode 100644
index 0000000..3e39db8
Binary files /dev/null and b/Scintilla.NET/runtimes/win-x64/native/Lexilla.dll differ
diff --git a/native/x64/Scintilla.dll b/Scintilla.NET/runtimes/win-x64/native/Scintilla.dll
similarity index 52%
rename from native/x64/Scintilla.dll
rename to Scintilla.NET/runtimes/win-x64/native/Scintilla.dll
index b31aa07..c1efc3a 100644
Binary files a/native/x64/Scintilla.dll and b/Scintilla.NET/runtimes/win-x64/native/Scintilla.dll differ
diff --git a/Scintilla.NET/runtimes/win-x86/native/Lexilla.dll b/Scintilla.NET/runtimes/win-x86/native/Lexilla.dll
new file mode 100644
index 0000000..685e184
Binary files /dev/null and b/Scintilla.NET/runtimes/win-x86/native/Lexilla.dll differ
diff --git a/Scintilla.NET/runtimes/win-x86/native/Scintilla.dll b/Scintilla.NET/runtimes/win-x86/native/Scintilla.dll
new file mode 100644
index 0000000..018fd06
Binary files /dev/null and b/Scintilla.NET/runtimes/win-x86/native/Scintilla.dll differ
diff --git a/ScintillaNET.TestApp/App.config b/ScintillaNET.TestApp/App.config
deleted file mode 100644
index 016d28f..0000000
--- a/ScintillaNET.TestApp/App.config
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ScintillaNET.TestApp/FormMain.Designer.cs b/ScintillaNET.TestApp/FormMain.Designer.cs
deleted file mode 100644
index 9509958..0000000
--- a/ScintillaNET.TestApp/FormMain.Designer.cs
+++ /dev/null
@@ -1,127 +0,0 @@
-namespace ScintillaNET.TestApp
-{
- partial class FormMain
- {
- ///
- /// Required designer variable.
- ///
- private System.ComponentModel.IContainer components = null;
-
- ///
- /// Clean up any resources being used.
- ///
- /// true if managed resources should be disposed; otherwise, false.
- protected override void Dispose(bool disposing)
- {
- if (disposing && (components != null))
- {
- components.Dispose();
- }
- base.Dispose(disposing);
- }
-
- #region Windows Form Designer generated code
-
- ///
- /// Required method for Designer support - do not modify
- /// the contents of this method with the code editor.
- ///
- private void InitializeComponent()
- {
- this.scintilla = new ScintillaNET.Scintilla();
- this.msMain = new System.Windows.Forms.MenuStrip();
- this.mnuFile = new System.Windows.Forms.ToolStripMenuItem();
- this.mnuOpen = new System.Windows.Forms.ToolStripMenuItem();
- this.mnuExit = new System.Windows.Forms.ToolStripMenuItem();
- this.odFile = new System.Windows.Forms.OpenFileDialog();
- this.mnuTestMethod = new System.Windows.Forms.ToolStripMenuItem();
- this.msMain.SuspendLayout();
- this.SuspendLayout();
- //
- // scintilla
- //
- this.scintilla.AutoCMaxHeight = 9;
- this.scintilla.Dock = System.Windows.Forms.DockStyle.Fill;
- this.scintilla.Location = new System.Drawing.Point(0, 24);
- this.scintilla.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.scintilla.Name = "scintilla";
- this.scintilla.Size = new System.Drawing.Size(800, 426);
- this.scintilla.TabIndents = true;
- this.scintilla.TabIndex = 0;
- //
- // msMain
- //
- this.msMain.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.mnuFile,
- this.mnuTestMethod});
- this.msMain.Location = new System.Drawing.Point(0, 0);
- this.msMain.Name = "msMain";
- this.msMain.Size = new System.Drawing.Size(800, 24);
- this.msMain.TabIndex = 1;
- this.msMain.Text = "menuStrip1";
- //
- // mnuFile
- //
- this.mnuFile.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
- this.mnuOpen,
- this.mnuExit});
- this.mnuFile.Name = "mnuFile";
- this.mnuFile.Size = new System.Drawing.Size(37, 20);
- this.mnuFile.Text = "File";
- //
- // mnuOpen
- //
- this.mnuOpen.Name = "mnuOpen";
- this.mnuOpen.Size = new System.Drawing.Size(124, 22);
- this.mnuOpen.Text = "Open File";
- this.mnuOpen.Click += new System.EventHandler(this.mnuOpen_Click);
- //
- // mnuExit
- //
- this.mnuExit.Name = "mnuExit";
- this.mnuExit.Size = new System.Drawing.Size(124, 22);
- this.mnuExit.Text = "Exit";
- this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click);
- //
- // odFile
- //
- this.odFile.DefaultExt = "*.*";
- this.odFile.Filter = "All Files|*.*";
- //
- // mnuTestMethod
- //
- this.mnuTestMethod.Name = "mnuTestMethod";
- this.mnuTestMethod.Size = new System.Drawing.Size(160, 20);
- this.mnuTestMethod.Text = "Test some Scintilla method";
- this.mnuTestMethod.Click += new System.EventHandler(this.mnuTestMethod_Click);
- //
- // FormMain
- //
- this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
- this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(800, 450);
- this.Controls.Add(this.scintilla);
- this.Controls.Add(this.msMain);
- this.MainMenuStrip = this.msMain;
- this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3);
- this.Name = "FormMain";
- this.Text = "ScintillaNET.TestApp";
- this.msMain.ResumeLayout(false);
- this.msMain.PerformLayout();
- this.ResumeLayout(false);
- this.PerformLayout();
-
- }
-
- #endregion
-
- private Scintilla scintilla;
- private System.Windows.Forms.MenuStrip msMain;
- private System.Windows.Forms.ToolStripMenuItem mnuFile;
- private System.Windows.Forms.ToolStripMenuItem mnuOpen;
- private System.Windows.Forms.ToolStripMenuItem mnuExit;
- private System.Windows.Forms.OpenFileDialog odFile;
- private System.Windows.Forms.ToolStripMenuItem mnuTestMethod;
- }
-}
-
diff --git a/ScintillaNET.TestApp/FormMain.cs b/ScintillaNET.TestApp/FormMain.cs
deleted file mode 100644
index 90abde3..0000000
--- a/ScintillaNET.TestApp/FormMain.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.IO;
-using System.Windows.Forms;
-
-namespace ScintillaNET.TestApp
-{
- public partial class FormMain : Form
- {
- public FormMain()
- {
- InitializeComponent();
- // ReSharper disable once VirtualMemberCallInConstructor
- Text += @" © VPKSoft " + DateTime.Now.Year;
- }
-
- private void mnuOpen_Click(object sender, EventArgs e)
- {
- if (odFile.ShowDialog() == DialogResult.OK)
- {
- scintilla.Text = File.ReadAllText(odFile.FileName);
- scintilla.EmptyUndoBuffer();
- }
- }
-
- private void mnuExit_Click(object sender, EventArgs e)
- {
- Close();
- }
-
- private void mnuTestMethod_Click(object sender, EventArgs e)
- {
- string ohm = "\u2126";
- string omega = "\u03C9".ToUpper();
- scintilla.Text = $"Ohm: {ohm}\r\nOmega: {omega}";
-
- scintilla.SetRepresentation(ohm, "OHM");
- scintilla.SetRepresentation(omega, "OMEGA");
- }
- }
-}
diff --git a/ScintillaNET.TestApp/FormMain.resx b/ScintillaNET.TestApp/FormMain.resx
deleted file mode 100644
index f298a7b..0000000
--- a/ScintillaNET.TestApp/FormMain.resx
+++ /dev/null
@@ -1,60 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/ScintillaNET.TestApp/Program.cs b/ScintillaNET.TestApp/Program.cs
deleted file mode 100644
index 28e843e..0000000
--- a/ScintillaNET.TestApp/Program.cs
+++ /dev/null
@@ -1,19 +0,0 @@
-using System;
-using System.Windows.Forms;
-
-namespace ScintillaNET.TestApp
-{
- static class Program
- {
- ///
- /// The main entry point for the application.
- ///
- [STAThread]
- static void Main()
- {
- Application.EnableVisualStyles();
- Application.SetCompatibleTextRenderingDefault(false);
- Application.Run(new FormMain());
- }
- }
-}
diff --git a/ScintillaNET.TestApp/Properties/AssemblyInfo.cs b/ScintillaNET.TestApp/Properties/AssemblyInfo.cs
deleted file mode 100644
index 8e71f9a..0000000
--- a/ScintillaNET.TestApp/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System.Reflection;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("f25685ec-098a-4080-95a9-445268609806")]
diff --git a/ScintillaNET.TestApp/Properties/Resources.Designer.cs b/ScintillaNET.TestApp/Properties/Resources.Designer.cs
deleted file mode 100644
index 27392c5..0000000
--- a/ScintillaNET.TestApp/Properties/Resources.Designer.cs
+++ /dev/null
@@ -1,71 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace ScintillaNET.TestApp.Properties
-{
-
-
- ///
- /// A strongly-typed resource class, for looking up localized strings, etc.
- ///
- // This class was auto-generated by the StronglyTypedResourceBuilder
- // class via a tool like ResGen or Visual Studio.
- // To add or remove a member, edit your .ResX file then rerun ResGen
- // with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- internal class Resources
- {
-
- private static global::System.Resources.ResourceManager resourceMan;
-
- private static global::System.Globalization.CultureInfo resourceCulture;
-
- [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
- internal Resources()
- {
- }
-
- ///
- /// Returns the cached ResourceManager instance used by this class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Resources.ResourceManager ResourceManager
- {
- get
- {
- if ((resourceMan == null))
- {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ScintillaNET.TestApp.Properties.Resources", typeof(Resources).Assembly);
- resourceMan = temp;
- }
- return resourceMan;
- }
- }
-
- ///
- /// Overrides the current thread's CurrentUICulture property for all
- /// resource lookups using this strongly typed resource class.
- ///
- [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
- internal static global::System.Globalization.CultureInfo Culture
- {
- get
- {
- return resourceCulture;
- }
- set
- {
- resourceCulture = value;
- }
- }
- }
-}
diff --git a/ScintillaNET.TestApp/Properties/Resources.resx b/ScintillaNET.TestApp/Properties/Resources.resx
deleted file mode 100644
index af7dbeb..0000000
--- a/ScintillaNET.TestApp/Properties/Resources.resx
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- text/microsoft-resx
-
-
- 2.0
-
-
- System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
- System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
-
-
\ No newline at end of file
diff --git a/ScintillaNET.TestApp/Properties/Settings.Designer.cs b/ScintillaNET.TestApp/Properties/Settings.Designer.cs
deleted file mode 100644
index b2a7320..0000000
--- a/ScintillaNET.TestApp/Properties/Settings.Designer.cs
+++ /dev/null
@@ -1,30 +0,0 @@
-//------------------------------------------------------------------------------
-//
-// This code was generated by a tool.
-// Runtime Version:4.0.30319.42000
-//
-// Changes to this file may cause incorrect behavior and will be lost if
-// the code is regenerated.
-//
-//------------------------------------------------------------------------------
-
-namespace ScintillaNET.TestApp.Properties
-{
-
-
- [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
- internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
- {
-
- private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
-
- public static Settings Default
- {
- get
- {
- return defaultInstance;
- }
- }
- }
-}
diff --git a/ScintillaNET.TestApp/Properties/Settings.settings b/ScintillaNET.TestApp/Properties/Settings.settings
deleted file mode 100644
index 3964565..0000000
--- a/ScintillaNET.TestApp/Properties/Settings.settings
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
diff --git a/ScintillaNET.TestApp/ScintillaNET.TestApp.csproj b/ScintillaNET.TestApp/ScintillaNET.TestApp.csproj
deleted file mode 100644
index 7c8b5c0..0000000
--- a/ScintillaNET.TestApp/ScintillaNET.TestApp.csproj
+++ /dev/null
@@ -1,70 +0,0 @@
-
-
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}
- WinExe
- net5.0-windows
-
- true
- ScintillaNET.TestApp
- ScintillaNET.TestApp
- Copyright © VPKSoft 2020
- bin\$(Configuration)\
- VPKSoft
- VPKSoft
- A test application to validate that the ScintillaNET control is working.
- MIT
- https://github.com/VPKSoft/ScintillaNET
- true
-
-
-
- full
-
-
- pdbonly
- TRACE;SCINTILLA4
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Form
-
-
- FormMain.cs
-
-
- FormMain.cs
-
-
- ResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
- True
- Resources.resx
-
-
- SettingsSingleFileGenerator
- Settings.Designer.cs
-
-
-
- True
- Settings.settings
- True
-
-
-
\ No newline at end of file
diff --git a/ScintillaNET.sln b/ScintillaNET.sln
deleted file mode 100644
index 524e8b9..0000000
--- a/ScintillaNET.sln
+++ /dev/null
@@ -1,36 +0,0 @@
-
-Microsoft Visual Studio Solution File, Format Version 12.00
-# Visual Studio Version 16
-VisualStudioVersion = 16.0.30413.136
-MinimumVisualStudioVersion = 10.0.40219.1
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScintillaNET", "ScintillaNET\ScintillaNET.csproj", "{2FB155AE-B1BA-44AB-A670-794DE6635AAA}"
-EndProject
-Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ScintillaNET.TestApp", "ScintillaNET.TestApp\ScintillaNET.TestApp.csproj", "{82A75821-3754-4FA3-AFC5-B26B72CD9E04}"
-EndProject
-Global
- GlobalSection(SolutionConfigurationPlatforms) = preSolution
- Debug|Any CPU = Debug|Any CPU
- Release|Any CPU = Release|Any CPU
- Signed|Any CPU = Signed|Any CPU
- EndGlobalSection
- GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}.Release|Any CPU.Build.0 = Release|Any CPU
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}.Signed|Any CPU.ActiveCfg = Debug|Any CPU
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}.Signed|Any CPU.Build.0 = Debug|Any CPU
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}.Debug|Any CPU.Build.0 = Debug|Any CPU
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}.Release|Any CPU.ActiveCfg = Release|Any CPU
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}.Release|Any CPU.Build.0 = Release|Any CPU
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}.Signed|Any CPU.ActiveCfg = Debug|Any CPU
- {82A75821-3754-4FA3-AFC5-B26B72CD9E04}.Signed|Any CPU.Build.0 = Debug|Any CPU
- EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
- GlobalSection(ExtensibilityGlobals) = postSolution
- SolutionGuid = {A0845A01-6738-41BA-910D-0EA57F0480C1}
- EndGlobalSection
-EndGlobal
diff --git a/ScintillaNET/HelperMethods.cs b/ScintillaNET/HelperMethods.cs
deleted file mode 100644
index 199078a..0000000
--- a/ScintillaNET/HelperMethods.cs
+++ /dev/null
@@ -1,45 +0,0 @@
-using System.Linq;
-
-namespace ScintillaNET
-{
- ///
- /// Helper methods for the control.
- ///
- public static class HelperMethods
- {
- ///
- /// Gets the folding state of the control as a delimited string containing line indexes.
- ///
- /// The control instance.
- /// The string to use as a separator.
- /// The folding state of the control.
- public static string GetFoldingState(this Scintilla scintilla, string separator = ";")
- {
- return string.Join(separator,
- scintilla.Lines.Where(f => !f.Expanded).Select(f => f.Index).OrderBy(f => f).ToArray());
- }
-
- ///
- /// Sets the folding state of the state of the control with specified index string.
- ///
- /// The control instance.
- /// A string containing the folded line indexes separated with the to restore the folding.
- /// The string to use as a separator.
- public static void SetFoldingState(this Scintilla scintilla, string foldingState, string separator = ";")
- {
- scintilla.FoldAll(FoldAction.Expand);
- #if NET40
- foreach (var index in foldingState.Split(separator[0]).Select(int.Parse))
- #else
- foreach (var index in foldingState.Split(separator).Select(int.Parse))
- #endif
- {
- if (index < 0 || index >= scintilla.Lines.Count)
- {
- continue;
- }
- scintilla.Lines[index].ToggleFold();
- }
- }
- }
-}
diff --git a/ScintillaNET/NuGet-Push.ps1 b/ScintillaNET/NuGet-Push.ps1
deleted file mode 100644
index 7255c67..0000000
--- a/ScintillaNET/NuGet-Push.ps1
+++ /dev/null
@@ -1,90 +0,0 @@
-<#
-MIT License
-
-Copyright (c) 2021 Petteri Kautonen
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-#>
-
-Write-Output "Init NuGet push..."
-
-$output_file = "ScintillaNET\CryptEnvVar.exe"
-
-$download_url = "https://www.vpksoft.net/toolset/CryptEnvVar.exe"
-
-Write-Output "Download file: $download_url ..."
-(New-Object System.Net.WebClient).DownloadFile($download_url, $output_file)
-Write-Output "Download done."
-
-# application parameters..
-$application = "ScintillaNET"
-$environment_cryptor = "CryptEnvVar.exe"
-
-# create the digital signature..
-$arguments = @("-s", $Env:SECRET_KEY, "-e", "CERT_1;CERT_2;CERT_3;CERT_4;CERT_5;CERT_6;CERT_7;CERT_8", "-f", "C:\vpksoft.pfx", "-w", "80", "-i", "-v")
-& (-join($application, "\", $environment_cryptor)) $arguments
-
-#create nuget.config file..
-$arguments = @("-s", $Env:SECRET_KEY, "-e", "NUGET_CONFIG", "-f", "nuget.config", "-w", "80", "-i", "-v")
-& (-join($application, "\", $environment_cryptor)) $arguments
-
-# register the certificate to the CI image..
-$certpw=ConvertTo-SecureString $Env:PFX_PASS –asplaintext –force
-Import-PfxCertificate -FilePath "C:\vpksoft.pfx" -CertStoreLocation Cert:\LocalMachine\My -Password $certpw | Out-Null
-
-# sign and push the NuGet packages..
-if ([string]::IsNullOrEmpty($Env:CIRCLE_PR_NUMBER)) # dont push on PR's..
-{
- $files = Get-ChildItem $Env:CIRCLE_WORKING_DIRECTORY -r -Filter *ScintillaNET*.nupkg # use the mask to discard possible third party packages..
- for ($i = 0; $i -lt $files.Count; $i++)
- {
- $file = $files[$i].FullName
-
- # sign the NuGet packages.
- Write-Output (-join("Signing package: ", $file, " ..."))
-
- $arguments = @("sign", $file, "-CertificatePath", "C:\vpksoft.pfx", "-Timestamper", "http://timestamp.comodoca.com", "-CertificatePassword", $Env:PFX_PASS)
-
- nuget.exe $arguments > null 2>&1
- Write-Output (-join("Package signed: ", $file, "."))
-
- # push the NuGet packges..
- $nuget_api = "https://api.nuget.org/v3/index.json"
- #$nuget_api = "https://apiint.nugettest.org/v3/index.json"
- $nuget_packages_api = "https://nuget.pkg.github.com/VPKSoft/index.json"
-
- Write-Output (-join("Pushing NuGet:", $file, " ..."))
-
- # To nuget.org..
- $arguments = @("push", $file, $Env:NUGET_APIKEY, "-Source", $nuget_api, "-SkipDuplicate")
- #$args = @("push", $file, $Env:NUGET_TEST_APIKEY, "-Source", $nuget_api, "-SkipDuplicate")
- nuget.exe $arguments
-
- # To GitHub packages..
- $arguments = @("push", $file, $Env:NUGET_PACKAGES_API, "-Source", $nuget_packages_api, "-SkipDuplicate")
- nuget.exe $arguments
-
- Write-Output (-join("Pushing done:", $file, "."))
- }
- Write-Output "NuGet push finished."
-}
-else
-{
- Write-Output (-join("PR detected, no package publish: ", $Env:CIRCLE_PR_NUMBER))
-}
diff --git a/ScintillaNET/Properties/AssemblyInfo.cs b/ScintillaNET/Properties/AssemblyInfo.cs
deleted file mode 100644
index 470b362..0000000
--- a/ScintillaNET/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,14 +0,0 @@
-using System;
-using System.Reflection;
-using System.Resources;
-using System.Runtime.CompilerServices;
-using System.Runtime.InteropServices;
-[assembly: AssemblyTrademark("The MIT License (MIT)")]
-
-// Setting ComVisible to false makes the types in this assembly not visible
-// to COM components. If you need to access a type in this assembly from
-// COM, set the ComVisible attribute to true on that type.
-[assembly: ComVisible(false)]
-
-// The following GUID is for the ID of the typelib if this project is exposed to COM
-[assembly: Guid("f8ac48e7-9378-482d-8c7f-92c8408dd4f2")]
diff --git a/ScintillaNET/Properties/launchSettings.json b/ScintillaNET/Properties/launchSettings.json
deleted file mode 100644
index c7870c0..0000000
--- a/ScintillaNET/Properties/launchSettings.json
+++ /dev/null
@@ -1,8 +0,0 @@
-{
- "profiles": {
- "ScintillaNET": {
- "commandName": "Project",
- "nativeDebugging": false
- }
- }
-}
\ No newline at end of file
diff --git a/ScintillaNET/ScintillaNET.Core.xml b/ScintillaNET/ScintillaNET.Core.xml
deleted file mode 100644
index 4a83f14..0000000
--- a/ScintillaNET/ScintillaNET.Core.xml
+++ /dev/null
@@ -1,9236 +0,0 @@
-
-
-
- ScintillaNET.Core
-
-
-
-
- Visibility and location of annotations in a control
-
-
-
-
- Annotations are not displayed. This is the default.
-
-
-
-
- Annotations are drawn left justified with no adornment.
-
-
-
-
- Annotations are indented to match the text and are surrounded by a box.
-
-
-
-
- Annotations are indented to match the text.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the fillup character that caused the completion.
-
- The fillup character used to cause the completion; otherwise, 0.
- Only a of will return a non-zero character.
-
-
-
-
- Gets a value indicating how the completion occurred.
-
- One of the enumeration values.
-
-
-
- Gets the start position of the word being completed.
-
- The zero-based document position of the word being completed.
-
-
-
- Gets the text of the selected autocompletion item.
-
- The selected autocompletion item text.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document of the word being completed.
- A pointer to the selected autocompletion text.
- The character that caused the completion.
- A value indicating the way in which the completion occurred.
-
-
-
- Configuration options for automatic code folding.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Automatic folding is disabled. This is the default.
-
-
-
-
- Automatically show lines as needed. The event is not raised when this value is used.
-
-
-
-
- Handle clicks in fold margin automatically. The event is not raised for folding margins when this value is used.
-
-
-
-
- Show lines as needed when the fold structure is changed.
-
-
-
-
- Provides data for the and events.
-
-
-
-
- Gets the zero-based document position where the modification will occur.
-
- The zero-based character position within the document where text will be inserted or deleted.
-
-
-
- Gets the source of the modification.
-
- One of the enum values.
-
-
-
- Gets the text being inserted or deleted.
-
-
- The text about to be inserted or deleted, or null when the the source of the modification is an undo/redo operation.
-
-
- This property will return null when is or .
-
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The source of the modification.
- The zero-based byte position within the document where text is being modified.
- The length in bytes of the text being modified.
- A pointer to the text being inserted.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the type of the call tip click.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- /// Type of the call tip click.
-
-
-
- The type of a call tip click.
-
-
-
-
- The call tip was clicked elsewhere; not the up or down arrows.
-
-
-
-
- The call tip up arrow was clicked.
-
-
-
-
- The call tip down arrow was clicked.
-
-
-
-
- The caret visual style.
-
-
-
-
- The caret is not displayed.
-
-
-
-
- The caret is drawn as a vertical line.
-
-
-
-
- The caret is drawn as a block.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the line index where the annotation changed.
-
- The zero-based line index where the annotation change occurred.
-
-
-
- Initializes a new instance of the class.
-
- The zero-based line index of the annotation that changed.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the text character added to a control.
-
- The character added.
-
-
-
- Initializes a new instance of the class.
-
- The character added.
-
-
-
- Actions which can be performed by the application or bound to keys in a control.
-
-
-
-
- When bound to keys performs the standard platform behavior.
-
-
-
-
- Performs no action and when bound to keys prevents them from propagating to the parent window.
-
-
-
-
- Moves the caret down one line.
-
-
-
-
- Extends the selection down one line.
-
-
-
-
- Extends the rectangular selection down one line.
-
-
-
-
- Scrolls down one line.
-
-
-
-
- Moves the caret up one line.
-
-
-
-
- Extends the selection up one line.
-
-
-
-
- Extends the rectangular selection up one line.
-
-
-
-
- Scrolls up one line.
-
-
-
-
- Moves the caret down one paragraph.
-
-
-
-
- Extends the selection down one paragraph.
-
-
-
-
- Moves the caret up one paragraph.
-
-
-
-
- Extends the selection up one paragraph.
-
-
-
-
- Moves the caret left one character.
-
-
-
-
- Extends the selection left one character.
-
-
-
-
- Extends the rectangular selection left one character.
-
-
-
-
- Moves the caret right one character.
-
-
-
-
- Extends the selection right one character.
-
-
-
-
- Extends the rectangular selection right one character.
-
-
-
-
- Moves the caret to the start of the previous word.
-
-
-
-
- Extends the selection to the start of the previous word.
-
-
-
-
- Moves the caret to the start of the next word.
-
-
-
-
- Extends the selection to the start of the next word.
-
-
-
-
- Moves the caret to the end of the previous word.
-
-
-
-
- Extends the selection to the end of the previous word.
-
-
-
-
- Moves the caret to the end of the next word.
-
-
-
-
- Extends the selection to the end of the next word.
-
-
-
-
- Moves the caret to the previous word segment (case change or underscore).
-
-
-
-
- Extends the selection to the previous word segment (case change or underscore).
-
-
-
-
- Moves the caret to the next word segment (case change or underscore).
-
-
-
-
- Extends the selection to the next word segment (case change or underscore).
-
-
-
-
- Moves the caret to the start of the line.
-
-
-
-
- Extends the selection to the start of the line.
-
-
-
-
- Extends the rectangular selection to the start of the line.
-
-
-
-
- Moves the caret to the start of the display line.
-
-
-
-
- Extends the selection to the start of the display line.
-
-
-
-
- Moves the caret to the start of the display or document line.
-
-
-
-
- Extends the selection to the start of the display or document line.
-
-
-
-
- Moves the caret to the first non-whitespace character of the line.
-
-
-
-
- Extends the selection to the first non-whitespace character of the line.
-
-
-
-
- Extends the rectangular selection to the first non-whitespace character of the line.
-
-
-
-
- Moves the caret to the first non-whitespace character of the display or document line.
-
-
-
-
- Extends the selection to the first non-whitespace character of the display or document line.
-
-
-
-
- Moves the caret to the first non-whitespace character of the display line.
-
-
-
-
- Extends the selection to the first non-whitespace character of the display line.
-
-
-
-
- Moves the caret to the end of the document line.
-
-
-
-
- Extends the selection to the end of the document line.
-
-
-
-
- Extends the rectangular selection to the end of the document line.
-
-
-
-
- Moves the caret to the end of the display line.
-
-
-
-
- Extends the selection to the end of the display line.
-
-
-
-
- Moves the caret to the end of the display or document line.
-
-
-
-
- Extends the selection to the end of the display or document line.
-
-
-
-
- Moves the caret to the start of the document.
-
-
-
-
- Extends the selection to the start of the document.
-
-
-
-
- Moves the caret to the end of the document.
-
-
-
-
- Extends the selection to the end of the document.
-
-
-
-
- Moves the caret up one page.
-
-
-
-
- Extends the selection up one page.
-
-
-
-
- Extends the rectangular selection up one page.
-
-
-
-
- Moves the caret down one page.
-
-
-
-
- Extends the selection down one page.
-
-
-
-
- Extends the rectangular selection down one page.
-
-
-
-
- Moves the caret up one window or page.
-
-
-
-
- Extends the selection up one window or page.
-
-
-
-
- Moves the caret down one window or page.
-
-
-
-
- Extends the selection down one window or page.
-
-
-
-
- Deletes the character left of the caret.
-
-
-
-
- Deletes the character (excluding line breaks) left of the caret.
-
-
-
-
- Deletes from the caret to the start of the previous word.
-
-
-
-
- Deletes from the caret to the start of the next word.
-
-
-
-
- Deletes from the caret to the end of the next word.
-
-
-
-
- Deletes the characters left of the caret to the start of the line.
-
-
-
-
- Deletes the characters right of the caret to the start of the line.
-
-
-
-
- Deletes the current line.
-
-
-
-
- Removes the current line and places it on the clipboard.
-
-
-
-
- Copies the current line and places it on the clipboard.
-
-
-
-
- Transposes the current and previous lines.
-
-
-
-
- Reverses the current line.
-
-
-
-
- Duplicates the current line.
-
-
-
-
- Converts the selection to lowercase.
-
-
-
-
- Converts the selection to uppercase.
-
-
-
-
- Cancels autocompletion, calltip display, and drops any additional selections.
-
-
-
-
- Toggles overtype. See .
-
-
-
-
- Inserts a newline character.
-
-
-
-
- Inserts a form feed character.
-
-
-
-
- Adds a tab (indent) character.
-
-
-
-
- Removes a tab (indent) character from the start of a line.
-
-
-
-
- Duplicates the current selection.
-
-
-
-
- Moves the caret vertically to the center of the screen.
-
-
-
-
- Moves the selected lines up.
-
-
-
-
- Moves the selected lines down.
-
-
-
-
- Scrolls to the start of the document without changing the selection.
-
-
-
-
- Scrolls to the end of the document without changing the selection.
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to .
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Command equivalent to
-
-
-
-
- Specifies the clipboard formats to copy.
-
-
-
-
- Copies text to the clipboard in Unicode format.
-
-
-
-
- Copies text to the clipboard in Rich Text Format (RTF).
-
-
-
-
- Copies text to the clipboard in HyperText Markup Language (HTML) format.
-
-
-
-
- A document.
-
-
- This is an opaque type, meaning it can be used by a control but
- otherwise has no public members of its own.
-
-
-
-
- A read-only field that represents an uninitialized document.
-
-
-
-
- Returns a value indicating whether this instance is equal to a specified object.
-
- An object to compare with this instance or null.
- true if is an instance of and equals the value of this instance; otherwise, false.
-
-
-
- Returns the hash code for this instance.
-
- A 32-bit signed integer hash code.
-
-
-
- Determines whether two specified instances of are equal.
-
- The first document to compare.
- The second document to compare.
- true if equals ; otherwise, false.
-
-
-
- Determines whether two specified instances of are not equal.
-
- The first document to compare.
- The second document to compare.
- true if does not equal ; otherwise, false.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the line double clicked.
-
- The zero-based index of the double clicked line.
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when double clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
-
-
-
- Gets the zero-based document position of the text double clicked.
-
-
- The zero-based character position within the document of the double clicked text;
- otherwise, -1 if not a document position.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the double click.
- The zero-based byte position of the double clicked text.
- The zero-based line index of the double clicked text.
-
-
-
- Provides data for the and events.
-
-
-
-
- Gets the zero-based document position where the mouse pointer was lingering.
-
- The nearest zero-based document position to where the mouse pointer was lingering.
-
-
-
- Gets the x-coordinate of the mouse pointer.
-
- The x-coordinate of the mouse pointer relative to the control.
-
-
-
- Gets the y-coordinate of the mouse pointer.
-
- The y-coordinate of the mouse pointer relative to the control.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document where the mouse pointer was lingering.
- The x-coordinate of the mouse pointer relative to the control.
- The y-coordinate of the mouse pointer relative to the control.
-
-
-
- The long line edge display mode.
-
-
-
-
- Long lines are not indicated. This is the default.
-
-
-
-
- Long lines are indicated with a vertical line.
-
-
-
-
- Long lines are indicated with a background color.
-
-
-
-
- Similar to except allows for multiple vertical lines to be visible using the method.
-
- and are completely independant of this mode.
-
-
-
- End-of-line format.
-
-
-
-
- Carriage Return, Line Feed pair "\r\n" (0x0D0A).
-
-
-
-
- Carriage Return '\r' (0x0D).
-
-
-
-
- Line Feed '\n' (0x0A).
-
-
-
-
- Fold actions.
-
-
-
-
- Contract the fold.
-
-
-
-
- Expand the fold.
-
-
-
-
- Toggle between contracted and expanded.
-
-
-
-
- Display options for fold text tags.
-
-
-
-
- Do not display the text tags. This is the default.
-
-
-
-
- Display the text tags.
-
-
-
-
- Display the text tags with a box drawn around them.
-
-
-
-
- Additional display options for folds.
-
-
-
-
- A line is drawn above if expanded.
-
-
-
-
- A line is drawn above if not expanded.
-
-
-
-
- A line is drawn below if expanded.
-
-
-
-
- A line is drawn below if not expanded.
-
-
-
-
- Displays the hexadecimal fold levels in the margin to aid with debugging.
- This feature may change in the future.
-
-
-
-
- Displays the hexadecimal line state in the margin to aid with debugging. This flag
- cannot be used at the same time as the flag.
-
-
-
-
- Flags for additional line fold level behavior.
-
-
-
-
- Indicates that the line is blank and should be treated slightly different than its level may indicate;
- otherwise, blank lines should generally not be fold points.
-
-
-
-
- Indicates that the line is a header (fold point).
-
-
-
-
- The font quality (antialiasing method) used to render text.
-
-
-
-
- Specifies that the character quality of the font does not matter; so the lowest quality can be used.
- This is the default.
-
-
-
-
- Specifies that anti-aliasing should not be used when rendering text.
-
-
-
-
- Specifies that anti-aliasing should be used when rendering text, if the font supports it.
-
-
-
-
- Specifies that ClearType anti-aliasing should be used when rendering text, if the font supports it.
-
-
-
-
- Provides data for the , ,
- and events.
-
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
- Only the state of the CTRL key is reported in the event.
-
-
-
- Gets the zero-based document position of the text clicked.
-
- The zero-based character position within the document of the clicked text.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the click.
- The zero-based byte position of the clicked text.
-
-
-
- Possible strategies for styling text using application idle time.
-
-
-
-
-
- Syntax styling is performed for all the currently visible text before displaying it.
- This is the default.
-
-
-
-
- A small amount of styling is performed before display and then further styling is performed incrementally in the background as an idle-time task.
- This can improve initial display/scroll performance, but may result in the text initially appearing uncolored and then, some time later, it is colored.
-
-
-
-
- Text after the currently visible portion may be styled as an idle-time task.
- This will not improve initial display/scroll performance, but may improve subsequent display/scroll performance.
-
-
-
-
- Text before and after the current visible text.
- This is a combination of and .
-
-
-
-
- Provides methods for loading and creating a on a background (non-UI) thread.
-
-
- Internally an maintains a instance with a reference count of 1.
- You are responsible for ensuring the reference count eventually reaches 0 or memory leaks will occur.
-
-
-
-
- Adds the data specified to the internal document.
-
- The character buffer to copy to the new document.
- The number of characters in to copy.
-
- true if the data was added successfully; otherwise, false.
- A return value of false should be followed by a call to .
-
-
-
-
- Returns the internal document.
-
- A containing the added text. The document has a reference count of 1.
-
-
-
- Called to release the internal document when an error occurs using or to abandon loading.
-
-
- The internal document reference count.
- A return value of 0 indicates that the document has been destroyed and all associated memory released.
-
-
-
-
- Options for displaying indentation guides in a control.
-
- Indentation guides can be styled using the style.
-
-
-
- No indentation guides are shown. This is the default.
-
-
-
-
- Indentation guides are shown inside real indentation whitespace.
-
-
-
-
- Indentation guides are shown beyond the actual indentation up to the level of the next non-empty line.
- If the previous non-empty line was a fold header then indentation guides are shown for one more level of indent than that line.
- This setting is good for Python.
-
-
-
-
- Indentation guides are shown beyond the actual indentation up to the level of the next non-empty line or previous non-empty line whichever is the greater.
- This setting is good for most languages.
-
-
-
-
- Represents an indicator in a control.
-
-
-
-
- An OR mask to use with and to indicate
- that the user-defined indicator value should be treated as a RGB color.
-
-
-
-
- An AND mask to use with to retrieve the user-defined value as a RGB color when being treated as such.
-
-
-
-
- Given a document position which is filled with this indicator, will return the document position
- where the use of this indicator ends.
-
- A zero-based document position using this indicator.
- The zero-based document position where the use of this indicator ends.
-
- Specifying a which is not filled with this indicator will cause this method
- to return the end position of the range where this indicator is not in use (the negative space). If this
- indicator is not in use anywhere within the document the return value will be 0.
-
-
-
-
- Given a document position which is filled with this indicator, will return the document position
- where the use of this indicator starts.
-
- A zero-based document position using this indicator.
- The zero-based document position where the use of this indicator starts.
-
- Specifying a which is not filled with this indicator will cause this method
- to return the start position of the range where this indicator is not in use (the negative space). If this
- indicator is not in use anywhere within the document the return value will be 0.
-
-
-
-
- Returns the user-defined value for the indicator at the specified position.
-
- The zero-based document position to get the indicator value for.
- The user-defined value at the specified .
-
-
-
- Gets or sets the alpha transparency of the indicator.
-
-
- The alpha transparency ranging from 0 (completely transparent)
- to 255 (no transparency). The default is 30.
-
-
-
-
- Gets or sets the indicator flags.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Gets or sets the color used to draw an indicator.
-
- The Color used to draw an indicator. The default varies.
- Changing the property will reset the .
-
-
-
-
- Gets or sets the color used to draw an indicator when the mouse or caret is over an indicator.
-
-
- The Color used to draw an indicator.
- By default, the hover style is equal to the regular .
-
- Changing the property will reset the .
-
-
-
-
- Gets or sets the indicator style used when the mouse or caret is over an indicator.
-
-
- One of the enumeration values.
- By default, the hover style is equal to the regular .
-
- Changing the property will reset the .
-
-
-
-
- Gets the zero-based indicator index this object represents.
-
- The indicator definition index within the .
-
-
-
- Gets or sets the alpha transparency of the indicator outline.
-
-
- The alpha transparency ranging from 0 (completely transparent)
- to 255 (no transparency). The default is 50.
-
-
-
-
- Gets or sets the indicator style.
-
- One of the enumeration values. The default varies.
- Changing the property will reset the .
-
-
-
-
- Gets or sets whether indicators are drawn under or over text.
-
- true to draw the indicator under text; otherwise, false. The default is false.
- Drawing indicators under text requires or drawing.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this indicator.
- The index of this style within the that created it.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the click.
- The zero-based byte position of the clicked text.
-
-
-
- An immutable collection of indicators in a control.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets the number of indicators.
-
- The number of indicators in the .
-
-
-
- Gets an object at the specified index.
-
- The indicator index.
- An object representing the indicator at the specified .
-
- Indicators 0 through 7 are used by lexers.
- Indicators 32 through 35 are used for IME.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- Flags associated with a .
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- No flags. This is the default.
-
-
-
-
- When set, will treat an indicator value as a RGB color that has been OR'd with
- and will use that instead of the value specified in the property. This allows
- an indicator to display more than one color.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the zero-based document position of the text clicked.
-
- The zero-based character position within the document of the clicked text.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position of the clicked text.
-
-
-
- The visual appearance of an indicator.
-
-
-
-
- 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.
-
-
-
-
- A rectangle around the text.
-
-
-
-
- A rectangle around the text with rounded corners. The rectangle outline and fill transparencies can be adjusted using
- and .
-
-
-
-
- A rectangle around the text. The rectangle outline and fill transparencies can be adjusted using
- and .
-
-
-
-
- A dashed underline.
-
-
-
-
- A dotted underline.
-
-
-
-
- Similar to but only using 2 vertical pixels so will fit under small fonts.
-
-
-
-
- A dotted rectangle around the text. The dots transparencies can be adjusted using
- and .
-
-
-
-
- A 2-pixel thick underline with 1 pixel insets on either side.
-
-
-
-
- A 1-pixel thick underline with 1 pixel insets on either side.
-
-
-
-
- A rectangle around the entire character area. The rectangle outline and fill transparencies can be adjusted using
- and .
-
-
-
-
- An indicator that will change the foreground color of text to the foreground color of the indicator.
-
-
-
-
- A triangle below the start of the indicator range.
-
-
-
-
- A triangle below the center of the first character of the indicator range.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the zero-based document position where text will be inserted.
-
- The zero-based character position within the document where text will be inserted.
-
-
-
- Gets or sets the text being inserted.
-
- The text being inserted into the document.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document where text is being inserted.
- The length in bytes of the inserted text.
- A pointer to the text being inserted.
-
-
-
- Specifies the lexer to use for syntax highlighting in a control.
-
-
-
-
- Lexing is performed by the control container (host) using
- the event.
-
-
-
-
- No lexing should be performed.
-
-
-
-
- The Ada (95) language lexer.
-
-
-
-
- The assembly language lexer.
-
-
-
-
- The batch file lexer.
-
-
-
-
- The Clarion language
-
-
-
-
- The Clarion language No Case
-
-
-
-
- The C language family (C++, C, C#, Java, JavaScript, etc...) lexer.
-
-
-
-
- The Cascading Style Sheets (CSS, SCSS) lexer.
-
-
-
-
- The Fortran language lexer.
-
-
-
-
- The FreeBASIC language lexer.
-
-
-
-
- The HyperText Markup Language (HTML) lexer.
-
-
-
-
- JavaScript Object Notation (JSON) lexer.
-
-
-
-
- The Lisp language lexer.
-
-
-
-
- The Lua scripting language lexer.
-
-
-
-
- The Matlab scripting language lexer.
-
-
-
-
- The Pascal language lexer.
-
-
-
-
- The Perl language lexer.
-
-
-
-
- The PHP: Hypertext Preprocessor (PHP) script lexer.
-
-
-
-
- PowerShell script lexer.
-
-
-
-
- Properties file (INI) lexer.
-
-
-
-
- The PureBasic language lexer.
-
-
-
-
- The Python language lexer.
-
-
-
-
- The Ruby language lexer.
-
-
-
-
- The SmallTalk language lexer.
-
-
-
-
- The Structured Query Language (SQL) lexer.
-
-
-
-
- The Visual Basic (VB) lexer.
-
-
-
-
- The Visual Basic Script (VBScript) lexer.
-
-
-
-
- The Verilog hardware description language lexer.
-
-
-
-
- The Extensible Markup Language (XML) lexer.
-
-
-
-
- The Blitz (Blitz3D, BlitzMax, etc...) variant of Basic lexer.
-
-
-
-
- The Markdown syntax lexer.
-
-
-
-
- The R programming language lexer.
-
-
-
-
- Represents a line of text in a control.
-
-
-
-
- Expands any parent folds to ensure the line is visible.
-
-
-
-
- Performs the specified fold action on the current line and all child lines.
-
- One of the enumeration values.
-
-
-
- Performs the specified fold action on the current line.
-
- One of the enumeration values.
-
-
-
- Searches for the next line that has a folding level that is less than or equal to
- and returns the previous line index.
-
- The level of the line to search for. A value of -1 will use the current line .
-
- The zero-based index of the next line that has a less than or equal
- to . If the current line is a fold point and is -1 the
- index returned is the last line that would be made visible or hidden by toggling the fold state.
-
-
-
-
- Navigates the caret to the start of the line.
-
- Any selection is discarded.
-
-
-
- Adds the specified to the line.
-
- The zero-based index of the marker to add to the line.
- A which can be used to track the line.
- This method does not check if the line already contains the .
-
-
-
- Adds one or more markers to the line in a single call using a bit mask.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes to add.
-
-
-
- Removes the specified from the line.
-
- The zero-based index of the marker to remove from the line or -1 to delete all markers from the line.
- If the same marker has been added to the line more than once, this will delete one copy each time it is used.
-
-
-
- Returns a bit mask indicating which markers are present on the line.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
-
-
-
- Efficiently searches from the current line forward to the end of the document for the specified markers.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
- If found, the zero-based line index containing one of the markers in ; otherwise, -1.
- For example, the mask for marker index 10 is 1 shifted left 10 times (1 << 10).
-
-
-
- Efficiently searches from the current line backward to the start of the document for the specified markers.
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
- If found, the zero-based line index containing one of the markers in ; otherwise, -1.
- For example, the mask for marker index 10 is 1 shifted left 10 times (1 << 10).
-
-
-
- Toggles the folding state of the line; expanding or contracting all child lines.
-
- The line must be set as a .
-
-
-
-
- Toggles the folding state of the line; expanding or contracting all child lines, and specifies the text tag to display to the right of the fold.
-
- The text tag to show to the right of the folded text.
- The display of fold text tags are determined by the method.
-
-
-
-
- Gets the number of annotation lines of text.
-
- The number of annotation lines.
-
-
-
- Gets or sets the style of the annotation text.
-
-
- The zero-based index of the annotation text or 256 when
- has been used to set individual character styles.
-
-
-
-
-
- Gets or sets an array of style indexes corresponding to each charcter in the
- so that each character may be individually styled.
-
-
- An array of indexes corresponding with each annotation text character or an uninitialized
- array when has been used to set a single style for all characters.
-
-
- must be set prior to setting this property.
- The specified should have a length equal to the length to properly style all characters.
-
-
-
-
-
- Gets or sets the line annotation text.
-
- A String representing the line annotation text.
-
-
-
- Searches from the current line to find the index of the next contracted fold header.
-
- The zero-based line index of the next contracted folder header.
- If the current line is contracted the current line index is returned.
-
-
-
- Gets the zero-based index of the line as displayed in a control
- taking into consideration folded (hidden) lines.
-
- The zero-based display line index.
-
-
-
-
- Gets the zero-based character position in the document where the line ends (exclusive).
-
- The equivalent of + .
-
-
-
- Gets or sets the expanded state (not the visible state) of the line.
-
-
- For toggling the fold state of a single line the method should be used.
- This property is useful for toggling the state of many folds without updating the display until finished.
-
-
-
-
-
- Gets or sets the fold level of the line.
-
- The fold level ranging from 0 to 4095. The default is 1024.
-
-
-
- Gets or sets the fold level flags.
-
- A bitwise combination of the enumeration.
-
-
-
- Gets the zero-based line index of the first line before the current line that is marked as
- and has a less than the current line.
-
- The zero-based line index of the fold parent if present; otherwise, -1.
-
-
-
- Gets the height of the line in pixels.
-
- The height in pixels of the line.
- Currently all lines are the same height.
-
-
-
- Gets the line index.
-
- The zero-based line index within the that created it.
-
-
-
- Gets the length of the line.
-
- The number of characters in the line including any end of line characters.
-
-
-
- Gets or sets the style of the margin text in a or margin.
-
-
- The zero-based index of the margin text or 256 when
- has been used to set individual character styles.
-
-
-
-
-
- Gets or sets an array of style indexes corresponding to each charcter in the
- so that each character may be individually styled.
-
-
- An array of indexes corresponding with each margin text character or an uninitialized
- array when has been used to set a single style for all characters.
-
-
- must be set prior to setting this property.
- The specified should have a length equal to the length to properly style all characters.
-
-
-
-
-
- Gets or sets the text displayed in the line margin when the margin type is
- or .
-
- The text displayed in the line margin.
-
-
-
- Gets the zero-based character position in the document where the line begins.
-
- The document position of the first character in the line.
-
-
-
- Gets the line text.
-
- A string representing the document line.
- The returned text includes any end of line characters.
-
-
-
- Sets or gets the line indentation.
-
- The indentation measured in character columns, which corresponds to the width of space characters.
-
-
-
- Gets a value indicating whether the line is visible.
-
- true if the line is visible; otherwise, false.
-
-
-
-
-
- Gets the number of display lines this line would occupy when wrapping is enabled.
-
- The number of display lines needed to wrap the current document line.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this line.
- The index of this line within the that created it.
-
-
-
- An immutable collection of lines of text in a control.
-
-
-
-
- Adjust the number of CHARACTERS in a line.
-
-
-
-
- Converts a BYTE offset to a CHARACTER offset.
-
-
-
-
- Returns the number of CHARACTERS in a line.
-
-
-
-
- Returns the CHARACTER offset where the line begins.
-
-
-
-
- Gets the number of CHARACTERS int a BYTE range.
-
-
-
-
- Gets the number of CHARACTERS in a BYTE range.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Returns the line index containing the CHARACTER position.
-
-
-
-
- Tracks a new line with the given CHARACTER length.
-
-
-
-
- Gets a value indicating whether all the document lines are visible (not hidden).
-
- true if all the lines are visible; otherwise, false.
-
-
-
- Gets the number of lines.
-
- The number of lines in the .
-
-
-
- Gets the number of CHARACTERS in the document.
-
-
-
-
- Gets the at the specified zero-based index.
-
- The zero-based index of the to get.
- The at the specified index.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- Stuff we track for each line.
-
-
-
-
- The CHARACTER position where the line begins.
-
-
-
-
- 1 if the line contains multibyte (Unicode) characters; -1 if not; 0 if undetermined.
-
- Using an enum instead of Nullable because it uses less memory per line...
-
-
-
- Line endings types supported by lexers and allowed by a control.
-
-
-
-
-
-
-
- ASCII line endings. Carriage Return, Line Feed pair "\r\n" (0x0D0A); Carriage Return '\r' (0x0D); Line Feed '\n' (0x0A).
-
-
-
-
- Unicode line endings. Next Line (0x0085); Line Separator (0x2028); Paragraph Separator (0x2029).
-
-
-
-
- Indicates how an autocompletion occurred.
-
-
-
-
- A fillup character (see ) triggered the completion.
- The character used is indicated by the property.
-
-
-
-
- A double-click triggered the completion.
-
-
-
-
- A tab key or the command triggered the completion.
-
-
-
-
- A new line or command triggered the completion.
-
-
-
-
- The method triggered the completion.
-
-
-
-
- Represents a margin displayed on the left edge of a control.
-
-
-
-
- Gets or sets the background color of the margin when the property is set to .
-
- A Color object representing the margin background color. The default is Black.
- Alpha color values are ignored.
-
-
-
- Gets or sets the mouse cursor style when over the margin.
-
- One of the enumeration values. The default is .
-
-
-
- Gets the zero-based margin index this object represents.
-
- The margin index within the .
-
-
-
- Gets or sets whether the margin is sensitive to mouse clicks.
-
- true if the margin is sensitive to mouse clicks; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the margin type.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets the width in pixels of the margin.
-
- The width of the margin measured in pixels.
- Scintilla assigns various default widths.
-
-
-
- Gets or sets a mask indicating which markers this margin can display.
-
-
- An unsigned 32-bit value with each bit cooresponding to one of the 32 zero-based indexes.
- The default is 0x1FFFFFF, which is every marker except folder markers (i.e. 0 through 24).
-
-
- For example, the mask for marker index 10 is 1 shifted left 10 times (1 << 10).
- is a useful constant for working with just folder margin indexes.
-
-
-
-
- Initializes a new instance of the class.
-
- The control that created this margin.
- The index of this margin within the that created it.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the margin clicked.
-
- The zero-based index of the clicked margin.
-
-
-
- Gets the modifier keys (SHIFT, CTRL, ALT) held down when the margin was clicked.
-
- A bitwise combination of the Keys enumeration indicating the modifier keys.
-
-
-
- Gets the zero-based document position where the line ajacent to the clicked margin starts.
-
- The zero-based character position within the document of the start of the line adjacent to the margin clicked.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The modifier keys that where held down at the time of the margin click.
- The zero-based byte position within the document where the line adjacent to the clicked margin starts.
- The zero-based index of the clicked margin.
-
-
-
- An immutable collection of margins in a control.
-
-
-
-
- Removes all text displayed in every and margins.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets or sets the number of margins in the .
-
- The number of margins in the collection. The default is 5.
-
-
-
- Gets the number of margins in the .
-
- The number of margins in the collection.
- This property is kept for convenience. The return value will always be equal to .
-
-
-
-
- Gets or sets the width in pixels of the left margin padding.
-
- The left margin padding measured in pixels. The default is 1.
-
-
-
- Gets or sets the width in pixels of the right margin padding.
-
- The right margin padding measured in pixels. The default is 1.
-
-
-
- Gets a object at the specified index.
-
- The margin index.
- An object representing the margin at the specified .
- By convention margin 0 is used for line numbers and the two following for symbols.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- The display of a cursor when over a margin.
-
-
-
-
- A normal arrow.
-
-
-
-
- A reversed arrow.
-
-
-
-
- Flags used to define margin options.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- No options. This is the default.
-
-
-
-
- Lines selected by clicking on the margin will select only the subline of wrapped text.
-
-
-
-
- The behavior and appearance of a margin.
-
-
-
-
- Margin can display symbols.
-
-
-
-
- Margin displays line numbers.
-
-
-
-
- Margin can display symbols and has a background color equivalent to background color.
-
-
-
-
- Margin can display symbols and has a background color equivalent to foreground color.
-
-
-
-
- Margin can display application defined text.
-
-
-
-
- Margin can display application defined text right-justified.
-
-
-
-
- Margin can display symbols and has a background color specified using the property.
-
-
-
-
- Represents a margin marker in a control.
-
-
-
-
- An unsigned 32-bit mask of all indexes where each bit cooresponds to a margin index.
-
-
-
-
- An unsigned 32-bit mask of folder indexes (25 through 31) where each bit cooresponds to a margin index.
-
-
-
-
-
- Folder end marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder open marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder mid tail marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder tail marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder sub marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Folder open marker index. This marker is typically configured to display the symbol.
-
-
-
-
- Sets the marker symbol to a custom image.
-
- The Bitmap to use as a marker symbol.
- Calling this method will also update the property to .
-
-
-
- Removes this marker from all lines.
-
-
-
-
- Sets the foreground alpha transparency for markers that are drawn in the content area.
-
- The alpha transparency ranging from 0 (completely transparent) to 255 (no transparency).
- See the remarks on the method for a full explanation of when a marker can be drawn in the content area.
-
-
-
-
- Sets the background color of the marker.
-
- The background Color. The default is White.
-
- The background color of the whole line will be drawn in the specified when the marker is not visible
- because it is hidden by a or the is zero.
-
-
-
-
-
- Sets the foreground color of the marker.
-
- The foreground Color. The default is Black.
-
-
-
- Gets the zero-based marker index this object represents.
-
- The marker index within the .
-
-
-
- Gets or sets the marker symbol.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Initializes a new instance of the class.
-
- The control that created this marker.
- The index of this style within the that created it.
-
-
-
- An immutable collection of markers in a control.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object for enumerating all objects within the .
-
-
-
- Gets the number of markers in the .
-
- This property always returns 32.
-
-
-
- Gets a object at the specified index.
-
- The marker index.
- An object representing the marker at the specified .
- Markers 25 through 31 are used by Scintilla for folding.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- A handle.
-
-
- This is an opaque type, meaning it can be used by a control but
- otherwise has no public members of its own.
-
-
-
-
- A read-only field that represents an uninitialized handle.
-
-
-
-
- Returns a value indicating whether this instance is equal to a specified object.
-
- An object to compare with this instance or null.
- true if is an instance of and equals the value of this instance; otherwise, false.
-
-
-
- Returns the hash code for this instance.
-
- A 32-bit signed integer hash code.
-
-
-
- Determines whether two specified instances of are equal.
-
- The first handle to compare.
- The second handle to compare.
- true if equals ; otherwise, false.
-
-
-
- Determines whether two specified instances of are not equal.
-
- The first handle to compare.
- The second handle to compare.
- true if does not equal ; otherwise, false.
-
-
-
- The symbol displayed by a
-
-
-
-
- A circle. This symbol is typically used to indicate a breakpoint.
-
-
-
-
- A rectangel with rounded edges.
-
-
-
-
- An arrow (triangle) pointing right.
-
-
-
-
- A rectangle that is wider than it is tall.
-
-
-
-
- An arrow and tail pointing right. This symbol is typically used to indicate the current line of execution.
-
-
-
-
- An invisible symbol useful for tracking the movement of lines.
-
-
-
-
- An arrow (triangle) pointing down.
-
-
-
-
- A minus (-) symbol.
-
-
-
-
- A plus (+) symbol.
-
-
-
-
- A thin vertical line. This symbol is typically used on the middle line of an expanded fold block.
-
-
-
-
- A thin 'L' shaped line. This symbol is typically used on the last line of an expanded fold block.
-
-
-
-
- A thin 't' shaped line. This symbol is typically used on the last line of an expanded nested fold block.
-
-
-
-
- A plus (+) symbol with surrounding box. This symbol is typically used on the first line of a collapsed fold block.
-
-
-
-
- A plus (+) symbol with surrounding box and thin vertical line. This symbol is typically used on the first line of a collapsed nested fold block.
-
-
-
-
- A minus (-) symbol with surrounding box. This symbol is typically used on the first line of an expanded fold block.
-
-
-
-
- A minus (-) symbol with surrounding box and thin vertical line. This symbol is typically used on the first line of an expanded nested fold block.
-
-
-
-
- Similar to a , but curved.
-
-
-
-
- Similar to a , but curved.
-
-
-
-
- Similar to a but surrounded by a circle.
-
-
-
-
- Similar to a , but surrounded by a circle.
-
-
-
-
- Similar to a , but surrounded by a circle.
-
-
-
-
- Similar to a , but surrounded by a circle.
-
-
-
-
- A special marker that displays no symbol but will affect the background color of the line.
-
-
-
-
- Three dots (ellipsis).
-
-
-
-
- Three bracket style arrows.
-
-
-
-
- A rectangle occupying the entire marker space.
-
-
-
-
- A rectangle occupying only the left edge of the marker space.
-
-
-
-
- A special marker left available to plugins.
-
-
-
-
- A special marker that displays no symbol but will underline the current line text.
-
-
-
-
- A user-defined image. Images can be set using the method.
-
-
-
-
- A left-rotated bookmark.
-
-
-
-
- Provides data for the and events.
-
-
-
-
- Gets the number of lines added or removed.
-
- The number of lines added to the document when text is inserted, or the number of lines removed from the document when text is deleted.
- When lines are deleted the return value will be negative.
-
-
-
- Gets the text that was inserted or deleted.
-
- The text inserted or deleted from the document.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The source of the modification.
- The zero-based byte position within the document where text was modified.
- The length in bytes of the inserted or deleted text.
- >A pointer to the text inserted or deleted.
- The number of lines added or removed (delta).
-
-
-
- The source of a modification
-
-
-
-
- Modification is the result of a user operation.
-
-
-
-
- Modification is the result of an undo operation.
-
-
-
-
- Modification is the result of a redo operation.
-
-
-
-
- Specifies the behavior of pasting into multiple selections.
-
-
-
-
- Pasting into multiple selections only pastes to the main selection. This is the default.
-
-
-
-
- Pasting into multiple selections pastes into each selection.
-
-
-
-
- Like an UnmanagedMemoryStream execpt it can grow.
-
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the length of the text that needs to be shown.
-
- The length of text starting at that needs to be shown.
-
-
-
- Gets the zero-based document position where text needs to be shown.
-
- The zero-based document position where the range of text to be shown starts.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document where text needs to be shown.
- The length in bytes of the text that needs to be shown.
-
-
-
- The sorting order for autocompletion lists.
-
-
-
-
- Requires that an autocompletion lists be sorted in alphabetical order. This is the default.
-
-
-
-
- Instructs a control to perform an alphabetical sort of autocompletion lists.
-
-
-
-
- User-defined order.
-
-
-
-
- The number of phases used when drawing.
-
-
-
-
- Drawing is done in a single phase. This is the fastest but provides no support for kerning.
-
-
-
-
- Drawing is done in two phases; the background first and then the text. This is the default.
-
-
-
-
- Drawing is done in multiple phases; once for each feature. This is the slowest but allows
- extreme ascenders and descenders to overflow into adjacent lines.
-
-
-
-
- Behavior of the standard edit control context menu.
-
-
-
-
-
- Never show the default editing menu.
-
-
-
-
- Show default editing menu if clicking on the control.
-
-
-
-
- Show default editing menu only if clicking on text area.
-
- To receive the event, this value must be used.
-
-
-
-
- Non-generic class to produce instances of the generic class,
- optionally using type inference.
-
-
-
-
- Creates an instance of ProjectionEqualityComparer using the specified projection.
-
- Type parameter for the elements to be compared
- Type parameter for the keys to be compared,
- after being projected from the elements
- Projection to use when determining the key of an element
- A comparer which will compare elements by projecting
- each element to its key, and comparing keys
-
-
-
- Creates an instance of ProjectionEqualityComparer using the specified projection.
- The ignored parameter is solely present to aid type inference.
-
- Type parameter for the elements to be compared
- Type parameter for the keys to be compared,
- after being projected from the elements
- Value is ignored - type may be used by type inference
- Projection to use when determining the key of an element
- A comparer which will compare elements by projecting
- each element to its key, and comparing keys
-
-
-
- Class generic in the source only to produce instances of the
- doubly generic class, optionally using type inference.
-
-
-
-
- Creates an instance of ProjectionEqualityComparer using the specified projection.
-
- Type parameter for the keys to be compared,
- after being projected from the elements
- Projection to use when determining the key of an element
- A comparer which will compare elements by projecting each element to its key,
- and comparing keys
-
-
-
- Comparer which projects each element of the comparison to a key, and then compares
- those keys using the specified (or default) comparer for the key type.
-
- Type of elements which this comparer
- will be asked to compare
- Type of the key projected
- from the element
-
-
-
- Creates a new instance using the specified projection, which must not be null.
- The default comparer for the projected type is used.
-
- Projection to use during comparisons
-
-
-
- Creates a new instance using the specified projection, which must not be null.
-
- Projection to use during comparisons
- The comparer to use on the keys. May be null, in
- which case the default comparer will be used.
-
-
-
- Compares the two specified values for equality by applying the projection
- to each value and then using the equality comparer on the resulting keys. Null
- references are never passed to the projection.
-
-
-
-
- Produces a hash code for the given value by projecting it and
- then asking the equality comparer to find the hash code of
- the resulting key.
-
-
-
-
- Lexer property types.
-
-
-
-
- A Boolean property. This is the default.
-
-
-
-
- An integer property.
-
-
-
-
- A string property.
-
-
-
-
- Represents a Scintilla editor control.
-
-
-
-
- A constant used to specify an infinite mouse dwell wait time.
-
-
-
-
- A constant used to specify an invalid document position.
-
-
-
-
- Increases the reference count of the specified document by 1.
-
- The document reference count to increase.
-
-
-
- Adds an additional selection range to the existing main selection.
-
- The zero-based document position to end the selection.
- The zero-based document position to start the selection.
- A main selection must first have been set by a call to .
-
-
-
- Inserts the specified text at the current caret position.
-
- The text to insert at the current caret position.
- The caret position is set to the end of the inserted text, but it is not scrolled into view.
-
-
-
- Allocates some number of substyles for a particular base style. Substyles are allocated contiguously.
-
- The lexer style integer
- The amount of substyles to allocate
- Returns the first substyle number allocated.
-
-
-
- Removes the annotation text for every in the document.
-
-
-
-
- Adds the specified text to the end of the document.
-
- The text to add to the document.
- The current selection is not changed and the new text is not scrolled into view.
-
-
-
- Assigns the specified key definition to a command.
-
- The key combination to bind.
- The command to assign.
-
-
-
- Cancels any displayed autocompletion list.
-
-
-
-
-
- Triggers completion of the current autocompletion word.
-
-
-
-
- Selects an item in the autocompletion list.
-
-
- The autocompletion word to select.
- If found, the word in the autocompletion list is selected and the index can be obtained by calling .
- If not found, the behavior is determined by .
-
-
- Comparisons are performed according to the property
- and will match the first word starting with .
-
-
-
-
-
-
-
- Sets the characters that, when typed, cause the autocompletion item to be added to the document.
-
- A string of characters that trigger autocompletion. The default is null.
- Common fillup characters are '(', '[', and '.' depending on the language.
-
-
-
- Displays an auto completion list.
-
- The number of characters already entered to match on.
- A list of autocompletion words separated by the character.
-
-
-
- Specifies the characters that will automatically cancel autocompletion without the need to call .
-
- A String of the characters that will cancel autocompletion. The default is empty.
- Characters specified should be limited to printable ASCII characters.
-
-
-
- Marks the beginning of a set of actions that should be treated as a single undo action.
-
- A call to should be followed by a call to .
-
-
-
-
- Styles the specified character position with the style when there is an unmatched brace.
-
- The zero-based document position of the unmatched brace character or to remove the highlight.
-
-
-
- Styles the specified character positions with the style.
-
- The zero-based document position of the open brace character.
- The zero-based document position of the close brace character.
- Brace highlighting can be removed by specifying for and .
-
-
-
-
- Finds a corresponding matching brace starting at the position specified.
- The brace characters handled are '(', ')', '[', ']', '{', '}', '<', and '>'.
-
- The zero-based document position of a brace character to start the search from for a matching brace character.
- The zero-based document position of the corresponding matching brace or it no matching brace could be found.
- A match only occurs if the style of the matching brace is the same as the starting brace. Nested braces are handled correctly.
-
-
-
- Cancels the display of a call tip window.
-
-
-
-
- Sets the color of highlighted text in a call tip.
-
- The new highlight text Color. The default is dark blue.
-
-
-
- Sets the specified range of the call tip text to display in a highlighted style.
-
- The zero-based index in the call tip text to start highlighting.
- The zero-based index in the call tip text to stop highlighting (exclusive).
-
-
-
- Determines whether to display a call tip above or below text.
-
- true to display above text; otherwise, false. The default is false.
-
-
-
- Displays a call tip window.
-
- The zero-based document position where the call tip window should be aligned.
- The call tip text.
-
- Call tips can contain multiple lines separated by '\n' characters. Do not include '\r', as this will most likely print as an empty box.
- The '\t' character is supported and the size can be set by using .
-
-
-
-
- Sets the call tip tab size in pixels.
-
- The width in pixels of a tab '\t' character in a call tip. Specifying 0 disables special treatment of tabs.
-
-
-
- Indicates to the current that the internal lexer state has changed in the specified
- range and therefore may need to be redrawn.
-
- The zero-based document position at which the lexer state change starts.
- The zero-based document position at which the lexer state change ends.
-
-
-
- Finds the closest character position to the specified display point.
-
- The x pixel coordinate within the client rectangle of the control.
- The y pixel coordinate within the client rectangle of the control.
- The zero-based document position of the nearest character to the point specified.
-
-
-
- Finds the closest character position to the specified display point or returns -1
- if the point is outside the window or not close to any characters.
-
- The x pixel coordinate within the client rectangle of the control.
- The y pixel coordinate within the client rectangle of the control.
- The zero-based document position of the nearest character to the point specified when near a character; otherwise, -1.
-
-
-
- Explicitly sets the current horizontal offset of the caret as the X position to track
- when the user moves the caret vertically using the up and down keys.
-
-
- When not set explicitly, Scintilla automatically sets this value each time the user moves
- the caret horizontally.
-
-
-
-
- Removes the selected text from the document.
-
-
-
-
- Deletes all document text, unless the document is read-only.
-
-
-
-
- Makes the specified key definition do nothing.
-
- The key combination to bind.
- This is equivalent to binding the keys to .
-
-
-
- Removes all the key definition command mappings.
-
-
-
-
- Removes all styling from the document and resets the folding state.
-
-
-
-
- Removes all images registered for autocompletion lists.
-
-
-
-
- Sets a single empty selection at the start of the document.
-
-
-
-
- Requests that the current lexer restyle the specified range.
-
- The zero-based document position at which to start styling.
- The zero-based document position at which to stop styling (exclusive).
- This will also cause fold levels in the range specified to be reset.
-
-
-
- Changes all end-of-line characters in the document to the format specified.
-
- One of the enumeration values.
-
-
-
- Copies the selected text from the document and places it on the clipboard.
-
-
-
-
- Copies the selected text from the document and places it on the clipboard.
-
- One of the enumeration values.
-
-
-
- Copies the selected text from the document and places it on the clipboard.
- If the selection is empty the current line is copied.
-
-
- If the selection is empty and the current line copied, an extra "MSDEVLineSelect" marker is added to the
- clipboard which is then used in to paste the whole line before the current line.
-
-
-
-
- Copies the selected text from the document and places it on the clipboard.
- If the selection is empty the current line is copied.
-
- One of the enumeration values.
-
- If the selection is empty and the current line copied, an extra "MSDEVLineSelect" marker is added to the
- clipboard which is then used in to paste the whole line before the current line.
-
-
-
-
- Copies the specified range of text to the clipboard.
-
- The zero-based character position in the document to start copying.
- The zero-based character position (exclusive) in the document to stop copying.
-
-
-
- Copies the specified range of text to the clipboard.
-
- The zero-based character position in the document to start copying.
- The zero-based character position (exclusive) in the document to stop copying.
- One of the enumeration values.
-
-
-
- Create a new, empty document.
-
- A new with a reference count of 1.
- You are responsible for ensuring the reference count eventually reaches 0 or memory leaks will occur.
-
-
-
- Creates an object capable of loading a on a background (non-UI) thread.
-
- The initial number of characters to allocate.
- A new object, or null if the loader could not be created.
-
-
-
- Cuts the selected text from the document and places it on the clipboard.
-
-
-
-
- Deletes a range of text from the document.
-
- The zero-based character position to start deleting.
- The number of characters to delete.
-
-
-
- Retrieves a description of keyword sets supported by the current .
-
- A String describing each keyword set separated by line breaks for the current lexer.
-
-
-
- Retrieves a brief description of the specified property name for the current .
-
- A property name supported by the current .
- A String describing the lexer property name if found; otherwise, String.Empty.
- A list of supported property names for the current can be obtained by calling .
-
-
-
- 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.
- This API supports the Scintilla infrastructure and is not intended to be used directly from your code.
-
-
-
- Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
-
- true to release both managed and unmanaged resources; false to release only unmanaged resources.
-
-
-
- Returns the zero-based document line index from the specified display line index.
-
- The zero-based display line index.
- The zero-based document line index.
-
-
-
-
- If there are multiple selections, removes the specified selection.
-
- The zero-based selection index.
-
-
-
-
- Clears any undo or redo history.
-
- This will also cause to be called but will not raise the event.
-
-
-
- Marks the end of a set of actions that should be treated as a single undo action.
-
-
-
-
-
- Performs the specified command.
-
- The command to perform.
-
-
-
- Performs the specified fold action on the entire document.
-
- One of the enumeration values.
- When using the first fold header in the document is examined to decide whether to expand or contract.
-
-
-
- Changes the appearance of fold text tags.
-
- One of the enumeration values.
- The text tag to display on a folded line can be set using .
- .
-
-
-
- Frees all allocated substyles.
-
-
-
-
- Returns the character as the specified document position.
-
- The zero-based document position of the character to get.
- The character at the specified .
-
-
-
- Returns the column number of the specified document position, taking the width of tabs into account.
-
- The zero-based document position to get the column for.
- The number of columns from the start of the line to the specified document .
-
-
-
- Returns the last document position likely to be styled correctly.
-
- The zero-based document position of the last styled character.
-
-
-
- Gets the Primary style associated with the given Secondary style.
-
- The secondary style
- For a secondary style, return the primary style, else return the argument.
-
-
-
- Lookup a property value for the current .
-
- The property name to lookup.
-
- A String representing the property value if found; otherwise, String.Empty.
- Any embedded property name macros as described in will not be replaced (expanded).
-
-
-
-
-
- Lookup a property value for the current and expand any embedded property macros.
-
- The property name to lookup.
-
- A String representing the property value if found; otherwise, String.Empty.
- Any embedded property name macros as described in will be replaced (expanded).
-
-
-
-
-
- Lookup a property value for the current and convert it to an integer.
-
- The property name to lookup.
- A default value to return if the property name is not found or has no value.
-
- An Integer representing the property value if found;
- otherwise, if not found or the property has no value;
- otherwise, 0 if the property is not a number.
-
-
-
-
- Gets the style of the specified document position.
-
- The zero-based document position of the character to get the style for.
- The zero-based index used at the specified .
-
-
-
- Gets the lexer base style of a substyle.
-
- The integer index of the substyle
- Returns the base style, else returns the argument.
-
-
-
- Gets the length of the number of substyles allocated for a given lexer base style.
-
- The lexer style integer
- Returns the length of the substyles allocated for a base style.
-
-
-
- Gets the start index of the substyles for a given lexer base style.
-
- The lexer style integer
- Returns the start of the substyles allocated for a base style.
-
-
-
- Returns the capture group text of the most recent regular expression search.
-
- The capture group (1 through 9) to get the text for.
- A String containing the capture group text if it participated in the match; otherwise, an empty string.
-
-
-
-
- Gets a range of text from the document.
-
- The zero-based starting character position of the range to get.
- The number of characters to get.
- A string representing the text range.
-
-
-
- Gets a range of text from the document formatted as Hypertext Markup Language (HTML).
-
- The zero-based starting character position of the range to get.
- The number of characters to get.
- A string representing the text range formatted as HTML.
-
-
-
- Returns the version information of the native Scintilla library.
-
- An object representing the version information of the native Scintilla library.
-
-
-
- Gets the word from the position specified.
-
- The zero-based document character position to get the word from.
- The word at the specified position.
-
-
-
- Navigates the caret to the document position specified.
-
- The zero-based document character position to navigate to.
- Any selection is discarded.
-
-
-
- Hides the range of lines specified.
-
- The zero-based index of the line range to start hiding.
- The zero-based index of the line range to end hiding.
-
-
-
-
-
- Returns a bitmap representing the 32 indicators in use at the specified position.
-
- The zero-based character position within the document to test.
- A bitmap indicating which of the 32 indicators are in use at the specified .
-
-
-
- Removes the indicator (and user-defined value) from the specified range of text.
-
- The zero-based character position within the document to start clearing.
- The number of characters to clear.
-
-
-
- Adds the indicator and value to the specified range of text.
-
- The zero-based character position within the document to start filling.
- The number of characters to fill.
-
-
-
- Inserts text at the specified position.
-
- The zero-based character position to insert the text. Specify -1 to use the current caret position.
- The text to insert into the document.
-
- less than zero and not equal to -1. -or-
- is greater than the document length.
-
- No scrolling is performed.
-
-
-
- Determines whether the specified and positions are
- at the beginning and end of a word, respectively.
-
- The zero-based document position of the possible word start.
- The zero-based document position of the possible word end.
-
- true if and are at the beginning and end of a word, respectively;
- otherwise, false.
-
-
- This method does not check whether there is whitespace in the search range,
- only that the and are at word boundaries.
-
-
-
-
- Returns the line that contains the document position specified.
-
- The zero-based document character position.
- The zero-based document line index containing the character .
-
-
-
- Scrolls the display the number of lines and columns specified.
-
- The number of lines to scroll.
- The number of columns to scroll.
-
- Negative values scroll in the opposite direction.
- A column is the width in pixels of a space character in the style.
-
-
-
-
- Loads a compatible lexer from an external DLL.
-
- The path to the external lexer DLL.
-
-
-
- Removes the specified marker from all lines.
-
- The zero-based index to remove from all lines, or -1 to remove all markers from all lines.
-
-
-
- Searches the document for the marker handle and deletes the marker if found.
-
- The created by a previous call to of the marker to delete.
-
-
-
- Enable or disable highlighting of the current folding block.
-
- true to highlight the current folding block; otherwise, false.
-
-
-
- Searches the document for the marker handle and returns the line number containing the marker if found.
-
- The created by a previous call to of the marker to search for.
- If found, the zero-based line index containing the marker; otherwise, -1.
-
-
-
- Specifies the long line indicator column number and color when is .
-
- The zero-based column number to indicate.
- The color of the vertical long line indicator.
- A column is defined as the width of a space character in the style.
-
-
-
-
- Removes all the long line column indicators specified using .
-
-
-
-
-
- Searches for all instances of the main selection within the and
- range and adds any matches to the selection.
-
-
- The property is respected when searching, allowing additional
- selections to match on different case sensitivity and word search options.
-
-
-
-
-
- Searches for the next instance of the main selection within the and
- range and adds any match to the selection.
-
-
- The property is respected when searching, allowing additional
- selections to match on different case sensitivity and word search options.
-
-
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs 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.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs 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.
-
- 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.
-
- A that contains the event data.
-
-
-
- Raises the HandleCreated event.
-
- An EventArgs 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.
-
-
-
- Raises the event.
-
- An that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- 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.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the MouseUp event.
-
- A MouseEventArgs that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Raises the event.
-
- A that contains the event data.
-
-
-
- Raises the event.
-
- An that contains the event data.
-
-
-
- Raises the event.
-
- An EventArgs that contains the event data.
-
-
-
- Pastes the contents of the clipboard into the current selection.
-
-
-
-
- Returns the X display pixel location of the specified document position.
-
- The zero-based document character position.
- The x-coordinate of the specified within the client rectangle of the control.
-
-
-
- Returns the Y display pixel location of the specified document position.
-
- The zero-based document character position.
- The y-coordinate of the specified within the client rectangle of the control.
-
-
-
- Retrieves a list of property names that can be set for the current .
-
- A String of property names separated by line breaks.
-
-
-
- Retrieves the data type of the specified property name for the current .
-
- A property name supported by the current .
- One of the enumeration values. The default is .
- A list of supported property names for the current can be obtained by calling .
-
-
-
- Redoes the effect of an operation.
-
-
-
-
- Maps the specified image to a type identifer for use in an autocompletion list.
-
- The numeric identifier for this image.
- The Bitmap to use in an autocompletion list.
-
- The registered can be referenced by its identifer in an autocompletion
- list by suffixing a word with the character and the value. e.g.
- "int?2 long?3 short?1" etc....
-
-
-
-
-
- Decreases the reference count of the specified document by 1.
-
-
- The document reference count to decrease.
- When a document's reference count reaches 0 it is destroyed and any associated memory released.
-
-
-
-
- Replaces the current selection with the specified text.
-
- The text that should replace the current selection.
-
- If there is not a current selection, the text will be inserted at the current caret position.
- Following the operation the caret is placed at the end of the inserted text and scrolled into view.
-
-
-
-
- Replaces the target defined by and with the specified .
-
- The text that will replace the current target.
- The length of the replaced text.
-
- The and properties will be updated to the start and end positions of the replaced text.
- The recommended way to delete text in the document is to set the target range to be removed and replace the target with an empty string.
-
-
-
-
- Replaces the target text defined by and with the specified value after first substituting
- "\1" through "\9" macros in the with the most recent regular expression capture groups.
-
- The text containing "\n" macros that will be substituted with the most recent regular expression capture groups and then replace the current target.
- The length of the replaced text.
-
- The "\0" macro will be substituted by the entire matched text from the most recent search.
- The and properties will be updated to the start and end positions of the replaced text.
-
-
-
-
-
- Makes the next selection the main selection.
-
-
-
-
- Scrolls the current position into view, if it is not already visible.
-
-
-
-
- Scrolls the specified range into view.
-
- The zero-based document start position to scroll to.
-
- The zero-based document end position to scroll to if doing so does not cause the
- position to scroll out of view.
-
- This may be used to make a search match visible.
-
-
-
- Searches for the first occurrence of the specified text in the target defined by and .
-
- The text to search for. The interpretation of the text (i.e. whether it is a regular expression) is defined by the property.
- The zero-based start position of the matched text within the document if successful; otherwise, -1.
-
- If successful, the and properties will be updated to the start and end positions of the matched text.
- Searching can be performed in reverse using a greater than the .
-
-
-
-
- Selects all the text in the document.
-
- The current position is not scrolled into view.
-
-
-
- Sets the background color of additional selections.
-
- Additional selections background color.
- Calling will reset the specified.
-
-
-
- Sets the foreground color of additional selections.
-
- Additional selections foreground color.
- Calling will reset the specified.
-
-
-
- Removes any selection and places the caret at the specified position.
-
- The zero-based document position to place the caret at.
- The caret is not scrolled into view.
-
-
-
- Sets additional options for displaying folds.
-
- A bitwise combination of the enumeration.
-
-
-
- Sets a global override to the fold margin color.
-
- true to override the fold margin color; otherwise, false.
- The global fold margin color.
-
-
-
-
- Sets a global override to the fold margin highlight color.
-
- true to override the fold margin highlight color; otherwise, false.
- The global fold margin highlight color.
-
-
-
-
- Similar to but for substyles.
-
- The substyle integer index
- A list of words separated by whitespace (space, tab, '\n', '\r') characters.
-
-
-
- Updates a keyword set used by the current .
-
- The zero-based index of the keyword set to update.
-
- A list of keywords pertaining to the current separated by whitespace (space, tab, '\n', '\r') characters.
-
- The keywords specified will be styled according to the current .
-
-
-
-
- Sets the application-wide behavior for destroying controls.
-
-
- true to reparent Scintilla controls to message-only windows when destroyed rather than actually destroying the control handle; otherwise, false.
- The default is true.
-
- This method must be called prior to the first control being created.
-
-
-
- Sets the application-wide default module path of the native Scintilla library.
-
- The native Scintilla module path.
-
- This method must be called prior to the first control being created.
- The can be relative or absolute.
-
-
-
-
- Passes the specified property name-value pair to the current .
-
- The property name to set.
-
- The property value. Values can refer to other property names using the syntax $(name), where 'name' is another property
- name for the current . When the property value is retrieved by a call to
- the embedded property name macro will be replaced (expanded) with that current property value.
-
- Property names are case-sensitive.
-
-
-
- Marks the document as unmodified.
-
-
-
-
-
- Sets the anchor and current position.
-
- The zero-based document position to start the selection.
- The zero-based document position to end the selection.
-
- A negative value for signifies the end of the document.
- A negative value for signifies no selection (i.e. sets the
- to the same position as the ).
- The current position is scrolled into view following this operation.
-
-
-
-
- Sets a single selection from anchor to caret.
-
- The zero-based document position to end the selection.
- The zero-based document position to start the selection.
-
-
-
- Sets a global override to the selection background color.
-
- true to override the selection background color; otherwise, false.
- The global selection background color.
-
-
-
-
- Sets a global override to the selection foreground color.
-
- true to override the selection foreground color; otherwise, false.
- The global selection foreground color.
-
-
-
-
- Styles the specified length of characters.
-
- The number of characters to style.
- The definition index to assign each character.
-
- or is less than zero. -or-
- The sum of a preceeding call to or and is greater than the document length. -or-
- is greater than or equal to the number of style definitions.
-
-
- The styling position is advanced by after each call allowing multiple
- calls to for a single call to .
-
-
-
-
-
- Sets the and properties in a single call.
-
- The zero-based character position within the document to start a search or replace operation.
- The zero-based character position within the document to end a search or replace operation.
-
-
-
-
-
- Sets a global override to the whitespace background color.
-
- true to override the whitespace background color; otherwise, false.
- The global whitespace background color.
- When not overridden globally, the whitespace background color is determined by the current lexer.
-
-
-
-
-
- Sets a global override to the whitespace foreground color.
-
- true to override the whitespace foreground color; otherwise, false.
- The global whitespace foreground color.
- When not overridden globally, the whitespace foreground color is determined by the current lexer.
-
-
-
-
-
- Shows the range of lines specified.
-
- The zero-based index of the line range to start showing.
- The zero-based index of the line range to end showing.
-
-
-
-
-
- Prepares for styling by setting the styling to start at.
-
- The zero-based character position in the document to start styling.
-
- After preparing the document for styling, use successive calls to
- to style the document.
-
-
-
-
-
- Resets all style properties to those currently configured for the style.
-
-
-
-
-
- Resets the style to its initial state.
-
-
-
-
-
- Moves the caret to the opposite end of the main selection.
-
-
-
-
- Sets the and to the start and end positions of the selection.
-
-
-
-
-
- Sets the and to the start and end positions of the document.
-
-
-
-
-
- Measures the width in pixels of the specified string when rendered in the specified style.
-
- The index of the to use when rendering the text to measure.
- The text to measure.
- The width in pixels.
-
-
-
- Undoes the previous action.
-
-
-
-
- Determines whether to show the right-click context menu.
-
- true to enable the popup window; otherwise, false.
-
-
-
-
- Determines the conditions for displaying the standard right-click context menu.
-
- One of the enumeration values.
-
-
-
- Processes Windows messages.
-
- The Windows Message to process.
-
-
-
- Returns the position where a word ends, searching forward from the position specified.
-
- The zero-based document position to start searching from.
-
- true to stop searching at the first non-word character regardless of whether the search started at a word or non-word character.
- false to use the first character in the search as a word or non-word indicator and then search for that word or non-word boundary.
-
- The zero-based document postion of the word boundary.
-
-
-
-
- Returns the position where a word starts, searching backward from the position specified.
-
- The zero-based document position to start searching from.
-
- true to stop searching at the first non-word character regardless of whether the search started at a word or non-word character.
- false to use the first character in the search as a word or non-word indicator and then search for that word or non-word boundary.
-
- The zero-based document postion of the word boundary.
-
-
-
-
- Increases the zoom factor by 1 until it reaches 20 points.
-
-
-
-
-
- Decreases the zoom factor by 1 until it reaches -10 points.
-
-
-
-
-
- Gets or sets the caret foreground color for additional selections.
-
- The caret foreground color in additional selections. The default is (127, 127, 127).
-
-
-
- Gets or sets whether the carets in additional selections will blink.
-
- true if additional selection carets should blink; otherwise, false. The default is true.
-
-
-
- Gets or sets whether the carets in additional selections are visible.
-
- true if additional selection carets are visible; otherwise, false. The default is true.
-
-
-
- Gets or sets the alpha transparency of additional multiple selections.
-
-
- The alpha transparency ranging from 0 (completely transparent) to 255 (completely opaque).
- The value 256 will disable alpha transparency. The default is 256.
-
-
-
-
- Gets or sets whether additional typing affects multiple selections.
-
- true if typing will affect multiple selections instead of just the main selection; otherwise, false. The default is false.
-
-
-
- Gets or sets the current anchor position.
-
- The zero-based character position of the anchor.
-
- Setting the current anchor position will create a selection between it and the .
- The caret is not scrolled into view.
-
-
-
-
-
- Gets or sets the display of annotations.
-
- One of the enumeration values. The default is .
-
-
-
- Gets a value indicating whether there is an autocompletion list displayed.
-
- true if there is an active autocompletion list; otherwise, false.
-
-
-
- Gets or sets whether to automatically cancel autocompletion when there are no viable matches.
-
-
- true to automatically cancel autocompletion when there is no possible match; otherwise, false.
- The default is true.
-
-
-
-
- Gets or sets whether to cancel an autocompletion if the caret moves from its initial location,
- or is allowed to move to the word start.
-
-
- true to cancel autocompletion when the caret moves.
- false to allow the caret to move to the beginning of the word without cancelling autocompletion.
-
-
-
-
- Gets the index of the current autocompletion list selection.
-
- The zero-based index of the current autocompletion selection.
-
-
-
- Gets or sets whether to automatically select an item when it is the only one in an autocompletion list.
-
-
- true to automatically choose the only autocompletion item and not display the list; otherwise, false.
- The default is false.
-
-
-
-
- Gets or sets whether to delete any word characters following the caret after an autocompletion.
-
-
- true to delete any word characters following the caret after autocompletion; otherwise, false.
- The default is false.
-
-
-
- Gets or sets whether matching characters to an autocompletion list is case-insensitive.
-
- true to use case-insensitive matching; otherwise, false. The default is false.
-
-
-
- Gets or sets the maximum height of the autocompletion list measured in rows.
-
- The max number of rows to display in an autocompletion window. The default is 5.
- If there are more items in the list than max rows, a vertical scrollbar is shown.
-
-
-
- Gets or sets the width in characters of the autocompletion list.
-
-
- The width of the autocompletion list expressed in characters, or 0 to automatically set the width
- to the longest item. The default is 0.
-
- Any items that cannot be fully displayed will be indicated with ellipsis.
-
-
-
- Gets or sets the autocompletion list sort order to expect when calling .
-
- One of the enumeration values. The default is .
-
-
-
- Gets the document position at the time was called.
-
- The zero-based document position at the time was called.
-
-
-
-
- Gets or sets the delimiter character used to separate words in an autocompletion list.
-
- The separator character used when calling . The default is the space character.
- The specified should be limited to printable ASCII characters.
-
-
-
- Gets or sets the delimiter character used to separate words and image type identifiers in an autocompletion list.
-
- The separator character used to reference an image registered with . The default is '?'.
- The specified should be limited to printable ASCII characters.
-
-
-
- Gets or sets the automatic folding flags.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Gets or sets whether backspace deletes a character, or unindents.
-
- Whether backspace deletes a character, (false) or unindents (true).
-
-
-
- Gets or sets the border type of the control.
-
- A BorderStyle enumeration value that represents the border type of the control. The default is Fixed3D.
- A value that is not within the range of valid values for the enumeration was assigned to the property.
-
-
-
- Gets or sets whether drawing is double-buffered.
-
-
- true to draw each line into an offscreen bitmap first before copying it to the screen; otherwise, false.
- The default is true.
-
- Disabling buffer can improve performance but will cause flickering.
-
-
-
- Gets a value indicating whether there is a call tip window displayed.
-
- true if there is an active call tip window; otherwise, false.
-
-
-
- Gets a value indicating whether there is text on the clipboard that can be pasted into the document.
-
- true when there is text on the clipboard to paste; otherwise, false.
- The document cannot be and the selection cannot contain protected text.
-
-
-
- Gets a value indicating whether there is an undo action to redo.
-
- true when there is something to redo; otherwise, false.
-
-
-
- Gets a value indicating whether there is an action to undo.
-
- true when there is something to undo; otherwise, false.
-
-
-
- Gets or sets the caret foreground color.
-
- The caret foreground color. The default is black.
-
-
-
- Gets or sets the caret line background color.
-
- The caret line background color. The default is yellow.
-
-
-
- Gets or sets the alpha transparency of the .
-
-
- The alpha transparency ranging from 0 (completely transparent) to 255 (completely opaque).
- The value 256 will disable alpha transparency. The default is 256.
-
-
-
-
- Gets or sets the width of the caret line frame.
-
- must be set to true. A value of 0 disables the frame. The default is 0.
-
-
-
- Gets or sets whether the caret line is visible (highlighted).
-
- true if the caret line is visible; otherwise, false. The default is false.
-
-
-
- Gets or sets whether the caret line is always visible even when the window is not in focus.
-
- true if the caret line is always visible; otherwise, false. The default is false.
-
-
-
- Gets or sets the caret blink rate in milliseconds.
-
- The caret blink rate measured in milliseconds. The default is 530.
- A value of 0 will stop the caret blinking.
-
-
-
- Gets or sets the caret display style.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the width in pixels of the caret.
-
- The width of the caret in pixels. The default is 1 pixel.
-
- The caret width can only be set to a value of 0, 1, 2 or 3 pixels and is only effective
- when the property is set to .
-
-
-
-
- Gets the required creation parameters when the control handle is created.
-
- A CreateParams that contains the required creation parameters when the handle to the control is created.
-
-
-
- Gets the current line index.
-
- The zero-based line index containing the .
-
-
-
- Gets or sets the current caret position.
-
- The zero-based character position of the caret.
-
- Setting the current caret position will create a selection between it and the current .
- The caret is not scrolled into view.
-
-
-
-
-
- Not supported.
-
-
-
-
- Gets or sets the default cursor for the control.
-
- An object of type Cursor representing the current default cursor.
-
-
-
- Gets the default size of the control.
-
- The default Size of the control.
-
-
-
- Gets a value indicating the start index of the secondary styles.
-
- Returns the distance between a primary style and its corresponding secondary style.
-
-
-
- Gets or sets the current document used by the control.
-
- The current .
-
- Setting this property is equivalent to calling on the current document, and
- calling if the new is or
- if the new is not .
-
-
-
-
- Gets or sets the background color to use when indicating long lines with
- .
-
- The background Color. The default is Silver.
-
-
-
- Gets or sets the column number at which to begin indicating long lines.
-
- The number of columns in a long line. The default is 0.
-
- When using , a column is defined as the width of a space character in the style.
- When using a column is equal to a character (including tabs).
-
-
-
-
- Gets or sets the mode for indicating long lines.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets whether vertical scrolling ends at the last line or can scroll past.
-
- true if the maximum vertical scroll position ends at the last line; otherwise, false. The default is true.
-
-
-
- Gets or sets the end-of-line mode, or rather, the characters added into
- the document when the user presses the Enter key.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets the amount of whitespace added to the ascent (top) of each line.
-
- The extra line ascent. The default is zero.
-
-
-
- Gets or sets the amount of whitespace added to the descent (bottom) of each line.
-
- The extra line descent. The default is zero.
-
-
-
- Gets or sets the first visible line on screen.
-
- The zero-based index of the first visible screen line.
- The value is a visible line, not a document line.
-
-
-
- Not supported.
-
-
-
-
- Gets or sets font quality (anti-aliasing method) used to render fonts.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Not supported.
-
-
-
-
- Gets or sets the column number of the indentation guide to highlight.
-
- The column number of the indentation guide to highlight or 0 if disabled.
- Guides are highlighted in the style. Column numbers can be determined by calling .
-
-
-
- Gets or sets whether to display the horizontal scroll bar.
-
- true to display the horizontal scroll bar when needed; otherwise, false. The default is true.
-
-
-
- Gets or sets the strategy used to perform styling using application idle time.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the size of indentation in terms of space characters.
-
- The indentation size measured in characters. The default is 0.
- A value of 0 will make the indent width the same as the tab width.
-
-
-
- Gets or sets whether to display indentation guides.
-
- One of the enumeration values. The default is .
- The style can be used to specify the foreground and background color of indentation guides.
-
-
-
- Gets or sets the indicator used in a subsequent call to or .
-
- The zero-based indicator index to apply when calling or remove when calling .
-
-
-
- Gets a collection of objects for working with indicators.
-
- A collection of objects.
-
-
-
- Gets or sets the user-defined value used in a subsequent call to .
-
- The indicator value to apply when calling .
-
-
-
- This is used by clients that have complex focus requirements such as having their own window
- that gets the real focus but with the need to indicate that Scintilla has the logical focus.
-
-
-
-
- Gets or sets the current lexer.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets the current lexer by name.
-
- A String representing the current lexer.
- Lexer names are case-sensitive.
-
-
-
- Gets the combined result of the and
- properties to report the line end types actively being interpreted.
-
- A bitwise combination of the enumeration.
-
-
-
- Gets or sets the line ending types interpreted by the control.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
- The line ending types allowed must also be supported by the current lexer to be effective.
-
-
-
- Gets the different types of line ends supported by the current lexer.
-
- A bitwise combination of the enumeration.
-
-
-
- Gets a collection representing lines of text in the control.
-
- A collection of text lines.
-
-
-
- Gets the number of lines that can be shown on screen given a constant
- line height and the space available.
-
-
- The number of screen lines which could be displayed (including any partial lines).
-
-
-
-
- Gets or sets the main selection when their are multiple selections.
-
- The zero-based main selection index.
-
-
-
- Gets a collection representing margins in a control.
-
- A collection of margins.
-
-
-
- Gets a collection representing markers in a control.
-
- A collection of markers.
-
-
-
- Gets a value indicating whether the document has been modified (is dirty)
- since the last call to .
-
- true if the document has been modified; otherwise, false.
-
-
-
- Gets or sets the time in milliseconds the mouse must linger to generate a event.
-
-
- The time in milliseconds the mouse must linger to generate a event
- or if dwell events are disabled.
-
-
-
-
- Gets or sets the ability to switch to rectangular selection mode while making a selection with the mouse.
-
-
- true if the current mouse selection can be switched to a rectangular selection by pressing the ALT key; otherwise, false.
- The default is false.
-
-
-
-
- Gets or sets whether multiple selection is enabled.
-
-
- true if multiple selections can be made by holding the CTRL key and dragging the mouse; otherwise, false.
- The default is false.
-
-
-
-
- Gets or sets the behavior when pasting text into multiple selections.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets whether to write over text rather than insert it.
-
- true to write over text; otherwise, false. The default is false.
-
-
-
- Not supported.
-
-
-
-
- Gets or sets whether line endings in pasted text are convereted to the document .
-
- true to convert line endings in pasted text; otherwise, false. The default is true.
-
-
-
- Gets or sets the number of phases used when drawing.
-
- One of the enumeration values. The default is .
-
-
-
- Gets or sets whether the document is read-only.
-
- true if the document is read-only; otherwise, false. The default is false.
-
-
-
-
- Gets or sets the anchor position of the rectangular selection.
-
- The zero-based document position of the rectangular selection anchor.
-
-
-
- Gets or sets the amount of anchor virtual space in a rectangular selection.
-
- The amount of virtual space past the end of the line offsetting the rectangular selection anchor.
-
-
-
- Gets or sets the caret position of the rectangular selection.
-
- The zero-based document position of the rectangular selection caret.
-
-
-
- Gets or sets the amount of caret virtual space in a rectangular selection.
-
- The amount of virtual space past the end of the line offsetting the rectangular selection caret.
-
-
-
- Gets or sets the range of the horizontal scroll bar.
-
- The range in pixels of the horizontal scroll bar. The default is 2000.
- The width will automatically increase as needed when is enabled.
-
-
-
- Gets or sets whether the is automatically increased as needed.
-
-
- true to automatically increase the horizontal scroll width as needed; otherwise, false.
- The default is true.
-
-
-
-
- Gets or sets the search flags used when searching text.
-
- A bitwise combination of values. The default is .
-
-
-
-
- Gets the selected text.
-
- The selected text if there is any; otherwise, an empty string.
-
-
-
- Gets or sets the end position of the selection.
-
- The zero-based document position where the selection ends.
-
- When getting this property, the return value is Math.Max(, )
.
- When setting this property, is set to the value specified and set to Math.Min(, )
.
- The caret is not scrolled into view.
-
-
-
-
-
- Gets or sets whether to fill past the end of a line with the selection background color.
-
- true to fill past the end of the line; otherwise, false. The default is false.
-
-
-
- Gets a collection representing multiple selections in a control.
-
- A collection of selections.
-
-
-
- Gets or sets the start position of the selection.
-
- The zero-based document position where the selection starts.
-
- When getting this property, the return value is Math.Min(, )
.
- When setting this property, is set to the value specified and set to Math.Max(, )
.
- The caret is not scrolled into view.
-
-
-
-
-
- Gets or sets the last internal error code used by Scintilla.
-
-
- One of the enumeration values.
- The default is .
-
- The status can be reset by setting the property to .
-
-
-
- Gets a collection representing style definitions in a control.
-
- A collection of style definitions.
-
-
-
- Gets or sets how tab characters are represented when whitespace is visible.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
-
- Gets or sets whether tab inserts a tab character, or indents.
-
- Whether tab inserts a tab character (false), or indents (true).
-
-
-
- Gets or sets the width of a tab as a multiple of a space character.
-
- The width of a tab measured in characters. The default is 4.
-
-
-
- Gets or sets the end position used when performing a search or replace.
-
- The zero-based character position within the document to end a search or replace operation.
-
-
-
-
-
-
- Gets or sets the start position used when performing a search or replace.
-
- The zero-based character position within the document to start a search or replace operation.
-
-
-
-
-
-
- Gets the current target text.
-
- A String representing the text between and .
- Targets which have a start position equal or greater to the end position will return an empty String.
-
-
-
-
-
- Gets or sets the rendering technology used.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the current document text in the control.
-
- The text displayed in the control.
- Depending on the length of text get or set, this operation can be expensive.
-
-
-
- Gets the length of the text in the control.
-
- The number of characters in the document.
-
-
-
- Gets or sets whether to use a mixture of tabs and spaces for indentation or purely spaces.
-
- true to use tab characters; otherwise, false. The default is true.
-
-
-
- Gets or sets a value indicating whether to use the wait cursor for the current control.
-
- true to use the wait cursor for the current control; otherwise, false. The default is false.
-
-
-
- Gets or sets the visibility of end-of-line characters.
-
- true to display end-of-line characters; otherwise, false. The default is false.
-
-
-
- Gets or sets how to display whitespace characters.
-
- One of the enumeration values. The default is .
-
-
-
-
-
- Gets or sets the ability for the caret to move into an area beyond the end of each line, otherwise known as virtual space.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Gets or sets whether to display the vertical scroll bar.
-
- true to display the vertical scroll bar when needed; otherwise, false. The default is true.
-
-
-
- Gets or sets the size of the dots used to mark whitespace.
-
- The size of the dots used to mark whitespace. The default is 1.
-
-
-
-
- Gets or sets the characters considered 'word' characters when using any word-based logic.
-
- A string of word characters.
-
-
-
- Gets or sets the line wrapping indent mode.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the line wrapping mode.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the indented size in pixels of wrapped sublines.
-
- The indented size of wrapped sublines measured in pixels. The default is 0.
-
- Setting to will add an
- additional 1 pixel to the value specified.
-
-
-
-
- Gets or sets the wrap visual flags.
-
-
- A bitwise combination of the enumeration.
- The default is .
-
-
-
-
- Gets or sets additional location options when displaying wrap visual flags.
-
-
- One of the enumeration values.
- The default is .
-
-
-
-
- Gets or sets the horizontal scroll offset.
-
- The horizontal scroll offset in pixels.
-
-
-
- Gets or sets the zoom factor.
-
- The zoom factor measured in points.
- For best results, values should range from -10 to 20 points.
-
-
-
-
-
- Occurs when an autocompletion list is cancelled.
-
-
-
-
- Occurs when the user deletes a character while an autocompletion list is active.
-
-
-
-
- Occurs after autocompleted text is inserted.
-
-
-
-
- Occurs when a user has selected an item in an autocompletion list.
-
- Automatic insertion can be cancelled by calling from the event handler.
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Occurs when text is about to be deleted.
-
-
-
-
- Occurs when text is about to be inserted.
-
-
-
-
- Occurs when the value of the property has changed.
-
-
-
-
- Occurs when an annotation has changed.
-
-
-
-
- Occurs when the user enters a text character.
-
-
-
-
- Not supported.
-
-
-
-
- Occurs when text has been deleted from the document.
-
-
-
-
- Occurs when the control is double-clicked.
-
-
-
-
- Occurs when the mouse moves or another activity such as a key press ends a event.
-
-
-
-
- Occurs when the mouse clicked over a call tip displayed by the method.
-
-
-
-
- Occurs when the mouse is kept in one position (hovers) for the .
-
-
-
-
- Not supported.
-
-
-
-
- Not supported.
-
-
-
-
- Occurs when the user clicks on text that is in a style with the property set.
-
-
-
-
- Occurs when the user double clicks on text that is in a style with the property set.
-
-
-
-
- Occurs when the user releases a click on text that is in a style with the property set.
-
-
-
-
- Occurs when the user clicks on text that has an indicator.
-
-
-
-
- Occurs when the user releases a click on text that has an indicator.
-
-
-
-
- Occurs when text has been inserted into the document.
-
-
-
-
- Occurs when text is about to be inserted. The inserted text can be changed.
-
-
-
-
- Occurs when the mouse was clicked inside a margin that was marked as sensitive.
-
- The property must be set for a margin to raise this event.
-
-
-
- Occurs when the mouse was right-clicked inside a margin that was marked as sensitive.
-
- The property and must be set for a margin to raise this event.
-
-
-
-
- Occurs when a user attempts to change text while the document is in read-only mode.
-
-
-
-
-
- Occurs when the control determines hidden text needs to be shown.
-
- An example of when this event might be raised is if the end of line of a contracted fold point is deleted.
-
-
-
- Not supported.
-
-
-
-
- Occurs when painting has just been done.
-
-
-
-
- Occurs when the document becomes 'dirty'.
-
- The document 'dirty' state can be checked with the property and reset by calling .
-
-
-
-
-
- Occurs when the document 'dirty' flag is reset.
-
- The document 'dirty' state can be reset by calling or undoing an action that modified the document.
-
-
-
-
-
- Occurs when the control is about to display or print text and requires styling.
-
-
- This event is only raised when is set to .
- The last position styled correctly can be determined by calling .
-
-
-
-
-
- Occurs when the control UI is updated as a result of changes to text (including styling),
- selection, and/or scroll positions.
-
-
-
-
- Occurs when the user zooms the display using the keyboard or the property is changed.
-
-
-
-
- Initializes a new instance of the class.
-
-
-
-
- Implements a TextReader that reads from a Scintilla control.
-
-
-
-
- Arbitrarily chosen default buffer size
-
-
-
-
- Returns the number of buffered characters left to be read.
-
-
-
-
- Returns the number of unbuffered characters left to be read.
-
-
-
-
- Returns the total number of characters left to be read.
-
-
-
-
- Initializes a new instance of the ScintillaReader class that reads all text from the specified Scintilla control.
-
- The Scintilla control from which to read.
-
-
-
- Initializes a new instance of the ScintillaReader class that reads all text from the specified Scintilla control.
-
- The Scintilla control from which to read.
- The number of characters to buffer at a time.
-
-
-
- Initializes a new instance of the ScintillaReader class that reads a subsection from the specified Scintilla control.
-
- The Scintilla control from which to read.
- The index of the first character to read.
- The index just past the last character to read.
-
-
-
- Initializes a new instance of the ScintillaReader class that reads a subsection from the specified Scintilla control.
-
- The Scintilla control from which to read.
- The index of the first character to read.
- The index just past the last character to read.
- The number of characters to buffer at a time.
-
-
-
- Returns the next character to be read from the reader without actually removing it from the stream. Returns -1 if no characters are available.
-
- The next character from the input stream, or -1 if no more characters are available.
-
-
-
- Removes a character from the stream and returns it. Returns -1 if no characters are available.
-
- The next character from the input stream, or -1 if no more characters are available.
-
-
-
- Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
-
- The buffer to receive the characters.
- The position in buffer at which to begin writing.
- The maximum number of characters to read.
- The actual number of characters that have been read. The number will be less than or equal to count.
- buffer is null.
- The buffer length minus index is less than count.
- index or count is negative.
-
-
-
- Reads a maximum of count characters from the current stream and writes the data to buffer, beginning at index.
-
- The buffer to receive the characters.
- The position in buffer at which to begin writing.
- The maximum number of characters to read.
- The actual number of characters that have been read. The number will be less than or equal to count.
- buffer is null.
- The buffer length minus index is less than count.
- index or count is negative.
-
-
-
- Fills the buffer with the next section of text.
-
-
-
-
- Specifies the how patterns are matched when performing a search in a control.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Matches every instance of the search string.
-
-
-
-
- A match only occurs with text that matches the case of the search string.
-
-
-
-
- A match only occurs if the characters before and after are not word characters.
-
-
-
-
- A match only occurs if the character before is not a word character.
-
-
-
-
- The search string should be interpreted as a regular expression.
- Regular expressions will only match ranges within a single line, never matching over multiple lines.
-
-
-
-
- Treat regular expression in a more POSIX compatible manner by interpreting bare '(' and ')' for tagged sections rather than "\(" and "\)".
-
-
-
-
- The search string should be interpreted as a regular expression and use the C++11 <regex> standard library engine.
- The property can queried to determine if the regular expression is invalid.
- The ECMAScript flag is set on the regex object and documents will exhibit Unicode-compliant behaviour.
- Regular expressions will only match ranges within a single line, never matching over multiple lines.
-
-
-
-
- Represents a selection when there are multiple active selections in a control.
-
-
-
-
- Gets or sets the anchor position of the selection.
-
- The zero-based document position of the selection anchor.
-
-
-
- Gets or sets the amount of anchor virtual space.
-
- The amount of virtual space past the end of the line offsetting the selection anchor.
-
-
-
- Gets or sets the caret position of the selection.
-
- The zero-based document position of the selection caret.
-
-
-
- Gets or sets the amount of caret virtual space.
-
- The amount of virtual space past the end of the line offsetting the selection caret.
-
-
-
- Gets or sets the end position of the selection.
-
- The zero-based document position where the selection ends.
-
-
-
- Gets the selection index.
-
- The zero-based selection index within the that created it.
-
-
-
- Gets or sets the start position of the selection.
-
- The zero-based document position where the selection starts.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this selection.
- The index of this selection within the that created it.
-
-
-
- A multiple selection collection.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets the number of active selections.
-
- The number of selections in the .
-
-
-
- Gets a value indicating whether all selection ranges are empty.
-
- true if all selection ranges are empty; otherwise, false.
-
-
-
- Gets the at the specified zero-based index.
-
- The zero-based index of the to get.
- The at the specified index.
-
-
-
- Initializes a new instance of the class.
-
-
-
-
-
- Possible status codes returned by the property.
-
-
-
-
- No failures.
-
-
-
-
- Generic failure.
-
-
-
-
- Memory is exhausted.
-
-
-
-
- Regular expression is invalid.
-
-
-
-
- A style definition in a control.
-
-
-
-
- Default style index. This style is used to define properties that all styles receive when calling .
-
-
-
-
- Line number style index. This style is used for text in line number margins. The background color of this style also
- sets the background color for all margins that do not have any folding mask set.
-
-
-
-
- Call tip style index. Only font name, size, foreground color, background color, and character set attributes
- can be used when displaying a call tip.
-
-
-
-
- Indent guide style index. This style is used to specify the foreground and background colors of .
-
-
-
-
- Brace highlighting style index. This style is used on a brace character when set with the method
- or the indentation guide when used with the property.
-
-
-
-
- Bad brace style index. This style is used on an unmatched brace character when set with the method.
-
-
-
-
- Fold text tag style index. This is the style used for drawing text tags attached to folded text when
- and are used.
-
-
-
-
- Copies the current style to another style.
-
- The to which the current style should be copied.
-
-
-
- Gets or sets the background color of the style.
-
- A Color object representing the style background color. The default is White.
- Alpha color values are ignored.
-
-
-
- Gets or sets whether the style font is bold.
-
- true if bold; otherwise, false. The default is false.
- Setting this property affects the property.
-
-
-
- Gets or sets the casing used to display the styled text.
-
- One of the enum values. The default is .
- This does not affect how text is stored, only displayed.
-
-
-
- Gets or sets whether the remainder of the line is filled with the
- when this style is used on the last character of a line.
-
- true to fill the line; otherwise, false. The default is false.
-
-
-
- Gets or sets the style font name.
-
- The style font name. The default is Verdana.
- Scintilla caches fonts by name so font names and casing should be consistent.
-
-
-
- Gets or sets the foreground color of the style.
-
- A Color object representing the style foreground color. The default is Black.
- Alpha color values are ignored.
-
-
-
- Gets or sets whether hovering the mouse over the style text exhibits hyperlink behavior.
-
- true to use hyperlink behavior; otherwise, false. The default is false.
-
-
-
- Gets the zero-based style definition index.
-
- The style definition index within the .
-
-
-
- Gets or sets whether the style font is italic.
-
- true if italic; otherwise, false. The default is false.
-
-
-
- Gets or sets the size of the style font in points.
-
- The size of the style font as a whole number of points. The default is 8.
-
-
-
- Gets or sets the size of the style font in fractoinal points.
-
- The size of the style font in fractional number of points. The default is 8.
-
-
-
- Gets or sets whether the style is underlined.
-
- true if underlined; otherwise, false. The default is false.
-
-
-
- Gets or sets whether the style text is visible.
-
- true to display the style text; otherwise, false. The default is true.
-
-
-
- Gets or sets the style font weight.
-
- The font weight. The default is 400.
- Setting this property affects the property.
-
-
-
- Initializes a new instances of the class.
-
- The control that created this style.
- The index of this style within the that created it.
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Delimiter style index.
-
-
-
-
- Label style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Unclosed character EOL style index.
-
-
-
-
- Illegal identifier or keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Comment block style index.
-
-
-
-
- Number style index.
-
-
-
-
- Math instruction (keword list 1) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- CPU instruction (keyword list 0) style index.
-
-
-
-
- Register (keyword list 2) style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Directive (keyword list 3) string style index.
-
-
-
-
- Directive operand (keyword list 4) style index.
-
-
-
-
- Extended instruction (keyword list 5) style index.
-
-
-
-
- Comment directive style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Keyword (list 0) style index.
-
-
-
-
- Label style index.
-
-
-
-
- Hide (@ECHO OFF/ON) style index.
-
-
-
-
- External command (keyword list 1) style index.
-
-
-
-
- Identifier string style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Attributes style index
-
-
-
-
- Built in procedures function style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Compiler directive style index
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Depreciated style index
-
-
-
-
- Error style index
-
-
-
-
- Integer Constant style index.
-
-
-
-
- Keyword style index
-
-
-
-
- Label string style index.
-
-
-
-
- Real Constant style index.
-
-
-
-
- Real Constant style index.
-
-
-
-
- Runtime expressions style index
-
-
-
-
- Standard equates style index
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Structure data type style index.
-
-
-
-
- User Identifier style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Documentation comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- UUID style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Verbatim string style index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- Documentation comment line style index.
-
-
-
-
- Keyword style 2 index.
-
-
-
-
- Comment keyword style index.
-
-
-
-
- Comment keyword error style index.
-
-
-
-
- Global class style index.
-
-
-
-
- Raw string style index.
-
-
-
-
- Triple-quoted string style index.
-
-
-
-
- Hash-quoted string style index.
-
-
-
-
- Preprocessor comment style index.
-
-
-
-
- Preprocessor documentation comment style index.
-
-
-
-
- User-defined literal style index.
-
-
-
-
- Task marker style index.
-
-
-
-
- Escape sequence style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Tag style index.
-
-
-
-
- Class style index.
-
-
-
-
- Pseudo class style index.
-
-
-
-
- Unknown pseudo class style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unknown identifier style index.
-
-
-
-
- Value style index.
-
-
-
-
- Comment style index.
-
-
-
-
- ID style index.
-
-
-
-
- Important style index.
-
-
-
-
- Directive style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Identifier style 2 index.
-
-
-
-
- Attribute style index.
-
-
-
-
- Identifier style 3 index.
-
-
-
-
- Pseudo element style index.
-
-
-
-
- Extended identifier style index.
-
-
-
-
- Extended pseudo class style index.
-
-
-
-
- Extended pseudo element style index.
-
-
-
-
- Media style index.
-
-
-
-
- Variable style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Keyword (list 0) style index.
-
-
-
-
- Keyword 2 (list 1) style index.
-
-
-
-
- Keyword 3 (list 2) style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator 2 style index.
-
-
-
-
- Label string style index.
-
-
-
-
- Continuation style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Content style index.
-
-
-
-
- Tag style index.
-
-
-
-
- Unknown tag style index.
-
-
-
-
- Attribute style index.
-
-
-
-
- Unknown attribute style index.
-
-
-
-
- Number style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Other tag content (not elements or attributes) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Entity ($nnn;) name style index.
-
-
-
-
- End-tag style index.
-
-
-
-
- Start of XML declaration (<?xml>) style index.
-
-
-
-
- End of XML declaration (?>) style index.
-
-
-
-
- Script tag (<script>) style index.
-
-
-
-
- ASP-like script engine block (<%) style index.
-
-
-
-
- ASP-like language declaration (<%@) style index.
-
-
-
-
- CDATA section style index.
-
-
-
-
- Question mark style index.
-
-
-
-
- Value style index.
-
-
-
-
- Script engine comment (<%--) style index.
-
-
-
-
- Embedded JavaScript style constants for use with the lexer.
-
-
-
-
- Start style index (allows EOL filled background to not start on same line as SCRIPT tag).
-
-
-
-
- Default style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Doc comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Word style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Symbols style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Number style index.
-
-
-
-
- String style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Property name style index.
-
-
-
-
- Escape sequence style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Operator style index.
-
-
-
-
- URI style index.
-
-
-
-
- Compact Internationalized Resource Identifier (IRI) style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Linked data (LD) keyword style index.
-
-
-
-
- Error style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Functions and special operators (list 0) style index.
-
-
-
-
- Keywords (list 1) style index.
-
-
-
-
- Symbol style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Special character style index.
-
-
-
-
- Multi-line comment style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Documentation comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword list 1 (index 0) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Literal string style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keywords list 2 (index 1) style index.
-
-
-
-
- Keywords list 3 (index 2) style index.
-
-
-
-
- Keywords list 4 (index 3) style index.
-
-
-
-
- Keywords list 5 (index 4) style index.
-
-
-
-
- Keywords list 6 (index 5) style index.
-
-
-
-
- Keywords list 7 (index 6) style index.
-
-
-
-
- Keywords list 8 (index 7) style index.
-
-
-
-
- Label style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- String style index.
-
-
-
-
- Command style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double quote string style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Comment style '{' index.
-
-
-
-
- Comment style 2 "(*" index.
-
-
-
-
- Comment line style "//" index.
-
-
-
-
- Preprocessor style "{$" index.
-
-
-
-
- Preprocessor style 2 "(*$" index.
-
-
-
-
- Number style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Word (keyword set 0) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Assembly style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Error style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- POD style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Punctuation style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Scalar style index.
-
-
-
-
- Array style index.
-
-
-
-
- Hash style index.
-
-
-
-
- Symbol table style index.
-
-
-
-
- Variable indexer index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- RegSubst style index.
-
-
-
-
- Backtick (grave accent, backquote) style index.
-
-
-
-
- Data section style index.
-
-
-
-
- HereDoc delimiter style index.
-
-
-
-
- HereDoc single-quote style index.
-
-
-
-
- HereDoc double-quote style index.
-
-
-
-
- HereDoc backtick style index.
-
-
-
-
- Q quote style index.
-
-
-
-
- QQ quote style index.
-
-
-
-
- QZ quote style index.
-
-
-
-
- QR quote style index.
-
-
-
-
- QW quote style index.
-
-
-
-
- POD verbatim style index.
-
-
-
-
- Subroutine prototype style index.
-
-
-
-
- Format identifier style index.
-
-
-
-
- Format style index.
-
-
-
-
- String variable style index.
-
-
-
-
- XLAT style index.
-
-
-
-
- Regular expression variable style index.
-
-
-
-
- RegSubst variable style index.
-
-
-
-
- Backticks variable style index.
-
-
-
-
- HereDoc QQ quote variable style index.
-
-
-
-
- HereDoc QX quote variable style index.
-
-
-
-
- QQ quote variable style index.
-
-
-
-
- QX quote variable style index.
-
-
-
-
- QR quote variable style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Complex Variable style index.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Number style index.
-
-
-
-
- Variable style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Double-quoted string variable style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index
-
-
-
-
- String style index.
-
-
-
-
- Character style index.
-
-
-
-
- Number style index.
-
-
-
-
- Variable style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Keyword (set 0) style index.
-
-
-
-
- Cmdlet (set 1) style index.
-
-
-
-
- Alias (set 2) style index.
-
-
-
-
- Function (set 3) style index.
-
-
-
-
- User word (set 4) style index.
-
-
-
-
- Multi-line comment style index.
-
-
-
-
- Here string style index.
-
-
-
-
- Here character style index.
-
-
-
-
- Comment based help keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Section style index.
-
-
-
-
- Assignment operator index.
-
-
-
-
- Default (registry-only) value index.
-
-
-
-
- Key style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- String style index.
-
-
-
-
- Single-quote style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Triple single-quote style index.
-
-
-
-
- Triple double-quote style index.
-
-
-
-
- Class name style index.
-
-
-
-
- Function or method name style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword style 2 index.
-
-
-
-
- Decorator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Error style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- POD style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Class name style index.
-
-
-
-
- Definition style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Regular expression style index.
-
-
-
-
- Global style index.
-
-
-
-
- Symbol style index.
-
-
-
-
- Module name style index.
-
-
-
-
- Instance variable style index.
-
-
-
-
- Class variable style index.
-
-
-
-
- Backticks style index.
-
-
-
-
- Data section style index.
-
-
-
-
- HereDoc delimiter style index.
-
-
-
-
- HereDoc Q quote style index.
-
-
-
-
- HereDoc QQ quote style index.
-
-
-
-
- HereDoc QX quote style index.
-
-
-
-
- Q quote string style index.
-
-
-
-
- QQ quote string style index.
-
-
-
-
- QX quote string style index.
-
-
-
-
- QR quote string style index.
-
-
-
-
- QW quote style index.
-
-
-
-
- Demoted keyword style index.
-
-
-
-
- Standard-in style index.
-
-
-
-
- Standard-out style index.
-
-
-
-
- Standard-error style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Number style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Symbol style index.
-
-
-
-
- Binary style index.
-
-
-
-
- Bool style index.
-
-
-
-
- Self style index.
-
-
-
-
- Super style index.
-
-
-
-
- NIL style index.
-
-
-
-
- Global style index.
-
-
-
-
- Return style index.
-
-
-
-
- Special style index.
-
-
-
-
- KWS End style index.
-
-
-
-
- Assign style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Special selector style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Line comment style index.
-
-
-
-
- Documentation comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword list 1 (index 0) style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Keyword from the SQL*Plus list (index 3) style index.
-
-
-
-
- SQL*Plus prompt style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- SQL*Plus comment style index.
-
-
-
-
- Documentation line comment style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Documentation (Doxygen) keyword style index.
-
-
-
-
- Documentation (Doxygen) keyword error style index.
-
-
-
-
- Keyword user-list 1 (index 4) style index.
-
-
-
-
- Keyword user-list 2 (index 5) style index.
-
-
-
-
- Keyword user-list 3 (index 6) style index.
-
-
-
-
- Keyword user-list 4 (index 7) style index.
-
-
-
-
- Quoted identifier style index.
-
-
-
-
- Q operator style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default text style index.
-
-
-
-
- Line begin style index.
-
-
-
-
- Strong type 1 style index.
-
-
-
-
- Strong type 2 style index.
-
-
-
-
- Empasis type 1 style index.
-
-
-
-
- Empasis type 2 style index.
-
-
-
-
- Header type 1 style index.
-
-
-
-
- Header type 2 style index.
-
-
-
-
- Header type 3 style index.
-
-
-
-
- Header type 4 style index.
-
-
-
-
- Header type 5 style index.
-
-
-
-
- Header type 6 style index.
-
-
-
-
- Pre char style index.
-
-
-
-
- Unordered list style index.
-
-
-
-
- Ordered list style index.
-
-
-
-
- Blockquote style index.
-
-
-
-
- Strikeout style index.
-
-
-
-
- Horizontal rule style index.
-
-
-
-
- Link style index.
-
-
-
-
- Code type 1 style index.
-
-
-
-
- Code type 2 style index.
-
-
-
-
- Code block style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Keyword (set 0) style index.
-
-
-
-
- Base keyword (set 1) style index.
-
-
-
-
- Other keyword (set 2) style index.
-
-
-
-
- Number style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Infix style index.
-
-
-
-
- Unclosed infix EOL style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword style index.
-
-
-
-
- String style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Date style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- Keyword list 2 (index 1) style index.
-
-
-
-
- Keyword list 3 (index 2) style index.
-
-
-
-
- Keyword list 4 (index 3) style index.
-
-
-
-
- Constant style index.
-
-
-
-
- Inline assembler style index.
-
-
-
-
- Label style index.
-
-
-
-
- Error style index.
-
-
-
-
- Hexadecimal number style index.
-
-
-
-
- Binary number style index.
-
-
-
-
- Block comment style index.
-
-
-
-
- Documentation line style index.
-
-
-
-
- Documentation block style index.
-
-
-
-
- Documentation keyword style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Default (whitespace) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Comment line style index.
-
-
-
-
- Comment line bang (exclamation) style index.
-
-
-
-
- Number style index.
-
-
-
-
- Keyword (set 0) style index.
-
-
-
-
- String style index.
-
-
-
-
- Keyword (set 1) style index.
-
-
-
-
- Keyword (set 2) style index.
-
-
-
-
- Preprocessor style index.
-
-
-
-
- Operator style index.
-
-
-
-
- Identifier style index.
-
-
-
-
- Unclosed string EOL style index.
-
-
-
-
- User word (set 3) style index.
-
-
-
-
- Comment word (set 4) style index.
-
-
-
-
- Input style index.
-
-
-
-
- Output style index.
-
-
-
-
- In-out style index.
-
-
-
-
- Port connect style index.
-
-
-
-
- Style constants for use with the lexer.
-
-
-
-
- Content style index.
-
-
-
-
- Tag style index.
-
-
-
-
- Unknown tag style index.
-
-
-
-
- Attribute style index.
-
-
-
-
- Unknown attribute style index.
-
-
-
-
- Number style index.
-
-
-
-
- Double-quoted string style index.
-
-
-
-
- Single-quoted string style index.
-
-
-
-
- Other tag content (not elements or attributes) style index.
-
-
-
-
- Comment style index.
-
-
-
-
- Entity ($nnn;) name style index.
-
-
-
-
- End-tag style index.
-
-
-
-
- Start of XML declaration (<?xml>) style index.
-
-
-
-
- End of XML declaration (?>) style index.
-
-
-
-
- Script tag (<script>) style index.
-
-
-
-
- ASP-like script engine block (<%) style index.
-
-
-
-
- ASP-like language declaration (<%@) style index.
-
-
-
-
- CDATA section style index.
-
-
-
-
- Question mark style index.
-
-
-
-
- Value style index.
-
-
-
-
- Script engine comment (<%--) style index.
-
-
-
-
- The possible casing styles of a style.
-
-
-
-
- Display the text normally.
-
-
-
-
- Display the text in upper case.
-
-
-
-
- Display the text in lower case.
-
-
-
-
- Display the text in camel case.
-
-
-
-
- An immutable collection of style definitions in a control.
-
-
-
-
- Provides an enumerator that iterates through the collection.
-
- An object that contains all objects within the .
-
-
-
- Gets the number of styles.
-
- The number of styles in the .
-
-
-
- Gets a object at the specified index.
-
- The style definition index.
- An object representing the style definition at the specified .
- Styles 32 through 39 have special significance.
-
-
-
- Initializes a new instance of the class.
-
- The control that created this collection.
-
-
-
- Provides data for the event.
-
-
-
-
- Gets the document position where styling should end. The method
- indicates the last position styled correctly and the starting place for where styling should begin.
-
- The zero-based position within the document to perform styling up to.
-
-
-
- Initializes a new instance of the class.
-
- The control that generated this event.
- The zero-based byte position within the document to stop styling.
-
-
-
- Specifies how tab characters are drawn when whitespace is visible.
-
-
-
-
- The default mode of an arrow stretching until the tabstop.
-
-
-
-
- A horizontal line stretching until the tabstop.
-
-
-
-
- The rendering technology used in a control.
-
-
-
-
- Renders text using GDI. This is the default.
-
-
-
-
- Renders text using Direct2D/DirectWrite. Since Direct2D buffers drawing,
- Scintilla's buffering can be turned off with .
-
-
-
-
- Specifies the change that triggered a event.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Contents, styling or markers have been changed.
-
-
-
-
- Selection has been changed.
-
-
-
-
- Scrolled vertically.
-
-
-
-
- Scrolled horizontally.
-
-
-
-
- Provides data for the event.
-
-
-
-
- The UI update that occurred.
-
- A bitwise combination of values specifying the UI update that occurred.
-
-
-
- Initializes a new instance of the class.
-
- A bitwise combination of values specifying the reason to update the UI.
-
-
-
- Enables virtual space for rectangular selections or in other circumstances or in both.
-
- This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
-
-
-
- Virtual space is not enabled. This is the default.
-
-
-
-
- Virtual space is enabled for rectangular selections.
-
-
-
-
- Virtual space is user accessible.
-
-
-
-
- Prevents left arrow movement and selection from wrapping to the previous line.
-
-
-
-
- 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.
-
-
-
-
- Whitespace used for indentation is displayed as dots and arrows.
-
-
-
-
- Indenting behavior of wrapped sublines.
-
-
-
-
- Wrapped sublines aligned to left of window plus the amount set by .
- This is the default.
-
-
-
-
- Wrapped sublines are aligned to first subline indent.
-
-
-
-
- Wrapped sublines are aligned to first subline indent plus one more level of indentation.
-
-
-
-
- The line wrapping strategy.
-
-
-
-
- Line wrapping is disabled. This is the default.
-
-
-
-
- Lines are wrapped on word or style boundaries.
-
-
-
-
- Lines are wrapped between any character.
-
-
-
-
- Lines are wrapped on whitespace.
-
-
-
-
- Additional location options for line wrapping visual indicators.
-
-
-
-
- Wrap indicators are drawn near the border. This is the default.
-
-
-
-
- Wrap indicators are drawn at the end of sublines near the text.
-
-
-
-
- Wrap indicators are drawn at the beginning of sublines near the text.
-
-
-
-
- The visual indicator used on a wrapped line.
-
-
-
-
- No visual indicator is displayed. This the default.
-
-
-
-
- A visual indicator is displayed at th end of a wrapped subline.
-
-
-
-
- A visual indicator is displayed at the beginning of a subline.
- The subline is indented by 1 pixel to make room for the display.
-
-
-
-
- A visual indicator is displayed in the number margin.
-
-
-
-
- Flags enumeration type converter.
-
-
-
-
- This class represents an enumeration field in the property grid.
-
-
-
-
- Stores the context which the enumeration field descriptor was created in.
-
-
-
-
- Creates an instance of the enumeration field descriptor class.
-
- The type of the enumeration.
- The name of the enumeration field.
- The current context.
-
-
-
- Retrieves the value of the enumeration field.
-
-
- The instance of the enumeration type which to retrieve the field value for.
-
-
- True if the enumeration field is included to the enumeration;
- otherwise, False.
-
-
-
-
- Sets the value of the enumeration field.
-
-
- The instance of the enumeration type which to set the field value to.
-
-
- True if the enumeration field should included to the enumeration;
- otherwise, False.
-
-
-
-
- Retrieves a value indicating whether the enumeration
- field is set to a non-default value.
-
-
-
-
- Resets the enumeration field to its default value.
-
-
-
-
- Retrieves a value indicating whether the enumeration
- field can be reset to the default value.
-
-
-
-
- Retrieves the enumerations field�s default value.
-
-
-
-
- Creates an instance of the FlagsEnumConverter class.
-
- The type of the enumeration.
-
-
-
- Retrieves the property descriptors for the enumeration fields.
- These property descriptors will be used by the property grid
- to show separate enumeration fields.
-
- The current context.
- A value of an enumeration type.
-
-
-
diff --git a/ScintillaNET/ScintillaNET.csproj b/ScintillaNET/ScintillaNET.csproj
deleted file mode 100644
index 4694398..0000000
--- a/ScintillaNET/ScintillaNET.csproj
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
- {2FB155AE-B1BA-44AB-A670-794DE6635AAA}
- netcoreapp3.1;net5.0-windows;net40
- ScintillaNET
- Jacob Slusser, VPKSoft, cyber960
- ScintillaNET
- en-US
- Source Editing Component
- Copyright (c) 2018, Jacob Slusser. All rights reserved. VPKSoft, cyber960 2021.
- 3.8.7
- 3.8.7.0
- 3.8.7.0
- true
- bin\$(Configuration)\ScintillaNET.xml
- true
- bin\$(Configuration)\
-
-
- 8.0
-
-
- SCINTILLA4
-
-
- AnyCPU
-
-
- AnyCPU
-
-
- unofficial.ScintillaNET
- MIT
- https://github.com/VPKSoft/ScintillaNET
- https://github.com/VPKSoft/ScintillaNET
- vpksoft_logo.png
- git
- ScintillaNET Scintilla Editor
- Please visit https://github.com/VPKSoft/ScintillaNET/releases to view the release notes.
- true
- true
- true
- scintilla.net.pfx
-
-
- AnyCPU
-
-
- AnyCPU
-
-
-
-
-
-
-
-
- True
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Component
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ScintillaNET/StrongNamedAssembly.ps1 b/ScintillaNET/StrongNamedAssembly.ps1
deleted file mode 100644
index 5bc5cdd..0000000
--- a/ScintillaNET/StrongNamedAssembly.ps1
+++ /dev/null
@@ -1,56 +0,0 @@
-<#
-MIT License
-
-Copyright (c) 2021 Petteri Kautonen
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-#>
-
-Write-Output "Init strong-named assembly signing..."
-
-$output_file = "Scintilla.NET\CryptEnvVar.exe"
-$download_url = "https://www.vpksoft.net/toolset/CryptEnvVar.exe"
-
-Write-Output "Download file: $download_url ..."
-(New-Object System.Net.WebClient).DownloadFile($download_url, $output_file)
-Write-Output "Download done."
-
-$output_file = "Scintilla.NET\SnInstallPfx.exe"
-$download_url = "https://www.vpksoft.net/toolset/SnInstallPfx.exe"
-
-Write-Output "Download file: $download_url ..."
-(New-Object System.Net.WebClient).DownloadFile($download_url, $output_file)
-Write-Output "Download done."
-
-# application parameters..
-$application = "Scintilla.NET"
-$environment_cryptor = "CryptEnvVar.exe"
-
-$arguments = @("-s", $Env:SK_KEY, "-e", "SK_1;SK_2", "-f", "Scintilla.NET\scintilla.net.pfx", "-w", "80", "-i", "-v")
-& (-join($application, "\", $environment_cryptor)) $arguments
-
-Write-Output "Import strong-named signing certificate..."
-
-$certificate_import_tool = "SnInstallPfx.exe"
-
-# register the certificate to the CI image.. (C::https://github.com/honzajscz/SnInstallPfx)
-$certpw=$Env:QQ
-$arguments = @("Scintilla.NET\scintilla.net.pfx", $certpw)
-& (-join($application, "\", $certificate_import_tool)) $arguments
-Write-Output "Import done."
diff --git a/ScintillaNET/scintilla.net.snk b/ScintillaNET/scintilla.net.snk
deleted file mode 100644
index 75616fe..0000000
Binary files a/ScintillaNET/scintilla.net.snk and /dev/null differ
diff --git a/Shared/x64/SciLexer.dll.gz b/Shared/x64/SciLexer.dll.gz
deleted file mode 100644
index 1dcb641..0000000
Binary files a/Shared/x64/SciLexer.dll.gz and /dev/null differ
diff --git a/Shared/x64/Scintilla.zip b/Shared/x64/Scintilla.zip
deleted file mode 100644
index 3a33e62..0000000
Binary files a/Shared/x64/Scintilla.zip and /dev/null differ
diff --git a/Shared/x64/version.txt b/Shared/x64/version.txt
deleted file mode 100644
index 8e9a9f7..0000000
--- a/Shared/x64/version.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Scintilla: 5.3.2
-Lexilla: 5.2.1
\ No newline at end of file
diff --git a/Shared/x86/SciLexer.dll.gz b/Shared/x86/SciLexer.dll.gz
deleted file mode 100644
index d72e679..0000000
Binary files a/Shared/x86/SciLexer.dll.gz and /dev/null differ
diff --git a/Shared/x86/Scintilla.zip b/Shared/x86/Scintilla.zip
deleted file mode 100644
index 81ba164..0000000
Binary files a/Shared/x86/Scintilla.zip and /dev/null differ
diff --git a/Shared/x86/version.txt b/Shared/x86/version.txt
deleted file mode 100644
index 8e9a9f7..0000000
--- a/Shared/x86/version.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Scintilla: 5.3.2
-Lexilla: 5.2.1
\ No newline at end of file
diff --git a/native/x64/Lexilla.dll b/native/x64/Lexilla.dll
deleted file mode 100644
index 5736725..0000000
Binary files a/native/x64/Lexilla.dll and /dev/null differ
diff --git a/native/x64/versions.txt b/native/x64/versions.txt
deleted file mode 100644
index d209f4d..0000000
--- a/native/x64/versions.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Scintilla 5.4.3
-Lexilla 5.3.1
diff --git a/native/x86/Lexilla.dll b/native/x86/Lexilla.dll
deleted file mode 100644
index 919ef5b..0000000
Binary files a/native/x86/Lexilla.dll and /dev/null differ
diff --git a/native/x86/Scintilla.dll b/native/x86/Scintilla.dll
deleted file mode 100644
index 324a721..0000000
Binary files a/native/x86/Scintilla.dll and /dev/null differ
diff --git a/native/x86/versions.txt b/native/x86/versions.txt
deleted file mode 100644
index d209f4d..0000000
--- a/native/x86/versions.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Scintilla 5.4.3
-Lexilla 5.3.1