From 144819c918dc761641c3cb5a490205fb73194ee3 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 17 Nov 2010 13:12:56 +1100 Subject: Super duper mega (fun!) commit: replaced encoding=utf-8 with fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900) --- src/xml/comment-node.h | 2 +- src/xml/composite-node-observer.cpp | 2 +- src/xml/composite-node-observer.h | 2 +- src/xml/croco-node-iface.cpp | 2 +- src/xml/document.h | 2 +- src/xml/element-node.h | 2 +- src/xml/event.h | 2 +- src/xml/invalid-operation-exception.h | 2 +- src/xml/log-builder.cpp | 2 +- src/xml/log-builder.h | 2 +- src/xml/node-fns.cpp | 2 +- src/xml/node-fns.h | 2 +- src/xml/node-iterators.h | 2 +- src/xml/node-observer.h | 2 +- src/xml/node.h | 2 +- src/xml/pi-node.h | 2 +- src/xml/quote-test.h | 2 +- src/xml/quote.cpp | 2 +- src/xml/repr-action-test.h | 2 +- src/xml/repr-css.cpp | 2 +- src/xml/repr-io.cpp | 2 +- src/xml/repr-sorting.cpp | 2 +- src/xml/repr-sorting.h | 2 +- src/xml/repr-util.cpp | 2 +- src/xml/repr.h | 2 +- src/xml/simple-document.cpp | 2 +- src/xml/simple-document.h | 2 +- src/xml/simple-node.cpp | 2 +- src/xml/simple-node.h | 2 +- src/xml/sp-css-attr.h | 2 +- src/xml/subtree.cpp | 2 +- src/xml/subtree.h | 2 +- src/xml/text-node.h | 2 +- src/xml/xml-forward.h | 2 +- 34 files changed, 34 insertions(+), 34 deletions(-) (limited to 'src/xml') diff --git a/src/xml/comment-node.h b/src/xml/comment-node.h index 698a30a90..2232fb61e 100644 --- a/src/xml/comment-node.h +++ b/src/xml/comment-node.h @@ -55,4 +55,4 @@ protected: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/composite-node-observer.cpp b/src/xml/composite-node-observer.cpp index 564938dda..36fe469de 100644 --- a/src/xml/composite-node-observer.cpp +++ b/src/xml/composite-node-observer.cpp @@ -308,4 +308,4 @@ void CompositeNodeObserver::removeListenerByData(void *data) { fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/composite-node-observer.h b/src/xml/composite-node-observer.h index 826467dc4..96825d607 100644 --- a/src/xml/composite-node-observer.h +++ b/src/xml/composite-node-observer.h @@ -106,4 +106,4 @@ private: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/croco-node-iface.cpp b/src/xml/croco-node-iface.cpp index db98e3d01..afea4abba 100644 --- a/src/xml/croco-node-iface.cpp +++ b/src/xml/croco-node-iface.cpp @@ -75,4 +75,4 @@ CRNodeIface const croco_node_iface = { fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/document.h b/src/xml/document.h index 2b9ea5cc3..98cc0522e 100644 --- a/src/xml/document.h +++ b/src/xml/document.h @@ -118,4 +118,4 @@ public: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/element-node.h b/src/xml/element-node.h index 7b75f8080..12df8dc97 100644 --- a/src/xml/element-node.h +++ b/src/xml/element-node.h @@ -51,4 +51,4 @@ protected: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/event.h b/src/xml/event.h index c62257751..18dc47865 100644 --- a/src/xml/event.h +++ b/src/xml/event.h @@ -245,4 +245,4 @@ private: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/invalid-operation-exception.h b/src/xml/invalid-operation-exception.h index fa3f740d1..d9d743557 100644 --- a/src/xml/invalid-operation-exception.h +++ b/src/xml/invalid-operation-exception.h @@ -44,4 +44,4 @@ public: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/log-builder.cpp b/src/xml/log-builder.cpp index 5ff09a0e0..951cd4029 100644 --- a/src/xml/log-builder.cpp +++ b/src/xml/log-builder.cpp @@ -75,4 +75,4 @@ void LogBuilder::setAttribute(Node &node, GQuark name, fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/log-builder.h b/src/xml/log-builder.h index 0a161d18f..264c2ced7 100644 --- a/src/xml/log-builder.h +++ b/src/xml/log-builder.h @@ -81,4 +81,4 @@ private: fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp index bf860d8f3..20e9fbc38 100644 --- a/src/xml/node-fns.cpp +++ b/src/xml/node-fns.cpp @@ -88,4 +88,4 @@ Node *previous_node(Node *node) { fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/node-fns.h b/src/xml/node-fns.h index 4c6408789..f6b1173db 100644 --- a/src/xml/node-fns.h +++ b/src/xml/node-fns.h @@ -85,4 +85,4 @@ inline Node const *parent_node(Node const *node) { fill-column:99 End: */ -// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:encoding=utf-8:textwidth=99 : +// vim: filetype=cpp:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:fileencoding=utf-8:textwidth=99 : diff --git a/src/xml/node-iterators.h b/src/xml/node-iterators.h index 0868fb2ab..3d09dfd1b 100644 --- a/src/xml/node-iterators.h +++ b/src/xml/node-iterators.h @@ -58,4 +58,4 @@ typedef Inkscape::Util::ForwardPointerIterator