From 881b34bf41d0e67291da26ac83b537b2e2ca78a3 Mon Sep 17 00:00:00 2001 From: crucialfelix Date: Sat, 7 Nov 2015 12:50:24 +0100 Subject: [PATCH] use "Walk Like and Egyptian" aka K&R braces for all class definitions Sublime Text syntax grammar does not do multi-line matching, so all editors that use this (including Atom and its symbol matching) cannot detect classes defined as MyClass { } This also makes all classes in the class lib consistent in style which is nice for everybody. --- sc/EmacsDocument.sc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sc/EmacsDocument.sc b/sc/EmacsDocument.sc index e0ca652..ff01a32 100644 --- a/sc/EmacsDocument.sc +++ b/sc/EmacsDocument.sc @@ -15,9 +15,9 @@ // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 // USA -EmacsDocument +EmacsDocument { // : Document -{ + classvar documentMap, <>current; var <>sceld; var title, path; @@ -318,4 +318,4 @@ EmacsDocument */ } -// EOF \ No newline at end of file +// EOF