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

Commit ed64ecd

Browse files
committed
Version 1.6.2.0
Fix performance (#42) Fix highlighting on CLICK + SHIFT (#44)
1 parent 61e2905 commit ed64ecd

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

App/AssemblyInfo1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
// Build Number
3131
// Revision
3232
//
33-
[assembly: AssemblyVersion("1.6.1.1")]
33+
[assembly: AssemblyVersion("1.6.2.0")]

UI/Components/EditorElement.xaml.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,14 @@ private async void TextArea_MouseDown(object sender, MouseButtonEventArgs e)
234234
sm = MatchDefinition(Program.Configs[Program.SelectedConfig].GetSMDef(), word, e);
235235
if (sm != null)
236236
{
237+
//TODO: Match definition for all the sm directories
237238
var config = Program.Configs[Program.SelectedConfig].SMDirectories.First();
238239
var file = Path.GetFullPath(Path.Combine(config, "include", sm.File)) + ".inc";
239240
var result = Program.MainWindow.TryLoadSourceFile(file,
240241
true, false, true);
241242
if (!result)
242243
{
243-
Debug.Print("File {file} not found!");
244+
Debug.Print($"File {file} not found!");
244245
return;
245246
}
246247

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

701702
private SMDefinition currentSmDef;
702703

703-
public SMDefinition CurrentSmDef => currentSmDef;
704-
705704
private void ParseIncludes(object sender, EventArgs e)
706705
{
707706
Dispatcher.Invoke(() =>

0 commit comments

Comments
 (0)