Skip to content

Commit

Permalink
- fix for #29
Browse files Browse the repository at this point in the history
- updated .net versions
- updated some obsolete function calls
  • Loading branch information
desjarlais committed May 16, 2024
1 parent ac8cc1f commit dd2c3ff
Show file tree
Hide file tree
Showing 42 changed files with 572 additions and 420 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- name: Install .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 6.0.x

# Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
- name: Setup MSBuild.exe
Expand Down
116 changes: 63 additions & 53 deletions TestLexer/FormMain.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions TestLexer/FormMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
using System.Drawing;
using System.IO;
using System.Windows.Forms;
using VPKSoft.ScintillaLexers;
using VPKSoft.ScintillaLexers.CreateSpecificLexer;
using VPKSoft.ScintillaLexers.ScintillaNotepadPlusPlus;
using static VPKSoft.ScintillaLexers.LexerEnumerations;
using ScintillaLexers;
using ScintillaLexers.CreateSpecificLexer;
using ScintillaLexers.ScintillaNotepadPlusPlus;

namespace TestLexer;

Expand All @@ -49,7 +48,7 @@ private void mnuOpen_Click(object sender, EventArgs e)
{
if (odFile.ShowDialog() == DialogResult.OK)
{
ScintillaLexers.CreateLexer(scintilla, odFile.FileName);
ScintillaLexer.CreateLexer(scintilla, odFile.FileName);
scintilla.Text = File.ReadAllText(odFile.FileName);
}
}
Expand Down
Loading

0 comments on commit dd2c3ff

Please sign in to comment.