Skip to content
Open
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net9.0-windows</TargetFramework>
<TargetFramework>net10.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>

Expand Down
8 changes: 8 additions & 0 deletions Project/GlobalSuppressions.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.

using System.Diagnostics.CodeAnalysis;

[assembly: SuppressMessage("Style", "IDE0008:Use explicit type", Justification = "<Pending>")]
2 changes: 1 addition & 1 deletion Project/ICSharpCode.TextEditor.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net9.0-windows</TargetFramework>
<TargetFramework>net10.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<DeterministicSourcePaths Condition="'$(EnableSourceLink)' == ''">false</DeterministicSourcePaths>
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
Expand Down
6 changes: 3 additions & 3 deletions Project/Src/Gui/CompletionWindow/AbstractCompletionWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ protected void TextEditorLostFocus(object sender, EventArgs e)
Close();
}

protected override void OnClosed(EventArgs e)
protected override void OnFormClosed(FormClosedEventArgs e)
{
base.OnClosed(e);
base.OnFormClosed(e);

// take out the inserted methods
parentForm.LocationChanged -= ParentFormLocationChanged;
Expand Down Expand Up @@ -204,4 +204,4 @@ protected void ControlMouseMove(object sender, MouseEventArgs e)
control.ActiveTextAreaControl.TextArea.ShowHiddenCursor(forceShow: false);
}
}
}
}
2 changes: 1 addition & 1 deletion Test/ICSharpCode.TextEditor.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<OutputPath>..\..\..\..\bin\UnitTests</OutputPath>
<TargetFramework>net9.0-windows</TargetFramework>
<TargetFramework>net10.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>

Expand Down