diff --git a/autotests/input/indent/cstyle/triggerchars/expected b/autotests/input/indent/cstyle/triggerchars/expected new file mode 100644 index 00000000..786ceb20 --- /dev/null +++ b/autotests/input/indent/cstyle/triggerchars/expected @@ -0,0 +1,3 @@ +int main() { +# +} diff --git a/autotests/input/indent/cstyle/triggerchars/input.js b/autotests/input/indent/cstyle/triggerchars/input.js new file mode 100644 index 00000000..60cd9275 --- /dev/null +++ b/autotests/input/indent/cstyle/triggerchars/input.js @@ -0,0 +1,2 @@ +v.setCursorPosition(1,2); +v.type("#"); diff --git a/autotests/input/indent/cstyle/triggerchars/origin b/autotests/input/indent/cstyle/triggerchars/origin new file mode 100644 index 00000000..e9436ddd --- /dev/null +++ b/autotests/input/indent/cstyle/triggerchars/origin @@ -0,0 +1,3 @@ +int main() { + +} diff --git a/autotests/input/indent/python/triggerchars/expected b/autotests/input/indent/python/triggerchars/expected new file mode 100644 index 00000000..13abfbd7 --- /dev/null +++ b/autotests/input/indent/python/triggerchars/expected @@ -0,0 +1,3 @@ +def func(): + print(foo) +abcdefghijklmnopqrstuvwxyz123456789;:_-#+-*/~(){}?\ diff --git a/autotests/input/indent/python/triggerchars/input.js b/autotests/input/indent/python/triggerchars/input.js new file mode 100644 index 00000000..6492013f --- /dev/null +++ b/autotests/input/indent/python/triggerchars/input.js @@ -0,0 +1,4 @@ +v.setCursorPosition(2,0); +// none of these should trigger an indent +v.type("abcdefghijklmnopqrstuvwxyz123456789;:_-#+-*/~()\{\}?\\"); + diff --git a/autotests/input/indent/python/triggerchars/origin b/autotests/input/indent/python/triggerchars/origin new file mode 100644 index 00000000..fe3bb174 --- /dev/null +++ b/autotests/input/indent/python/triggerchars/origin @@ -0,0 +1,2 @@ +def func(): + print(foo)