branch: externals/matlab-mode
commit a5391831fb3a4745cf7f0f0d4d96f8f1fc655d68
Author: John Ciolfi <[email protected]>
Commit: GitHub <[email protected]>
Update matlab_code_indent.org
---
doc/matlab_code_indent.org | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/doc/matlab_code_indent.org b/doc/matlab_code_indent.org
index e33f5089b0..1818dbd717 100644
--- a/doc/matlab_code_indent.org
+++ b/doc/matlab_code_indent.org
@@ -65,14 +65,11 @@ with understanding and communication.
* MATLAB Indent Standard
-Having one-style of consistent indentation makes reading others' code easier
and thus we do not
-provide indent customization.
-
1. *Indent level of 4 spaces, no TAB characters, unicode, LF line-endings (no
CRLF)*
- The MATLAB indent engine will indent to a level 4 for each scope or
conditional. Tab characters
- are converted to spaces ensures that code looks the same when using
different levels of tab
- stops. For example, UNIX (POSIX) uses tab stops of 8 whereas Microsoft uses
tab stops of 4. Note,
+ The MATLAB indent engine will indent to a level of 4 spaces for each scope
or conditional. Tab characters
+ are converted to spaces to ensure that code looks the same in all editors.
+ For example, UNIX (POSIX) uses tab stops of 8 whereas Microsoft uses tab
stops of 4. Note,
the indent engine retains TAB characters within strings because altering
them would change
answers.