Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/space_text/text_format.h')
-rw-r--r--source/blender/editors/space_text/text_format.h30
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);