summaryrefslogtreecommitdiff
path: root/scripting/examples
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2018-01-23 14:57:30 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2018-01-24 09:40:17 +0100
commita7d67762f116ca85181b4ae4053141ea68e6d6f8 (patch)
tree2da34f8cb80b27db165890af6e91c50f4ecbdaf8 /scripting/examples
parent13a1a7e1f2851e465898631fc7cc567624cd7dcf (diff)
scripting: add missing vim modelines to python files
Change-Id: Iedc3a8ab37deeb7a686fa709afb0cf350f815ec6 Reviewed-on: https://gerrit.libreoffice.org/48418 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'scripting/examples')
-rw-r--r--scripting/examples/python/Capitalise.py2
-rw-r--r--scripting/examples/python/HelloWorld.py2
-rw-r--r--scripting/examples/python/pythonSamples/TableSample.py2
3 files changed, 6 insertions, 0 deletions
diff --git a/scripting/examples/python/Capitalise.py b/scripting/examples/python/Capitalise.py
index 3c5366589ef9..05e82a37ad32 100644
--- a/scripting/examples/python/Capitalise.py
+++ b/scripting/examples/python/Capitalise.py
@@ -76,3 +76,5 @@ def capitalisePython( ):
# lists the scripts, that shall be visible inside OOo. Can be omitted, if
# all functions shall be visible, however here getNewString shall be suppressed
g_exportedScripts = capitalisePython,
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/scripting/examples/python/HelloWorld.py b/scripting/examples/python/HelloWorld.py
index 4cad8a8549ea..8c3c9a8141d2 100644
--- a/scripting/examples/python/HelloWorld.py
+++ b/scripting/examples/python/HelloWorld.py
@@ -34,3 +34,5 @@ def HelloWorldPython( ):
#and set the string
tRange.String = "Hello World (in Python)"
return None
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/scripting/examples/python/pythonSamples/TableSample.py b/scripting/examples/python/pythonSamples/TableSample.py
index 12ea326343cc..a92c862c2674 100644
--- a/scripting/examples/python/pythonSamples/TableSample.py
+++ b/scripting/examples/python/pythonSamples/TableSample.py
@@ -112,3 +112,5 @@ def createTable():
text.insertString( cursor, " That's all for now !!" , 0 )
g_exportedScripts = createTable,
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab: