TEMPLATE.SOURCECODE.HEADER | 13 +++++++++++++ android/mobile-config.py | 4 +++- bin/convwatch.py | 2 +- bin/test-hid-vs-ui.py | 4 ++-- bin/upload_symbols.py | 4 ++-- librelogo/source/LibreLogo/LibreLogo.py | 4 ++-- pyuno/demo/biblioaccess.py | 4 ++-- pyuno/demo/hello_world_comp.py | 4 ++-- pyuno/demo/ooextract.py | 4 ++-- pyuno/demo/swriter.py | 4 ++-- pyuno/demo/swritercomp.py | 4 ++-- pyuno/demo/swritercompclient.py | 4 ++-- pyuno/source/loader/pythonloader.py | 4 ++-- pyuno/source/module/uno.py | 4 ++-- pyuno/source/module/unohelper.py | 4 ++-- pyuno/source/officehelper.py | 3 +++ scripting/source/pyprov/msgbox.py | 5 +++-- scripting/source/pyprov/pythonscript.py | 2 ++ sfx2/qa/python/check_sidebar.py | 4 ++-- sfx2/qa/python/check_sidebar_registry.py | 4 ++-- solenv/gbuild/Configuration.mk | 1 + solenv/gbuild/Extension.mk | 1 - solenv/gbuild/extensions/post_Counters.mk | 2 ++ solenv/gbuild/extensions/post_GbuildToIde.mk | 2 ++ solenv/gbuild/extensions/pre_Counters.mk | 1 + solenv/gbuild/extensions/pre_MergedLibsList.mk | 1 - solenv/gbuild/extensions/pre_SharedLangList.mk | 1 + solenv/gbuild/platform/windows.mk | 1 - solenv/qa/python/gbuildtoide.py | 3 ++- sw/qa/python/check_styles.py | 4 ++-- sw/qa/python/check_table.py | 2 +- uitest/calc_tests/about_test.py | 4 ++-- uitest/calc_tests/create_chart.py | 4 ++-- uitest/calc_tests/create_range_name.py | 4 ++-- uitest/calc_tests/edit_chart.py | 4 ++-- uitest/calc_tests/function_wizard.py | 4 ++-- uitest/calc_tests/gridwin.py | 4 ++-- uitest/calc_tests/gridwindow.py | 4 ++-- uitest/calc_tests/tdf96453.py | 4 ++-- uitest/demo_ui/char_dialog.py | 4 ++-- uitest/demo_ui/checkbox.py | 4 ++-- uitest/demo_ui/combobox.py | 4 ++-- uitest/demo_ui/edit.py | 4 ++-- uitest/demo_ui/gridwin.py | 4 ++-- uitest/demo_ui/handle_multiple_files.py | 4 ++-- uitest/demo_ui/listbox.py | 4 ++-- uitest/demo_ui/radiobutton.py | 5 ++--- uitest/demo_ui/spinfield.py | 4 ++-- uitest/demo_ui/tabcontrol.py | 4 ++-- uitest/demo_ui/tabdialog.py | 4 ++-- uitest/demo_ui/treelist.py | 4 ++-- uitest/impress_tests/drawinglayer.py | 4 +++- uitest/impress_tests/start.py | 4 ++-- uitest/libreoffice/calc/conditional_format.py | 5 ++--- uitest/libreoffice/calc/document.py | 4 ++-- uitest/libreoffice/connection.py | 4 ++-- uitest/libreoffice/uno/eventlistener.py | 4 ++-- uitest/libreoffice/uno/propertyvalue.py | 4 ++-- uitest/math_tests/start.py | 4 ++-- uitest/test_main.py | 4 ++-- uitest/uitest/config.py | 4 ++-- uitest/uitest/debug.py | 4 ++-- uitest/uitest/framework.py | 4 ++-- uitest/uitest/path.py | 4 ++-- uitest/uitest/test.py | 4 ++-- uitest/uitest/uihelper/calc.py | 4 ++-- uitest/uitest/uihelper/common.py | 4 ++-- uitest/writer_tests/start.py | 4 ++-- unotest/source/python/org/libreoffice/unotest.py | 4 ++-- 69 files changed, 142 insertions(+), 116 deletions(-)
New commits: commit aa70294ffc0abbeeb30b4c4001e4db8b3539bf75 Author: Michael Stahl <mst...@redhat.com> Date: Wed Oct 26 22:13:33 2016 +0200 normalize existing emacs/vim mode-lines in python files Bunch of these were setting C++ or Make modes and icky tabs... Also, reportedly Emacs can figure out to enable python-mode automatically. Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543 diff --git a/TEMPLATE.SOURCECODE.HEADER b/TEMPLATE.SOURCECODE.HEADER index 7ba2a9f..f842da6 100644 --- a/TEMPLATE.SOURCECODE.HEADER +++ b/TEMPLATE.SOURCECODE.HEADER @@ -54,6 +54,19 @@ For makefiles: ... # vim: set noet sw=4 ts=4: +For Python files: + +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# +... +# vim: set shiftwidth=4 softtabstop=4 expandtab: + For XML / .component: <?xml version="1.0" encoding="UTF-8"?> diff --git a/android/mobile-config.py b/android/mobile-config.py index 704b1e9..7732130 100755 --- a/android/mobile-config.py +++ b/android/mobile-config.py @@ -1,4 +1,6 @@ #!/usr/bin/python +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- +# # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public @@ -112,4 +114,4 @@ if __name__ == '__main__': tree.write(sys.argv[2], 'UTF-8', True) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/bin/convwatch.py b/bin/convwatch.py index dacf037..51a4f55 100644 --- a/bin/convwatch.py +++ b/bin/convwatch.py @@ -452,4 +452,4 @@ if __name__ == "__main__": usage() sys.exit(1) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/bin/test-hid-vs-ui.py b/bin/test-hid-vs-ui.py index bbb46ae..635a121 100755 --- a/bin/test-hid-vs-ui.py +++ b/bin/test-hid-vs-ui.py @@ -1,5 +1,5 @@ #!/usr/bin/env python -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -185,4 +185,4 @@ Note: The bot generating this message can be found and improved here: else: print errors -# vim: set et sw=4 ts=4: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/bin/upload_symbols.py b/bin/upload_symbols.py index 07f3e3e..72a03b6 100755 --- a/bin/upload_symbols.py +++ b/bin/upload_symbols.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -50,4 +50,4 @@ def main(): if __name__ == "__main__": main() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/librelogo/source/LibreLogo/LibreLogo.py b/librelogo/source/LibreLogo/LibreLogo.py index b7077e10..dcd8609 100644 --- a/librelogo/source/LibreLogo/LibreLogo.py +++ b/librelogo/source/LibreLogo/LibreLogo.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -1826,4 +1826,4 @@ def __gotoline__(n): g_exportedScripts = left, right, goforward, gobackward, run, stop, home, clearscreen, commandline, __translate__ -# vim: set noet sw=4 ts=4: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/biblioaccess.py b/pyuno/demo/biblioaccess.py index bab6ce6..0e5d0b4 100644 --- a/pyuno/demo/biblioaccess.py +++ b/pyuno/demo/biblioaccess.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -50,4 +50,4 @@ def main(): main() -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/hello_world_comp.py b/pyuno/demo/hello_world_comp.py index 73bdc1f..646a124 100644 --- a/pyuno/demo/hello_world_comp.py +++ b/pyuno/demo/hello_world_comp.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -57,4 +57,4 @@ g_ImplementationHelper.addImplementation( \ ("com.sun.star.task.Job",),) # list of implemented services # (the only service) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/ooextract.py b/pyuno/demo/ooextract.py index 477cc89..8a364cd 100644 --- a/pyuno/demo/ooextract.py +++ b/pyuno/demo/ooextract.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -126,4 +126,4 @@ def usage(): main() -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/swriter.py b/pyuno/demo/swriter.py index 865160a..4f39161 100644 --- a/pyuno/demo/swriter.py +++ b/pyuno/demo/swriter.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -119,4 +119,4 @@ cursor.setPropertyValue( "CharShadowed", False ) text.insertString( cursor, " That's all for now!" , 0 ) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/swritercomp.py b/pyuno/demo/swritercomp.py index bdebc9f..3bdd252 100644 --- a/pyuno/demo/swritercomp.py +++ b/pyuno/demo/swritercomp.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -125,4 +125,4 @@ g_ImplementationHelper = unohelper.ImplementationHelper() g_ImplementationHelper.addImplementation( \ SWriterComp,"org.openoffice.comp.pyuno.swriter",("org.openoffice.demo.SWriter",),) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/swritercompclient.py b/pyuno/demo/swritercompclient.py index 4ac9d93..c4d6cdb 100644 --- a/pyuno/demo/swritercompclient.py +++ b/pyuno/demo/swritercompclient.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -29,4 +29,4 @@ pyComp = remoteSmgr.createInstanceWithContext( "org.openoffice.demo.SWriter" , r pyComp.run( (), ) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/source/loader/pythonloader.py b/pyuno/source/loader/pythonloader.py index 1d1b7de..ddb9001 100644 --- a/pyuno/source/loader/pythonloader.py +++ b/pyuno/source/loader/pythonloader.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -162,4 +162,4 @@ class Loader( XImplementationLoader, XServiceInfo, unohelper.Base ): def getSupportedServiceNames( self ): return g_supportedServices -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/source/module/uno.py b/pyuno/source/module/uno.py index 29cc684..bccf22d 100644 --- a/pyuno/source/module/uno.py +++ b/pyuno/source/module/uno.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -548,4 +548,4 @@ def _uno_extract_printable_stacktrace(trace): return ''.join(traceback.format_tb(trace)) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/source/module/unohelper.py b/pyuno/source/module/unohelper.py index a55aaa8..e1e7e35 100644 --- a/pyuno/source/module/unohelper.py +++ b/pyuno/source/module/unohelper.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -294,4 +294,4 @@ class _FactoryHelper_( XSingleComponentFactory, XServiceInfo, Base ): def createInstanceWithArgumentsAndContext( self, args, context ): return self.clazz( context, *args ) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/source/officehelper.py b/pyuno/source/officehelper.py index 0b0bb68..53bd594 100644 --- a/pyuno/source/officehelper.py +++ b/pyuno/source/officehelper.py @@ -1,3 +1,4 @@ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -82,3 +83,5 @@ def bootstrap(): raise BootstrapException("Caught exception " + str(e), None) return xContext + +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/scripting/source/pyprov/msgbox.py b/scripting/source/pyprov/msgbox.py index 3f2be64..f9c93df 100644 --- a/scripting/source/pyprov/msgbox.py +++ b/scripting/source/pyprov/msgbox.py @@ -1,5 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil -*- -# +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -238,3 +237,5 @@ if __name__ == '__main__': myBox.numberOflines = 2 print(myBox.show("A small message",0,"Dialog title")) + +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/scripting/source/pyprov/pythonscript.py b/scripting/source/pyprov/pythonscript.py index e4d6a2e..6089d14 100644 --- a/scripting/source/pyprov/pythonscript.py +++ b/scripting/source/pyprov/pythonscript.py @@ -1,3 +1,4 @@ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -1077,3 +1078,4 @@ g_ImplementationHelper.addImplementation( \ log.debug( "pythonscript finished intializing" ) +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sfx2/qa/python/check_sidebar.py b/sfx2/qa/python/check_sidebar.py index 7599e4d..4dd3a5d 100644 --- a/sfx2/qa/python/check_sidebar.py +++ b/sfx2/qa/python/check_sidebar.py @@ -1,4 +1,4 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -169,4 +169,4 @@ class CheckSidebar(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: set noet sw=4 ts=4: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sfx2/qa/python/check_sidebar_registry.py b/sfx2/qa/python/check_sidebar_registry.py index 9635f27..70b679a 100644 --- a/sfx2/qa/python/check_sidebar_registry.py +++ b/sfx2/qa/python/check_sidebar_registry.py @@ -1,4 +1,4 @@ -# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -89,4 +89,4 @@ class CheckSidebarRegistry(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim: set noet sw=4 ts=4: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/solenv/qa/python/gbuildtoide.py b/solenv/qa/python/gbuildtoide.py index 2d06102..5216cb0 100644 --- a/solenv/qa/python/gbuildtoide.py +++ b/solenv/qa/python/gbuildtoide.py @@ -1,3 +1,4 @@ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- ''' This file is part of the LibreOffice project. @@ -72,4 +73,4 @@ class CheckGbuildToIde(unittest.TestCase): if __name__ == "__main__": unittest.main() -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sw/qa/python/check_styles.py b/sw/qa/python/check_styles.py index 8022acd..29fddf6 100644 --- a/sw/qa/python/check_styles.py +++ b/sw/qa/python/check_styles.py @@ -1,5 +1,5 @@ #! /usr/bin/env python -# -*- Mode: python; tab-width: 4; indent-tabs-mode: t -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -243,4 +243,4 @@ class CheckStyle(unittest.TestCase): if __name__ == '__main__': unittest.main() -# /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/sw/qa/python/check_table.py b/sw/qa/python/check_table.py index 6ea619a..2b7de59 100644 --- a/sw/qa/python/check_table.py +++ b/sw/qa/python/check_table.py @@ -577,4 +577,4 @@ class CheckTable(unittest.TestCase): if __name__ == '__main__': unittest.main() -# /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/about_test.py b/uitest/calc_tests/about_test.py index 00ba9bc..016c486 100644 --- a/uitest/calc_tests/about_test.py +++ b/uitest/calc_tests/about_test.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -22,4 +22,4 @@ class AboutDlgTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/create_chart.py b/uitest/calc_tests/create_chart.py index ec73da7..6ad7b81 100644 --- a/uitest/calc_tests/create_chart.py +++ b/uitest/calc_tests/create_chart.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -157,4 +157,4 @@ class CalcChartUIDemo(UITestCase): xCalcDoc = self.xUITest.getTopFocusWindow() self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/create_range_name.py b/uitest/calc_tests/create_range_name.py index 36a0f63..ee398ab 100644 --- a/uitest/calc_tests/create_range_name.py +++ b/uitest/calc_tests/create_range_name.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -53,4 +53,4 @@ class CreateRangeNameTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/edit_chart.py b/uitest/calc_tests/edit_chart.py index b434503..9ed5255 100644 --- a/uitest/calc_tests/edit_chart.py +++ b/uitest/calc_tests/edit_chart.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -72,4 +72,4 @@ class CalcChartEditUIDemo(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/function_wizard.py b/uitest/calc_tests/function_wizard.py index ec0920d..7387071 100644 --- a/uitest/calc_tests/function_wizard.py +++ b/uitest/calc_tests/function_wizard.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -26,4 +26,4 @@ class FunctionWizardTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/gridwin.py b/uitest/calc_tests/gridwin.py index 57a8fbc..1afbe81 100644 --- a/uitest/calc_tests/gridwin.py +++ b/uitest/calc_tests/gridwin.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -28,4 +28,4 @@ class GridWinTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/gridwindow.py b/uitest/calc_tests/gridwindow.py index 46ed88a..37afacd 100644 --- a/uitest/calc_tests/gridwindow.py +++ b/uitest/calc_tests/gridwindow.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -40,4 +40,4 @@ class GridWindowTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/calc_tests/tdf96453.py b/uitest/calc_tests/tdf96453.py index 9092d43..94f047d 100644 --- a/uitest/calc_tests/tdf96453.py +++ b/uitest/calc_tests/tdf96453.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -86,4 +86,4 @@ class ConditionalFormatDlgTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/char_dialog.py b/uitest/demo_ui/char_dialog.py index 1b90476..4c77163 100644 --- a/uitest/demo_ui/char_dialog.py +++ b/uitest/demo_ui/char_dialog.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -33,4 +33,4 @@ class CharDialogText(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/checkbox.py b/uitest/demo_ui/checkbox.py index b97e734..2138cf6 100644 --- a/uitest/demo_ui/checkbox.py +++ b/uitest/demo_ui/checkbox.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -25,4 +25,4 @@ class CheckBoxTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/combobox.py b/uitest/demo_ui/combobox.py index 5e35175..9b677a4 100644 --- a/uitest/demo_ui/combobox.py +++ b/uitest/demo_ui/combobox.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -28,4 +28,4 @@ class ComboBoxTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/edit.py b/uitest/demo_ui/edit.py index 8581e89..a40677c 100644 --- a/uitest/demo_ui/edit.py +++ b/uitest/demo_ui/edit.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -29,4 +29,4 @@ class EditTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/gridwin.py b/uitest/demo_ui/gridwin.py index 26721a1..ddfb132 100644 --- a/uitest/demo_ui/gridwin.py +++ b/uitest/demo_ui/gridwin.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -48,4 +48,4 @@ class GridWinTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/handle_multiple_files.py b/uitest/demo_ui/handle_multiple_files.py index dd4cba7..a69cf07 100644 --- a/uitest/demo_ui/handle_multiple_files.py +++ b/uitest/demo_ui/handle_multiple_files.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -58,4 +58,4 @@ class HandleFiles(UITestCase): self.assertTrue(frames[0].getTitle().startswith("test2.ods")) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/listbox.py b/uitest/demo_ui/listbox.py index c7cc4f2..5c56c10 100644 --- a/uitest/demo_ui/listbox.py +++ b/uitest/demo_ui/listbox.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -46,4 +46,4 @@ class ListBoxTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/radiobutton.py b/uitest/demo_ui/radiobutton.py index b3df02c..34c6dee 100644 --- a/uitest/demo_ui/radiobutton.py +++ b/uitest/demo_ui/radiobutton.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -37,5 +37,4 @@ class RadioButtonTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ - +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/spinfield.py b/uitest/demo_ui/spinfield.py index 1cf8756..49952dc 100644 --- a/uitest/demo_ui/spinfield.py +++ b/uitest/demo_ui/spinfield.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -78,4 +78,4 @@ class SpinFieldTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/tabcontrol.py b/uitest/demo_ui/tabcontrol.py index 600de28..79a2948 100644 --- a/uitest/demo_ui/tabcontrol.py +++ b/uitest/demo_ui/tabcontrol.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -34,4 +34,4 @@ class TabControlTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/tabdialog.py b/uitest/demo_ui/tabdialog.py index 141cd93..217ee8e 100644 --- a/uitest/demo_ui/tabdialog.py +++ b/uitest/demo_ui/tabdialog.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -43,4 +43,4 @@ class TabDialogTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/demo_ui/treelist.py b/uitest/demo_ui/treelist.py index 1ea7dc1..91c18ea 100644 --- a/uitest/demo_ui/treelist.py +++ b/uitest/demo_ui/treelist.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -43,4 +43,4 @@ class TreeListTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/impress_tests/drawinglayer.py b/uitest/impress_tests/drawinglayer.py index 8426f7e..0c7a254 100644 --- a/uitest/impress_tests/drawinglayer.py +++ b/uitest/impress_tests/drawinglayer.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -52,3 +52,5 @@ class ImpressDrawinglayerTest(UITestCase): time.sleep(5) self.ui_test.close_doc() + +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/impress_tests/start.py b/uitest/impress_tests/start.py index b489b7e..de7a6ec 100644 --- a/uitest/impress_tests/start.py +++ b/uitest/impress_tests/start.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -77,4 +77,4 @@ class SimpleImpressTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/libreoffice/calc/conditional_format.py b/uitest/libreoffice/calc/conditional_format.py index adffc29..5acd3c1 100644 --- a/uitest/libreoffice/calc/conditional_format.py +++ b/uitest/libreoffice/calc/conditional_format.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -10,5 +10,4 @@ def get_conditional_format_from_sheet(sheet): return sheet.getPropertyValue("ConditionalFormats") - -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/libreoffice/calc/document.py b/uitest/libreoffice/calc/document.py index 356c5ec..eea8d65 100644 --- a/uitest/libreoffice/calc/document.py +++ b/uitest/libreoffice/calc/document.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -8,4 +8,4 @@ def get_sheet_from_doc(document, index): return document.getSheets().getByIndex(index) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/libreoffice/connection.py b/uitest/libreoffice/connection.py index 7b36479..1b0150b 100644 --- a/uitest/libreoffice/connection.py +++ b/uitest/libreoffice/connection.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -162,4 +162,4 @@ class PersistentConnection: finally: self.connection = None -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/libreoffice/uno/eventlistener.py b/uitest/libreoffice/uno/eventlistener.py index 63eb0e6..8338f6f 100644 --- a/uitest/libreoffice/uno/eventlistener.py +++ b/uitest/libreoffice/uno/eventlistener.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -47,4 +47,4 @@ class EventListener(XDocumentEventListener,unohelper.Base): def disposing(event): pass -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/libreoffice/uno/propertyvalue.py b/uitest/libreoffice/uno/propertyvalue.py index b64c49b..25f22ad 100644 --- a/uitest/libreoffice/uno/propertyvalue.py +++ b/uitest/libreoffice/uno/propertyvalue.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -35,4 +35,4 @@ def convert_property_values_to_dict(propMap): return ret -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/math_tests/start.py b/uitest/math_tests/start.py index 6626207..1eae649 100644 --- a/uitest/math_tests/start.py +++ b/uitest/math_tests/start.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -86,4 +86,4 @@ class SimpleMathTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/test_main.py b/uitest/test_main.py index b3aad3c..498e45d 100644 --- a/uitest/test_main.py +++ b/uitest/test_main.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -115,4 +115,4 @@ if __name__ == '__main__': sys.exit(1) sys.exit(0) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/config.py b/uitest/uitest/config.py index c08c208..890d884 100644 --- a/uitest/uitest/config.py +++ b/uitest/uitest/config.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -9,4 +9,4 @@ use_sleep = False DEFAULT_SLEEP = 0.1 -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/debug.py b/uitest/uitest/debug.py index 8af6d8a..2345591 100644 --- a/uitest/uitest/debug.py +++ b/uitest/uitest/debug.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -13,4 +13,4 @@ def sleep(seconds): if uitest.config.use_sleep: time.sleep(seconds) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/framework.py b/uitest/uitest/framework.py index b2f4a32..be58b12 100644 --- a/uitest/uitest/framework.py +++ b/uitest/uitest/framework.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -33,4 +33,4 @@ class UITestCase(unittest.TestCase): print("Execution time for %s: %.3f" % (self.id(), t)) self.connection.tearDown() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/path.py b/uitest/uitest/path.py index 19eea2a..488520d 100644 --- a/uitest/uitest/path.py +++ b/uitest/uitest/path.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -28,4 +28,4 @@ def get_instdir_url(): instdir_path = os.environ.get('INSTDIR', os.path.join(get_src_dir_fallback(), 'instdir')) return path2url(instdir_path) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/test.py b/uitest/uitest/test.py index 0883425..4090a60 100644 --- a/uitest/uitest/test.py +++ b/uitest/uitest/test.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -138,4 +138,4 @@ class UITest(object): time_ += DEFAULT_SLEEP time.sleep(DEFAULT_SLEEP) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/uihelper/calc.py b/uitest/uitest/uihelper/calc.py index b63f170..29e8ce4 100644 --- a/uitest/uitest/uihelper/calc.py +++ b/uitest/uitest/uihelper/calc.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -12,4 +12,4 @@ def enter_text_to_cell(gridwin, cell, text): gridwin.executeAction("TYPE", mkPropertyValues({"TEXT": text})) gridwin.executeAction("TYPE", mkPropertyValues({"KEYCODE": "RETURN"})) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/uitest/uihelper/common.py b/uitest/uitest/uihelper/common.py index 2e99140..e0314a2 100644 --- a/uitest/uitest/uihelper/common.py +++ b/uitest/uitest/uihelper/common.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -10,4 +10,4 @@ from libreoffice.uno.propertyvalue import convert_property_values_to_dict def get_state_as_dict(ui_object): return convert_property_values_to_dict(ui_object.getState()) -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/uitest/writer_tests/start.py b/uitest/writer_tests/start.py index fe4c054..26b75ce 100644 --- a/uitest/writer_tests/start.py +++ b/uitest/writer_tests/start.py @@ -1,4 +1,4 @@ -# -*- Mode: python; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this @@ -68,4 +68,4 @@ class SimpleWriterTest(UITestCase): self.ui_test.close_doc() -# vim:set shiftwidth=4 softtabstop=4 expandtab: */ +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/unotest/source/python/org/libreoffice/unotest.py b/unotest/source/python/org/libreoffice/unotest.py index f364219..0caab56 100644 --- a/unotest/source/python/org/libreoffice/unotest.py +++ b/unotest/source/python/org/libreoffice/unotest.py @@ -1,4 +1,4 @@ -# -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -319,4 +319,4 @@ if __name__ == "__main__": con.tearDown() print("done") -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: commit 22d0970e690d7a623619a84d5054b6f92b7acea4 Author: Michael Stahl <mst...@redhat.com> Date: Wed Oct 26 21:03:04 2016 +0200 gbuild: missing emacs mode-lines Change-Id: Id767a98be85a7f3f4abb28891d0a5cac2057b0e0 diff --git a/solenv/gbuild/Configuration.mk b/solenv/gbuild/Configuration.mk index 8d3b949..2abf9be 100644 --- a/solenv/gbuild/Configuration.mk +++ b/solenv/gbuild/Configuration.mk @@ -1,3 +1,4 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # diff --git a/solenv/gbuild/Extension.mk b/solenv/gbuild/Extension.mk index bcfa256..f23165e 100644 --- a/solenv/gbuild/Extension.mk +++ b/solenv/gbuild/Extension.mk @@ -1,6 +1,5 @@ # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # -# # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public diff --git a/solenv/gbuild/extensions/post_Counters.mk b/solenv/gbuild/extensions/post_Counters.mk index afd2875..8773844 100644 --- a/solenv/gbuild/extensions/post_Counters.mk +++ b/solenv/gbuild/extensions/post_Counters.mk @@ -1,3 +1,4 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # @@ -17,4 +18,5 @@ countoutdated: $(.DEFAULT_GOAL) endif endif + # vim: set noet ts=4 sw=4: diff --git a/solenv/gbuild/extensions/post_GbuildToIde.mk b/solenv/gbuild/extensions/post_GbuildToIde.mk index 74a867c..06d36fe 100644 --- a/solenv/gbuild/extensions/post_GbuildToIde.mk +++ b/solenv/gbuild/extensions/post_GbuildToIde.mk @@ -1,3 +1,4 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # @@ -48,4 +49,5 @@ $(call gb_LinkTarget_get_target,$(call gb_$(2)_get_linktarget,$(3))): $(gb_Helpe endef endif + # vim: set noet ts=4 sw=4: diff --git a/solenv/gbuild/extensions/pre_Counters.mk b/solenv/gbuild/extensions/pre_Counters.mk index 53cffcd..eaec750 100644 --- a/solenv/gbuild/extensions/pre_Counters.mk +++ b/solenv/gbuild/extensions/pre_Counters.mk @@ -1,3 +1,4 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # diff --git a/solenv/gbuild/extensions/pre_MergedLibsList.mk b/solenv/gbuild/extensions/pre_MergedLibsList.mk index 6a985e3..b946060b 100644 --- a/solenv/gbuild/extensions/pre_MergedLibsList.mk +++ b/solenv/gbuild/extensions/pre_MergedLibsList.mk @@ -1,6 +1,5 @@ # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # -# # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public diff --git a/solenv/gbuild/extensions/pre_SharedLangList.mk b/solenv/gbuild/extensions/pre_SharedLangList.mk index 4d32a3e..3c9c3c7 100644 --- a/solenv/gbuild/extensions/pre_SharedLangList.mk +++ b/solenv/gbuild/extensions/pre_SharedLangList.mk @@ -1,3 +1,4 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # # This file is part of the LibreOffice project. # diff --git a/solenv/gbuild/platform/windows.mk b/solenv/gbuild/platform/windows.mk index 9c73a50..7be5eca 100644 --- a/solenv/gbuild/platform/windows.mk +++ b/solenv/gbuild/platform/windows.mk @@ -1,6 +1,5 @@ # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- # -# # This file is part of the LibreOffice project. # # This Source Code Form is subject to the terms of the Mozilla Public _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits