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

Fix CaretLineVisible default value #115

Merged
merged 1 commit into from
Apr 19, 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 @@ -1427,7 +1427,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 1430 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 1430 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 @@ -4092,7 +4092,7 @@
/// Gets or sets whether the caret line is visible (highlighted).
/// </summary>
/// <returns>true if the caret line is visible; otherwise, false. The default is false.</returns>
[DefaultValue(false)]
[DefaultValue(true)]
[Category("Caret")]
[Description("Determines whether to highlight the current caret line.")]
public bool CaretLineVisible
Expand Down
Loading