Now nobody has the excuse of looking at existing code and assuming

that's the way enums are named in lyx :)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4207 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2002-05-25 14:50:52 +00:00
parent 08b4385454
commit c26247cad8
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2002-05-25 John Levon <moz@compsoc.man.ac.uk>
* Code_rules/Rules: mention enums should be lower-case
2002-05-23 Kayvan A. Sylvan <kayvan@satyr.sylvan.com>
* lyx.spec.in: Remove --with-included-string for 1.3.0cvs and

View File

@ -269,7 +269,13 @@ Formatting
};
-NOT-
enum { one = 1, two = 2, three 3 }; // wrong
-NOT-
enum {
ONE = 1,
TWO = 2,
THREE = 3
};
* Naming rules for classes
- Use descriptive but simple and short names. For stuff specific to LyX