From a7d67762f116ca85181b4ae4053141ea68e6d6f8 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 23 Jan 2018 14:57:30 +0100 Subject: scripting: add missing vim modelines to python files Change-Id: Iedc3a8ab37deeb7a686fa709afb0cf350f815ec6 Reviewed-on: https://gerrit.libreoffice.org/48418 Reviewed-by: Miklos Vajna Tested-by: Jenkins --- 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(+) (limited to 'scripting') 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: -- cgit