[Libreoffice-commits] core.git: scripting/examples scripting/source

Miklos Vajna vmiklos at collabora.co.uk
Wed Jan 24 08:40:39 UTC 2018


 scripting/examples/python/Capitalise.py                |    2 ++
 scripting/examples/python/HelloWorld.py                |    2 ++
 scripting/examples/python/pythonSamples/TableSample.py |    2 ++
 scripting/source/pyprov/mailmerge.py                   |    2 ++
 4 files changed, 8 insertions(+)

New commits:
commit a7d67762f116ca85181b4ae4053141ea68e6d6f8
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Tue Jan 23 14:57:30 2018 +0100

    scripting: add missing vim modelines to python files
    
    Change-Id: Iedc3a8ab37deeb7a686fa709afb0cf350f815ec6
    Reviewed-on: https://gerrit.libreoffice.org/48418
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
    Tested-by: Jenkins <ci at libreoffice.org>

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:
diff --git a/scripting/source/pyprov/mailmerge.py b/scripting/source/pyprov/mailmerge.py
index 6034a74f1b03..ca18c7b17227 100644
--- a/scripting/source/pyprov/mailmerge.py
+++ b/scripting/source/pyprov/mailmerge.py
@@ -528,3 +528,5 @@ g_ImplementationHelper.addImplementation( \
 g_ImplementationHelper.addImplementation( \
 	PyMailMessage, g_messageImplName,
 		("com.sun.star.mail.MailMessage",),)
+
+# vim: set shiftwidth=4 softtabstop=4 expandtab:


More information about the Libreoffice-commits mailing list