2005-10-13 07:08:18 -07:00
|
|
|
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4; coding: utf-8 -*-
|
|
|
|
*
|
|
|
|
* moolang-strings.h
|
|
|
|
*
|
2006-02-23 06:03:17 -08:00
|
|
|
* Copyright (C) 2004-2006 by Yevgen Muntyan <muntyan@math.tamu.edu>
|
2005-10-13 07:08:18 -07:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* See COPYING file that comes with this distribution.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __MOO_LANG_STRINGS_H__
|
|
|
|
#define __MOO_LANG_STRINGS_H__
|
|
|
|
|
|
|
|
#ifndef MOOEDIT_COMPILATION
|
|
|
|
#error "This file may not be included"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
#define DEF_STYLE_NORMAL "Normal"
|
|
|
|
#define DEF_STYLE_KEYWORD "Keyword"
|
|
|
|
#define DEF_STYLE_FUNCTION "Function"
|
|
|
|
#define DEF_STYLE_DATA_TYPE "DataType"
|
|
|
|
#define DEF_STYLE_DECIMAL "Decimal"
|
|
|
|
#define DEF_STYLE_BASE_N "BaseN" /* octal and hex */
|
|
|
|
#define DEF_STYLE_FLOAT "Float"
|
|
|
|
#define DEF_STYLE_CHAR "Char"
|
|
|
|
#define DEF_STYLE_STRING "String"
|
|
|
|
#define DEF_STYLE_COMMENT "Comment"
|
|
|
|
#define DEF_STYLE_ALERT "Alert"
|
|
|
|
#define DEF_STYLE_ERROR "Error"
|
|
|
|
#define DEF_STYLE_OTHERS "Others"
|
|
|
|
#define DEF_STYLE_PREPROCESSOR "Preprocessor"
|
|
|
|
|
2006-04-26 16:19:06 -07:00
|
|
|
#define SCHEME_DEFAULT "Default"
|
2005-10-13 07:08:18 -07:00
|
|
|
|
|
|
|
#define SCHEME_ELM "scheme"
|
|
|
|
#define DEFAULT_STYLE_ELM "default-style"
|
|
|
|
#define SCHEME_NAME_PROP "name"
|
|
|
|
#define DEFAULT_SCHEME_PROP "default-scheme"
|
2005-10-16 22:23:40 -07:00
|
|
|
#define SCHEME_BASE_SCHEME_PROP "base"
|
2005-10-13 07:08:18 -07:00
|
|
|
#define SCHEME_FOREGROUND_PROP "foreground"
|
|
|
|
#define SCHEME_BACKGROUND_PROP "background"
|
|
|
|
#define SCHEME_SEL_FOREGROUND_PROP "selected-foreground"
|
|
|
|
#define SCHEME_SEL_BACKGROUND_PROP "selected-background"
|
|
|
|
#define SCHEME_CURRENT_LINE_PROP "current-line"
|
|
|
|
#define BRACKET_MATCH_ELM "bracket-match"
|
|
|
|
#define BRACKET_MISMATCH_ELM "bracket-mismatch"
|
|
|
|
|
|
|
|
#define LANGUAGE_ELM "language"
|
|
|
|
#define GENERAL_ELM "general"
|
|
|
|
#define KEYWORD_LIST_ELM "keyword-list"
|
|
|
|
#define CONTEXT_ELM "context"
|
|
|
|
#define SYNTAX_ELM "syntax"
|
|
|
|
#define STYLE_ELM "style"
|
|
|
|
#define STYLE_LIST_ELM "styles"
|
|
|
|
#define KEYWORD_ELM "keyword"
|
|
|
|
#define BRACKETS_ELM "brackets"
|
|
|
|
#define COMMENTS_ELM "comments"
|
|
|
|
#define SINGLE_LINE_ELM "single-line"
|
|
|
|
#define MULTI_LINE_ELM "multi-line"
|
2005-10-16 22:23:40 -07:00
|
|
|
#define SAMPLE_CODE_ELM "sample-code"
|
2005-10-13 07:08:18 -07:00
|
|
|
|
|
|
|
#define LANG_NAME_PROP "name"
|
|
|
|
#define LANG_VERSION_PROP "version"
|
|
|
|
#define LANG_SECTION_PROP "section"
|
|
|
|
#define LANG_MIME_TYPES_PROP "mimetypes"
|
|
|
|
#define LANG_EXTENSIONS_PROP "extensions"
|
|
|
|
#define LANG_AUTHOR_PROP "author"
|
|
|
|
#define LANG_HIDDEN_PROP "hidden"
|
|
|
|
|
|
|
|
#define KEYWORD_NAME_PROP "name"
|
2006-04-26 22:04:06 -07:00
|
|
|
#define KEYWORD_WBNDRY_PROP "word-boundary"
|
2006-04-26 22:17:04 -07:00
|
|
|
#define KEYWORD_PREFIX_PROP "prefix"
|
|
|
|
#define KEYWORD_SUFFIX_PROP "suffix"
|
2005-10-13 07:08:18 -07:00
|
|
|
|
|
|
|
#define CONTEXT_NAME_PROP "name"
|
|
|
|
#define CONTEXT_STYLE_PROP "style"
|
2005-11-10 07:45:26 -08:00
|
|
|
#define CONTEXT_EOL_CTX_PROP "eol-context"
|
2005-10-13 07:08:18 -07:00
|
|
|
|
|
|
|
#define CONTEXT_STAY "#stay"
|
|
|
|
#define CONTEXT_POP "#pop"
|
|
|
|
|
|
|
|
#define STYLE_NAME_PROP "name"
|
|
|
|
#define STYLE_DEF_STYLE_PROP "default-style"
|
|
|
|
#define STYLE_BOLD_PROP "bold"
|
|
|
|
#define STYLE_ITALIC_PROP "italic"
|
|
|
|
#define STYLE_UNDERLINE_PROP "underline"
|
|
|
|
#define STYLE_STRIKETHROUGH_PROP "strikethrough"
|
|
|
|
#define STYLE_FOREGROUND_PROP "foreground"
|
|
|
|
#define STYLE_BACKGROUND_PROP "background"
|
|
|
|
|
|
|
|
#define COMMENT_START_PROP "start"
|
|
|
|
#define COMMENT_END_PROP "end"
|
|
|
|
|
|
|
|
#define RULE_STYLE_PROP "style"
|
|
|
|
#define RULE_CTX_PROP "context"
|
2005-11-10 07:45:26 -08:00
|
|
|
#define RULE_INCLUDE_EOL_PROP "include-eol"
|
2005-10-13 07:08:18 -07:00
|
|
|
#define RULE_INCLUDE_PROP "include-into-next"
|
|
|
|
#define RULE_BOL_PROP "bol-only"
|
|
|
|
#define RULE_FIRST_NON_BLANK_PROP "first-non-blank-only"
|
|
|
|
#define RULE_FIRST_LINE_PROP "first-line-only"
|
|
|
|
#define RULE_CASELESS_PROP "caseless"
|
|
|
|
|
|
|
|
#define RULE_INCLUDE_RULES_ELM "IncludeRules"
|
|
|
|
#define RULE_ASCII_STRING_ELM "String"
|
|
|
|
#define RULE_REGEX_ELM "Regex"
|
|
|
|
#define RULE_ASCII_CHAR_ELM "Char"
|
|
|
|
#define RULE_ASCII_2CHAR_ELM "TwoChars"
|
2005-11-09 08:40:51 -08:00
|
|
|
#define RULE_ASCII_ANY_CHAR_ELM "AnyChar"
|
2005-10-13 07:08:18 -07:00
|
|
|
#define RULE_KEYWORDS_ELM "Keyword"
|
2005-11-09 09:17:30 -08:00
|
|
|
#define RULE_INT_ELM "Int"
|
2005-11-10 07:45:26 -08:00
|
|
|
#define RULE_FLOAT_ELM "Float"
|
|
|
|
#define RULE_HEX_ELM "Hex"
|
|
|
|
#define RULE_OCTAL_ELM "Octal"
|
|
|
|
#define RULE_C_CHAR_ELM "CChar"
|
|
|
|
#define RULE_ESCAPED_CHAR_ELM "EscapedChar"
|
|
|
|
#define RULE_WHITESPACE_ELM "Whitespace"
|
|
|
|
#define RULE_IDENTIFIER_ELM "Identifier"
|
|
|
|
#define RULE_LINE_CONTINUE_ELM "LineContinue"
|
2005-10-13 07:08:18 -07:00
|
|
|
|
|
|
|
#define RULE_STRING_STRING_PROP "string"
|
|
|
|
#define RULE_REGEX_PATTERN_PROP "pattern"
|
|
|
|
#define RULE_REGEX_NON_EMPTY_PROP "non-empty"
|
|
|
|
#define RULE_CHAR_CHAR_PROP "char"
|
|
|
|
#define RULE_2CHAR_CHAR1_PROP "char1"
|
|
|
|
#define RULE_2CHAR_CHAR2_PROP "char2"
|
2005-11-09 08:40:51 -08:00
|
|
|
#define RULE_ANY_CHAR_CHARS_PROP "chars"
|
2005-10-13 07:08:18 -07:00
|
|
|
#define RULE_KEYWORDS_KEYWORD_PROP "keyword"
|
|
|
|
#define RULE_INCLUDE_FROM_PROP "from"
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __MOO_LANG_STRINGS_H__ */
|