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

Commit 9e377b1

Browse files
committed
Merge remote-tracking branch 'origin/master' into master
2 parents ed64ecd + f806f47 commit 9e377b1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

UI/Components/EditorElement.xaml.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ private async void TextArea_MouseDown(object sender, MouseButtonEventArgs e)
237237
//TODO: Match definition for all the sm directories
238238
var config = Program.Configs[Program.SelectedConfig].SMDirectories.First();
239239
var file = Path.GetFullPath(Path.Combine(config, "include", sm.File)) + ".inc";
240+
await Task.Delay(50);
240241
var result = Program.MainWindow.TryLoadSourceFile(file,
241242
true, false, true);
242243
if (!result)
@@ -249,12 +250,9 @@ private async void TextArea_MouseDown(object sender, MouseButtonEventArgs e)
249250
Debug.Assert(newEditor != null);
250251
newEditor.editor.TextArea.Caret.Offset = sm.Index;
251252
newEditor.editor.TextArea.Caret.BringCaretToView();
252-
await Task.Delay(100);
253253
newEditor.editor.TextArea.Selection =
254254
Selection.Create(newEditor.editor.TextArea, sm.Index, sm.Index + sm.Length);
255255
}
256-
257-
258256
}
259257

260258
private SMBaseDefinition MatchDefinition(SMDefinition smDef, string word, MouseButtonEventArgs e, bool currentFile = false)

UI/Windows/AboutWindow.xaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- JOMENVEST (Swedish translation)" />
6969
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- Grey83 (Russian translation)" />
7070
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- Ghost Rideaux (Portuguese translation)" />
71+
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- ratawar (Spanish translation)" />
7172
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- Trostal (Korean translation)" />
7273
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- Johnny2525 (Korean translation)" />
7374
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="- Mithat Güner (Turkish translation)" />

0 commit comments

Comments
 (0)