| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- //
- // Copyright (c) 2014-2016 THUNDERBEAST GAMES LLC
- //
- // Permission is hereby granted, free of charge, to any person obtaining a copy
- // of this software and associated documentation files (the "Software"), to deal
- // in the Software without restriction, including without limitation the rights
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- // copies of the Software, and to permit persons to whom the Software is
- // furnished to do so, subject to the following conditions:
- //
- // The above copyright notice and this permission notice shall be included in
- // all copies or substantial portions of the Software.
- //
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- // THE SOFTWARE.
- //
- #pragma once
- namespace AtomicEditor
- {
- // //http://hilightjs.org
- enum JSThemeColor
- {
- JSTHEME_NORMAL,
- JSTHEME_LITERAL_STRING,
- JSTHEME_LITERAL_BOOLEAN,
- JSTHEME_LITERAL_NUMBER,
- JSTHEME_LITERAL_REGEX,
- JSTHEME_LITERAL_NULL,
- JSTHEME_KEYWORD,
- JSTHEME_OPERATOR,
- JSTHEME_FUNCTION,
- JSTHEME_VAR,
- JSTHEME_CODE,
- JSTHEME_COMMENT,
- JSTHEME_FUNCTIONDECLARG
- };
- }
- /*
- .hljs {
- display: block;
- overflow-x: auto;
- padding: 0.5em;
- background: #23241f;
- -webkit-text-size-adjust: none;
- }
- .hljs,
- .hljs-tag,
- .css .hljs-rules,
- .css .hljs-value,
- .aspectj .hljs-function,
- .css .hljs-function
- .hljs-preprocessor,
- .hljs-pragma {
- color: #f8f8f2;
- }
- .hljs-strongemphasis,
- .hljs-strong,
- .hljs-emphasis {
- color: #a8a8a2;
- }
- .hljs-bullet,
- .hljs-blockquote,
- .hljs-horizontal_rule,
- .hljs-number,
- .hljs-regexp,
- .alias .hljs-keyword,
- .hljs-literal,
- .hljs-hexcolor {
- color: #ae81ff;
- }
- .hljs-tag .hljs-value,
- .hljs-code,
- .hljs-title,
- .css .hljs-class,
- .hljs-class .hljs-title:last-child {
- color: #a6e22e;
- }
- .hljs-link_url {
- font-size: 80%;
- }
- .hljs-strong,
- .hljs-strongemphasis {
- font-weight: bold;
- }
- .hljs-emphasis,
- .hljs-strongemphasis,
- .hljs-class .hljs-title:last-child,
- .hljs-typename {
- font-style: italic;
- }
- .hljs-keyword,
- .ruby .hljs-class .hljs-keyword:first-child,
- .ruby .hljs-function .hljs-keyword,
- .hljs-function,
- .hljs-change,
- .hljs-winutils,
- .hljs-flow,
- .nginx .hljs-title,
- .tex .hljs-special,
- .hljs-header,
- .hljs-attribute,
- .hljs-symbol,
- .hljs-symbol .hljs-string,
- .hljs-tag .hljs-title,
- .hljs-value,
- .alias .hljs-keyword:first-child,
- .css .hljs-tag,
- .css .unit,
- .css .hljs-important {
- color: #f92672;
- }
- .hljs-function .hljs-keyword,
- .hljs-class .hljs-keyword:first-child,
- .hljs-aspect .hljs-keyword:first-child,
- .hljs-constant,
- .hljs-typename,
- .css .hljs-attribute {
- color: #66d9ef;
- }
- .hljs-variable,
- .hljs-params,
- .hljs-class .hljs-title,
- .hljs-aspect .hljs-title {
- color: #f8f8f2;
- }
- .hljs-string,
- .css .hljs-id,
- .hljs-subst,
- .hljs-type,
- .ruby .hljs-class .hljs-parent,
- .hljs-built_in,
- .django .hljs-template_tag,
- .django .hljs-variable,
- .smalltalk .hljs-class,
- .django .hljs-filter .hljs-argument,
- .smalltalk .hljs-localvars,
- .smalltalk .hljs-array,
- .hljs-attr_selector,
- .hljs-pseudo,
- .hljs-addition,
- .hljs-stream,
- .hljs-envvar,
- .apache .hljs-tag,
- .apache .hljs-cbracket,
- .tex .hljs-command,
- .hljs-prompt,
- .hljs-link_label,
- .hljs-link_url {
- color: #e6db74;
- }
- .hljs-comment,
- .hljs-javadoc,
- .hljs-annotation,
- .hljs-decorator,
- .hljs-pi,
- .hljs-doctype,
- .hljs-deletion,
- .hljs-shebang,
- .apache .hljs-sqbracket,
- .tex .hljs-formula {
- color: #75715e;
- }
- .coffeescript .javascript,
- .javascript .xml,
- .tex .hljs-formula,
- .xml .javascript,
- .xml .vbscript,
- .xml .css,
- .xml .hljs-cdata,
- .xml .php,
- .php .xml {
- opacity: 0.5;
- }
- */
|