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

Commit 91b92d9

Browse files
committed
fixed IDE crashing when detaching editor
1 parent 88828bb commit 91b92d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UI/Components/EditorElement.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,7 @@ private void ParseIncludes(object sender, EventArgs e)
736736

737737
var caret = -1;
738738

739-
if (ee == null) return;
739+
if (ee == null || ce == null) return;
740740

741741
var definitions = new SMDefinition[ee.Length];
742742
List<SMFunction> currentFunctions = null;

0 commit comments

Comments
 (0)