Skip to content

Commit

Permalink
Merge pull request #31 from VPKSoft/30-minor-bug-in-set-scintillalexe…
Browse files Browse the repository at this point in the history
…rname

Fix lexer name exception message.
  • Loading branch information
Petteri Kautonen authored Jan 12, 2023
2 parents 35ccd18 + 4bc193f commit 73fd0cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Scintilla.NET/Scintilla.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<NeutralLanguage>en-US</NeutralLanguage>
<Description>Source Editing Component based on Scintilla 5 series.</Description>
<Copyright>Copyright (c) 2018, Jacob Slusser. All rights reserved. VPKSoft, cyber960 2022.</Copyright>
<Version>5.3.2.0</Version>
<Version>5.3.2.1</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DocumentationFile>bin\$(Configuration)\ScintillaNET.xml</DocumentationFile>
<UseWindowsForms>true</UseWindowsForms>
Expand Down
2 changes: 1 addition & 1 deletion Shared/Scintilla.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4804,7 +4804,7 @@ public string LexerName
#if SCINTILLA5
if (!SetLexerByName(value))
{
throw new InvalidOperationException(@$"Lexer with the name of '{lexerName}' was not found.");
throw new InvalidOperationException(@$"Lexer with the name of '{value}' was not found.");
}
#elif SCINTILLA4
if (NativeMethods.NameConstantMap.ContainsValue(value))
Expand Down

0 comments on commit 73fd0cf

Please sign in to comment.