[Libreoffice-commits] core.git: TEMPLATE.SOURCECODE.HEADER
Stephan Bergmann
sbergman at redhat.com
Tue May 14 01:01:05 PDT 2013
TEMPLATE.SOURCECODE.HEADER | 7 +++++++
1 file changed, 7 insertions(+)
New commits:
commit 746758ddcc10afc9821e321fcc279bc66bdce240
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue May 14 10:00:40 2013 +0200
Consistenly have modelines for all templates
Change-Id: I9ef62c5cb882c323d134f87ea50202c7b40bb6fb
diff --git a/TEMPLATE.SOURCECODE.HEADER b/TEMPLATE.SOURCECODE.HEADER
index eabd9aa..945af5b 100644
--- a/TEMPLATE.SOURCECODE.HEADER
+++ b/TEMPLATE.SOURCECODE.HEADER
@@ -78,6 +78,7 @@ For XML / .component:
For C/C++/Java/IDL etc.
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
@@ -95,9 +96,12 @@ For C/C++/Java/IDL etc.
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+...
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
For makefiles, perl, scripts etc.
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
@@ -115,9 +119,12 @@ For makefiles, perl, scripts etc.
# except in compliance with the License. You may obtain a copy of
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
+...
+# vim: set noet sw=4 ts=4:
For XML / .component:
+<?xml version="1.0" encoding="UTF-8"?>
<!--
* This file is part of the LibreOffice project.
*
More information about the Libreoffice-commits
mailing list