[X2Go-Commits] [x2gohtmlclient] 05/12: src/x2gokdrivehtmlclient.js: Don't confuse syntax highlighters by putting unterminated quotes into comments.

git-admin at x2go.org git-admin at x2go.org
Wed Jun 23 18:17:28 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gohtmlclient.

commit bb29bcdc5227effb12f4f3be012b3cf32f795061
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jun 23 17:34:57 2021 +0200

    src/x2gokdrivehtmlclient.js: Don't confuse syntax highlighters by putting unterminated quotes into comments.
---
 src/x2gokdrivehtmlclient.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/x2gokdrivehtmlclient.js b/src/x2gokdrivehtmlclient.js
index 8641ee6..9cfd1c8 100644
--- a/src/x2gokdrivehtmlclient.js
+++ b/src/x2gokdrivehtmlclient.js
@@ -508,7 +508,7 @@ X2GoKDriveHTMLClient
         {
             //1st row
             case 192:
-                return 49; //`
+                return 49; //` (putting a second accent grave here, so that MCEdit does not get confused with syntax highlighting) `
             case   49:
                 return 10; //1
             case 50:
@@ -590,7 +590,7 @@ X2GoKDriveHTMLClient
             case 186 :
                 return  47; //;
             case 222 :
-                return  48; //'
+                return  48; //' (putting a second apostrophe here, so that MCEdit does not get confused with syntax highlighting) '
             case 220 :
                 return  51; //\
 

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gohtmlclient.git


More information about the x2go-commits mailing list