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

Commit 9da2ea9

Browse files
committed
Update README and Lexer namespaces
1 parent 1a5843f commit 9da2ea9

File tree

13 files changed

+12
-14
lines changed

13 files changed

+12
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,4 +133,4 @@ Written by Sinai.
133133
This project uses code from:
134134
* (GPL) [ManlyMarco](https://github.com/ManlyMarco)'s [Runtime Unity Editor](https://github.com/ManlyMarco/RuntimeUnityEditor), which I used for some aspects of the C# Console and Auto-Complete features. The snippets I used are indicated with a comment.
135135
* (MIT) [denikson](https://github.com/denikson) (aka Horse)'s [mcs-unity](https://github.com/denikson/mcs-unity). I commented out the `SkipVisibilityExt` constructor since it was causing an exception with the Hook it attempted in IL2CPP.
136-
* (Apache) [InGameCodeEditor](https://assetstore.unity.com/packages/tools/gui/ingame-code-editor-144254) was used as the base for the syntax highlighting for UnityExplorer's C# console, although it has been heavily rewritten and optimized. Used classes are in the `UnityExplorer.CSConsole.Lexer` namespace.
136+
* (Apache) [InGameCodeEditor](https://assetstore.unity.com/packages/tools/gui/ingame-code-editor-144254) was used as the base for the syntax highlighting for UnityExplorer's C# console, although it has been heavily rewritten and optimized. Used classes are in the `UnityExplorer.UI.Main.CSConsole.Lexer` namespace.

src/Core/CSharp/ScriptInteraction.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using UnityExplorer.UI;
44
using UnityExplorer.UI.Main;
55
using UnityExplorer.Core.Inspectors;
6+
using UnityExplorer.UI.Main.CSConsole;
67

78
namespace UnityExplorer.Core.CSharp
89
{

src/Core/CSharp/Suggestion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using UnityEngine;
66
using UnityExplorer.Core;
77
using UnityExplorer.Core.Unity;
8-
using UnityExplorer.UI.CSConsole;
8+
using UnityExplorer.UI.Main.CSConsole;
99

1010
namespace UnityExplorer.Core.CSharp
1111
{

src/UI/Main/CSConsole/AutoCompleter.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using UnityExplorer.Core.CSharp;
88
using UnityExplorer.Core.Unity;
99
using UnityExplorer.UI;
10-
using UnityExplorer.UI.CSConsole;
1110
using UnityExplorer.UI.Main;
1211

1312
namespace UnityExplorer.UI.Main.CSConsole

src/UI/Main/CSConsole/CSLexerHighlighter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
using System.Collections.Generic;
22
using System.Text;
33
using UnityEngine;
4-
using UnityExplorer.UI.CSConsole.Lexer;
4+
using UnityExplorer.UI.Main.CSConsole.Lexer;
55

6-
namespace UnityExplorer.UI.CSConsole
6+
namespace UnityExplorer.UI.Main.CSConsole
77
{
88
public struct LexerMatchInfo
99
{

src/UI/Main/CSConsole/CSharpConsole.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Reflection;
55
using System.Text;
66
using UnityExplorer.Core.CSharp;
7-
using UnityExplorer.UI.CSConsole;
87
using System.Linq;
98
using UnityExplorer.Core.Input;
109
using UnityEngine;
@@ -14,7 +13,7 @@
1413
using UnityExplorer.UI.Main.CSConsole;
1514
using UnityExplorer.Core;
1615

17-
namespace UnityExplorer.UI.Main
16+
namespace UnityExplorer.UI.Main.CSConsole
1817
{
1918
public class CSharpConsole : BaseMenuPage
2019
{

src/UI/Main/CSConsole/Lexer/CommentMatch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using UnityEngine;
33

4-
namespace UnityExplorer.UI.CSConsole.Lexer
4+
namespace UnityExplorer.UI.Main.CSConsole.Lexer
55
{
66
public class CommentMatch : Matcher
77
{

src/UI/Main/CSConsole/Lexer/KeywordMatch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.Generic;
22
using UnityEngine;
33

4-
namespace UnityExplorer.UI.CSConsole.Lexer
4+
namespace UnityExplorer.UI.Main.CSConsole.Lexer
55
{
66
// I use two different KeywordMatch instances (valid and invalid).
77
// This class just contains common implementations.

src/UI/Main/CSConsole/Lexer/Matcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Linq;
44
using UnityExplorer.Core.Unity;
55

6-
namespace UnityExplorer.UI.CSConsole.Lexer
6+
namespace UnityExplorer.UI.Main.CSConsole.Lexer
77
{
88
public abstract class Matcher
99
{

src/UI/Main/CSConsole/Lexer/NumberMatch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using UnityEngine;
22

3-
namespace UnityExplorer.UI.CSConsole.Lexer
3+
namespace UnityExplorer.UI.Main.CSConsole.Lexer
44
{
55
public class NumberMatch : Matcher
66
{

0 commit comments

Comments
 (0)