Skip to content

Commit

Permalink
Uos fix docs (#127)
Browse files Browse the repository at this point in the history
* - fix UOS highlight

* - version bump
  • Loading branch information
cesare-montresor authored Jan 29, 2024
1 parent eb78600 commit 9f72f99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Razor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:

[assembly: AssemblyVersion("0.8.2.116")]
[assembly: AssemblyVersion("0.8.2.117")]

//
// In order to sign your assembly you must specify a key to use. Refer to the
Expand Down
2 changes: 1 addition & 1 deletion Razor/RazorEnhanced/UI/EnhancedScriptEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ private void UpdateTitle()
public void UpdateSyntaxHighlight()
{
// keywords
var uosEngine = m_Script.ScriptEngine.uosEngine;
var uosEngine = new UOSteamEngine();
if (uosEngine == null) return;

List<String> keywords = uosEngine.AllKeywords();
Expand Down
1 change: 1 addition & 0 deletions Razor/RazorEnhanced/UOSteamEngine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ public UOSteamEngine()

string configFile = System.IO.Path.Combine(Assistant.Engine.RootPath, "Config", "UOS.config.json");
UpdateNamespace();
InitInterpreter();
}

public void SendOutput(string text)
Expand Down

0 comments on commit 9f72f99

Please sign in to comment.