mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
lyx sytle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34913 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7c4122cc4b
commit
fd24419145
@ -284,7 +284,12 @@ Formatting
|
|||||||
- Class names are usually capitalized, and function names lowercased.
|
- Class names are usually capitalized, and function names lowercased.
|
||||||
Enums are named like Classes, values are usually in lower-case.
|
Enums are named like Classes, values are usually in lower-case.
|
||||||
|
|
||||||
- Long variables are named like thisLongVariableName.
|
- Public API is camel-case ('void setAFlagToAValue(bool)')
|
||||||
|
|
||||||
|
- Members variables are underscored ('enable_this_feature_flag_') with a final '_'
|
||||||
|
|
||||||
|
- private/protected functions are also camel-case
|
||||||
|
|
||||||
|
|
||||||
New types are capitalized, so this goes for typedefs, classes, structs
|
New types are capitalized, so this goes for typedefs, classes, structs
|
||||||
and enums.
|
and enums.
|
||||||
|
Loading…
Reference in New Issue
Block a user