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 ()
{
var boo = { 'key': [ 1, 2.0, 3.0e1, 004, 0x5 ] };
}
class MyClass; // reserved keywords
// Member objects: text after "."
object. instanceof Number;
iden1.iden2 . iden3. 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 @@
]>
- kate:
- auto-brackets
- automatic-spell-checking
- backspace-indents
- block-selection
- bookmark-sorting
- bom
- byte-order-marker
- byte-order-mark
- dynamic-word-wrap
- folding-markers
- folding-preview
- icon-border
- indent-pasted-text
- keep-extra-spaces
- line-numbers
- newline-at-eof
- overwrite-mode
- persistent-selection
- replace-tabs-save
- replace-tabs
- replace-trailing-space-save
- smart-home
- scrollbar-minimap
- scrollbar-preview
- space-indent
- show-tabs
- show-trailing-spaces
- tab-indents
- word-wrap
- wrap-cursor
- on
- true
- 1
- off
- false
- 0
- auto-center-lines
- font-size
- indent-mode
- indent-width
- tab-width
- undo-steps
- word-wrap-column
- background-color
- bracket-highlight-color
- current-line-color
- default-dictionary
- encoding
- eol
- end-of-line
- font
- hl
- icon-bar-color
- mode
- scheme
- selection-color
- syntax
- word-wrap-marker-color
- remove-trailing-spaces
- 0
- -
- none
- modified
- mod
- +
- 1
- all
- *
- 2
-
+
-
+
-
+
-
+
-
+
-
+