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.
This commit is contained in:
parent
023b5a41c6
commit
881b34bf41
1 changed files with 3 additions and 3 deletions
|
@ -15,9 +15,9 @@
|
||||||
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
|
||||||
// USA
|
// USA
|
||||||
|
|
||||||
EmacsDocument
|
EmacsDocument {
|
||||||
// : Document
|
// : Document
|
||||||
{
|
|
||||||
classvar documentMap, <>current;
|
classvar documentMap, <>current;
|
||||||
var <>sceld;
|
var <>sceld;
|
||||||
var title, path;
|
var title, path;
|
||||||
|
|
Loading…
Reference in a new issue