Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Commit

Permalink
Version 1.6.2.0
Browse files Browse the repository at this point in the history
Fix performance (#42)
Fix highlighting on CLICK + SHIFT (#44)
  • Loading branch information
Hexer10 committed Oct 30, 2020
1 parent 61e2905 commit ed64ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion App/AssemblyInfo1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.6.1.1")]
[assembly: AssemblyVersion("1.6.2.0")]
5 changes: 2 additions & 3 deletions UI/Components/EditorElement.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,13 +234,14 @@ private async void TextArea_MouseDown(object sender, MouseButtonEventArgs e)
sm = MatchDefinition(Program.Configs[Program.SelectedConfig].GetSMDef(), word, e);
if (sm != null)
{
//TODO: Match definition for all the sm directories
var config = Program.Configs[Program.SelectedConfig].SMDirectories.First();
var file = Path.GetFullPath(Path.Combine(config, "include", sm.File)) + ".inc";
var result = Program.MainWindow.TryLoadSourceFile(file,
true, false, true);
if (!result)
{
Debug.Print("File {file} not found!");
Debug.Print($"File {file} not found!");
return;
}

Expand Down Expand Up @@ -700,8 +701,6 @@ private void Caret_PositionChanged(object sender, EventArgs e)

private SMDefinition currentSmDef;

public SMDefinition CurrentSmDef => currentSmDef;

private void ParseIncludes(object sender, EventArgs e)
{
Dispatcher.Invoke(() =>
Expand Down

0 comments on commit ed64ecd

Please sign in to comment.