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
|
||||
// USA
|
||||
|
||||
EmacsDocument
|
||||
EmacsDocument {
|
||||
// : Document
|
||||
{
|
||||
|
||||
classvar documentMap, <>current;
|
||||
var <>sceld;
|
||||
var title, path;
|
||||
|
|
Loading…
Reference in a new issue