From 8b2c8b723ca12cff9cefb6e1e9b8f1b1b86cf0c8 Mon Sep 17 00:00:00 2001 From: djbadders <34887832+djbadders@users.noreply.github.com> Date: Sun, 10 May 2020 19:41:08 +0100 Subject: [PATCH] Updated text editor to syntax highlight --- Monitor/Pages/PresetFiles.cshtml | 27 ++++++++-- Monitor/Pages/PresetFiles.cshtml.cs | 7 +-- Monitor/Pages/_get/PresetFile.cshtml | 2 +- .../wwwroot/assets/plugins/ace/mode-java.js | 9 ---- .../wwwroot/assets/plugins/ace/mode-yaml.js | 9 ++++ .../assets/plugins/ace/theme-ptmagic.js | 52 +++++++++++++++---- 6 files changed, 77 insertions(+), 29 deletions(-) delete mode 100644 Monitor/wwwroot/assets/plugins/ace/mode-java.js create mode 100644 Monitor/wwwroot/assets/plugins/ace/mode-yaml.js diff --git a/Monitor/Pages/PresetFiles.cshtml b/Monitor/Pages/PresetFiles.cshtml index 37e7f02..949120c 100644 --- a/Monitor/Pages/PresetFiles.cshtml +++ b/Monitor/Pages/PresetFiles.cshtml @@ -8,8 +8,20 @@