Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow container lexer to be selected when setting LexerName as empty … #109

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Shared/Scintilla.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@

/// <summary>
/// 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

Check warning on line 1407 in Shared/Scintilla.cs

View workflow job for this annotation

GitHub Actions / build (Release)

XML comment has badly formed XML -- 'Reference to undefined entity 'redirectedfrom'.'

Check warning on line 1407 in Shared/Scintilla.cs

View workflow job for this annotation

GitHub Actions / build (Debug)

XML comment has badly formed XML -- 'Reference to undefined entity 'redirectedfrom'.'

Check warning on line 1407 in Shared/Scintilla.cs

View workflow job for this annotation

GitHub Actions / build (Debug)

XML comment has badly formed XML -- 'Reference to undefined entity 'redirectedfrom'.'

Check warning on line 1407 in Shared/Scintilla.cs

View workflow job for this annotation

GitHub Actions / build (Release)

XML comment has badly formed XML -- 'Reference to undefined entity 'redirectedfrom'.'
/// "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.
/// </summary>
Expand Down Expand Up @@ -4845,7 +4845,7 @@

set
{
if (string.IsNullOrWhiteSpace(value))
if (string.IsNullOrWhiteSpace(value) && value != string.Empty)
{
lexerName = value;

Expand Down
Loading