diff --git a/autotests/folding/test.js.fold b/autotests/folding/test.js.fold index e21045a..5e2a92e 100644 --- a/autotests/folding/test.js.fold +++ b/autotests/folding/test.js.fold @@ -1,23 +1,26 @@ #! shebang #! no-shebang /* comment */ function fun() { var boo = { 'key': [ 1, 2.0, 3.0e1, 004, 0x5 ] }; } class MyClass; // reserved keywords // Member objects: text after "." object.property instanceof Number; iden1.iden2 . iden3.class class; var escapes = "aa\b\n\0a\"a\x12a\32a\u{123}a\$\%\ \#\y\aaa\ aaa"; var octal = 0o124; var bin = 0b1010; ლಠ益ಠლ.ñá = 42; δ /No-RegExp/ + +/* Modelines: finish comment in incomplete Modeline: + * kate: replace-tabs */ normal text diff --git a/autotests/html/test.js.html b/autotests/html/test.js.html index fb47bde..b87434c 100644 --- a/autotests/html/test.js.html +++ b/autotests/html/test.js.html @@ -1,30 +1,33 @@ test.js
 #! shebang
 #! no-shebang
 
 /* comment */
 
 function fun()
 {
     var boo = { 'key': [ 1, 2.0, 3.0e1, 004, 0x5 ] };
 }
 
 class MyClass; // reserved keywords
 
 // Member objects: text after "."
 object.property instanceof Number;
 iden1.iden2  . iden3.class class;
 
 var escapes = "aa\b\n\0a\"a\x12a\32a\u{123}a\$\%\ \#\y\aaa\
 aaa";
 var octal = 0o124;
 var bin = 0b1010;
 
 ლಠ益ಠლ.ñá = 42;
 δ /No-RegExp/
+
+/* Modelines: finish comment in incomplete Modeline:
+ * kate: replace-tabs */ normal text
 
diff --git a/autotests/input/test.js b/autotests/input/test.js index 478bd6e..f6ec2a9 100644 --- a/autotests/input/test.js +++ b/autotests/input/test.js @@ -1,23 +1,26 @@ #! shebang #! no-shebang /* comment */ function fun() { var boo = { 'key': [ 1, 2.0, 3.0e1, 004, 0x5 ] }; } class MyClass; // reserved keywords // Member objects: text after "." object.property instanceof Number; iden1.iden2 . iden3.class class; var escapes = "aa\b\n\0a\"a\x12a\32a\u{123}a\$\%\ \#\y\aaa\ aaa"; var octal = 0o124; var bin = 0b1010; ლಠ益ಠლ.ñá = 42; δ /No-RegExp/ + +/* Modelines: finish comment in incomplete Modeline: + * kate: replace-tabs */ normal text diff --git a/autotests/reference/test.js.ref b/autotests/reference/test.js.ref index a76aea1..9b6a2f1 100644 --- a/autotests/reference/test.js.ref +++ b/autotests/reference/test.js.ref @@ -1,23 +1,26 @@ #! shebang
#! no-shebang

/* comment */

function fun()
{
var boo = { 'key': [ 1, 2.0, 3.0e1, 004, 0x5 ] };
}

class MyClass; // reserved keywords

// Member objects: text after "."
object.property instanceof Number;
iden1.iden2 . iden3.class class;

var escapes = "aa\b\n\0a\"a\x12a\32a\u{123}a\$\%\ \#\y\aaa\
aaa";
var octal = 0o124;
var bin = 0b1010;

ლಠ益ಠლ.ñá = 42;
δ /No-RegExp/
+
+/* Modelines: finish comment in incomplete Modeline:
+ * kate: replace-tabs */ normal text
diff --git a/data/syntax/modelines.xml b/data/syntax/modelines.xml index 0f3c882..b39c136 100644 --- a/data/syntax/modelines.xml +++ b/data/syntax/modelines.xml @@ -1,197 +1,197 @@ ]>