summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-13 12:57:48 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2000-07-13 12:57:48 +0000
commit4ed860b0e7d805ee1806ad6f5dd2a7eef16cc4f6 (patch)
tree115fb0f17e99befd48be3cd496ed5845aa6bc11e /docs
parentaccac851f64fdef9be120e0283da87bea843df0e (diff)
downloadATCD-4ed860b0e7d805ee1806ad6f5dd2a7eef16cc4f6.tar.gz
ChangeLogTag: Thu Jul 13 07:55:41 2000 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'docs')
-rw-r--r--docs/ACE-guidelines.html9
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/ACE-guidelines.html b/docs/ACE-guidelines.html
index 293ad2361df..a7fd68106d0 100644
--- a/docs/ACE-guidelines.html
+++ b/docs/ACE-guidelines.html
@@ -32,6 +32,11 @@ bgcolor="#ffffff">
indent using spaces.
</pre><p>
+ <li>Do not end text lines with spaces. Emacs users can add this to
+ their <strong>.emacs</strong>:
+
+ <pre>(setq-default nuke-trailing-whitespace-p t)</pre><p>
+
<li>Try to limit the length of source code lines to less than 80
characters. Users with 14 inch monitors appreciate it when
reading code. And, it avoids mangling problems with email
@@ -712,7 +717,7 @@ Foo::bar ()
<li><strong>WCHAR conformity</strong><p>
<ul>
- <li>For ACE, use ACE_TCHAR instead of char for strings and ACE_TEXT ()
+ <li>For ACE, use ACE_TCHAR instead of char for strings and ACE_TEXT ()
around string literals. Exceptions are char arrays used for data
and strings that need to remain as 1 byte characters.
@@ -720,7 +725,7 @@ Foo::bar ()
use the ACE_TEXT_CHAR_TO_TCHAR () macro. If you have a ACE_TCHAR
string that needs to be converted to a char string, use the
ACE_TEXT_ALWAYS_CHAR () macro
-
+
<li>Do not use the Win32 TCHAR macros. The wide character-ness of ACE
is separate from UNICODE and _UNICODE.