diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:24:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-15 15:30:31 +0300 |
commit | b8e8c0e325d213f2dcf4adad5506989fa224716e (patch) | |
tree | adb3d7fa8735426ea856a929f562655b2eaf64cb /source/blender/editors/space_text/text_format.h | |
parent | 4226ee0b71fec6f08897dacf3d6632526618acca (diff) |
Cleanup: comment line length (editors)
Prevents clang-format wrapping text before comments.
Diffstat (limited to 'source/blender/editors/space_text/text_format.h')
-rw-r--r-- | source/blender/editors/space_text/text_format.h | 30 |
1 files changed, 20 insertions, 10 deletions
diff --git a/source/blender/editors/space_text/text_format.h b/source/blender/editors/space_text/text_format.h index 5912dc2402c..0259f24e487 100644 --- a/source/blender/editors/space_text/text_format.h +++ b/source/blender/editors/space_text/text_format.h @@ -83,16 +83,26 @@ typedef struct TextFormatType { } TextFormatType; enum { - FMT_TYPE_WHITESPACE = '_', /* Whitespace */ - FMT_TYPE_COMMENT = '#', /* Comment text */ - FMT_TYPE_SYMBOL = '!', /* Punctuation and other symbols */ - FMT_TYPE_NUMERAL = 'n', /* Numerals */ - FMT_TYPE_STRING = 'l', /* String letters */ - FMT_TYPE_DIRECTIVE = 'd', /* Decorator / Preprocessor directive */ - FMT_TYPE_SPECIAL = 'v', /* Special variables (class, def) */ - FMT_TYPE_RESERVED = 'r', /* Reserved keywords currently not in use, but still prohibited (OSL -> switch e.g.) */ - FMT_TYPE_KEYWORD = 'b', /* Built-in names (return, for, etc.) */ - FMT_TYPE_DEFAULT = 'q', /* Regular text (identifiers, etc.) */ + /** Whitespace */ + FMT_TYPE_WHITESPACE = '_', + /** Comment text */ + FMT_TYPE_COMMENT = '#', + /** Punctuation and other symbols */ + FMT_TYPE_SYMBOL = '!', + /** Numerals */ + FMT_TYPE_NUMERAL = 'n', + /** String letters */ + FMT_TYPE_STRING = 'l', + /** Decorator / Preprocessor directive */ + FMT_TYPE_DIRECTIVE = 'd', + /** Special variables (class, def) */ + FMT_TYPE_SPECIAL = 'v', + /** Reserved keywords currently not in use, but still prohibited (OSL -> switch e.g.) */ + FMT_TYPE_RESERVED = 'r', + /** Built-in names (return, for, etc.) */ + FMT_TYPE_KEYWORD = 'b', + /** Regular text (identifiers, etc.) */ + FMT_TYPE_DEFAULT = 'q', }; TextFormatType *ED_text_format_get(Text *text); |