From: John Levon Date: Sat, 25 May 2002 14:50:52 +0000 (+0000) Subject: Now nobody has the excuse of looking at existing code and assuming X-Git-Tag: 1.6.10~19210 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=c26247cad8262eb25169723c1084681e7597b5fd;p=lyx.git 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 --- diff --git a/development/ChangeLog b/development/ChangeLog index a77738b9d8..168e8d9e0e 100644 --- a/development/ChangeLog +++ b/development/ChangeLog @@ -1,3 +1,7 @@ +2002-05-25 John Levon + + * Code_rules/Rules: mention enums should be lower-case + 2002-05-23 Kayvan A. Sylvan * lyx.spec.in: Remove --with-included-string for 1.3.0cvs and diff --git a/development/Code_rules/Rules b/development/Code_rules/Rules index a7f2f2c525..f549dde8a1 100644 --- a/development/Code_rules/Rules +++ b/development/Code_rules/Rules @@ -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