codemirror-rails 3.18 → 3.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codemirror/rails/version.rb +2 -2
- data/vendor/assets/javascripts/codemirror.js +42 -19
- data/vendor/assets/javascripts/codemirror/addons/edit/closetag.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/edit/continuelist.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/fold/foldcode.js +6 -4
- data/vendor/assets/javascripts/codemirror/addons/fold/foldgutter.js +2 -0
- data/vendor/assets/javascripts/codemirror/addons/fold/indent-fold.js +21 -7
- data/vendor/assets/javascripts/codemirror/addons/hint/javascript-hint.js +3 -19
- data/vendor/assets/javascripts/codemirror/addons/hint/sql-hint.js +105 -0
- data/vendor/assets/javascripts/codemirror/addons/hint/xml-hint.js +1 -0
- data/vendor/assets/javascripts/codemirror/addons/search/search.js +2 -0
- data/vendor/assets/javascripts/codemirror/addons/tern/tern.js +1 -1
- data/vendor/assets/javascripts/codemirror/addons/wrap/hardwrap.js +99 -0
- data/vendor/assets/javascripts/codemirror/keymaps/vim.js +55 -17
- data/vendor/assets/javascripts/codemirror/modes/coffeescript.js +314 -313
- data/vendor/assets/javascripts/codemirror/modes/css.js +19 -7
- data/vendor/assets/javascripts/codemirror/modes/eiffel.js +147 -0
- data/vendor/assets/javascripts/codemirror/modes/gfm.js +2 -1
- data/vendor/assets/javascripts/codemirror/modes/gherkin.js +168 -0
- data/vendor/assets/javascripts/codemirror/modes/less.js +110 -22
- data/vendor/assets/javascripts/codemirror/modes/php.js +4 -4
- data/vendor/assets/javascripts/codemirror/modes/smartymixed.js +6 -1
- data/vendor/assets/javascripts/codemirror/modes/sql.js +15 -2
- data/vendor/assets/javascripts/codemirror/modes/xml.js +7 -3
- data/vendor/assets/stylesheets/codemirror.css +1 -1
- data/vendor/assets/stylesheets/codemirror/addons/fold/foldgutter.css +21 -0
- data/vendor/assets/stylesheets/codemirror/addons/lint/lint.css +1 -0
- data/vendor/assets/stylesheets/codemirror/themes/3024-day.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/3024-night.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/ambiance.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/base16-dark.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/base16-light.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/blackboard.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/cobalt.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/eclipse.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/elegant.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/erlang-dark.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/lesser-dark.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/mbo.css +35 -0
- data/vendor/assets/stylesheets/codemirror/themes/midnight.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/monokai.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/night.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/paraiso-dark.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/paraiso-light.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/rubyblue.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/solarized.css +7 -7
- data/vendor/assets/stylesheets/codemirror/themes/the-matrix.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/tomorrow-night-eighties.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/twilight.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/xq-dark.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/xq-light.css +1 -1
- metadata +7 -1
@@ -18,10 +18,10 @@
|
|
18
18
|
"for foreach function global goto if implements interface instanceof namespace " +
|
19
19
|
"new or private protected public static switch throw trait try use var while xor " +
|
20
20
|
"die echo empty exit eval include include_once isset list require require_once return " +
|
21
|
-
"print unset __halt_compiler self static parent"),
|
22
|
-
blockKeywords: keywords("catch do else elseif for foreach if switch try while"),
|
23
|
-
atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__"),
|
24
|
-
builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport echo print global static exit array empty eval isset unset die include require include_once require_once"),
|
21
|
+
"print unset __halt_compiler self static parent yield insteadof finally"),
|
22
|
+
blockKeywords: keywords("catch do else elseif for foreach if switch try while finally"),
|
23
|
+
atoms: keywords("true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__"),
|
24
|
+
builtin: keywords("func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once"),
|
25
25
|
multiLineStrings: true,
|
26
26
|
hooks: {
|
27
27
|
"$": function(stream) {
|
@@ -58,7 +58,12 @@ CodeMirror.defineMode("smartymixed", function(config) {
|
|
58
58
|
|
59
59
|
parsers = {
|
60
60
|
html: function(stream, state) {
|
61
|
-
if (!state.inLiteral && stream.match(regs.htmlHasLeftDelimeter, false)) {
|
61
|
+
if (!state.inLiteral && stream.match(regs.htmlHasLeftDelimeter, false) && state.htmlMixedState.htmlState.tagName === null) {
|
62
|
+
state.tokenize = parsers.smarty;
|
63
|
+
state.localMode = smartyMode;
|
64
|
+
state.localState = smartyMode.startState(htmlMixedMode.indent(state.htmlMixedState, ""));
|
65
|
+
return helpers.maybeBackup(stream, settings.leftDelimiter, smartyMode.token(stream, state.localState));
|
66
|
+
} else if (!state.inLiteral && stream.match(settings.leftDelimiter, false)) {
|
62
67
|
state.tokenize = parsers.smarty;
|
63
68
|
state.localMode = smartyMode;
|
64
69
|
state.localState = smartyMode.startState(htmlMixedMode.indent(state.htmlMixedState, ""));
|
@@ -262,10 +262,23 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
|
|
262
262
|
support: set("ODBCdotTable doubleQuote binaryNumber hexNumber")
|
263
263
|
});
|
264
264
|
|
265
|
+
CodeMirror.defineMIME("text/x-mssql", {
|
266
|
+
name: "sql",
|
267
|
+
client: set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),
|
268
|
+
keywords: set(sqlKeywords + "begin trigger proc view index for add constraint key primary foreign collate clustered nonclustered"),
|
269
|
+
builtin: set("bigint numeric bit smallint decimal smallmoney int tinyint money float real char varchar text nchar nvarchar ntext binary varbinary image cursor timestamp hierarchyid uniqueidentifier sql_variant xml table "),
|
270
|
+
atoms: set("false true null unknown"),
|
271
|
+
operatorChars: /^[*+\-%<>!=]/,
|
272
|
+
dateSQL: set("date datetimeoffset datetime2 smalldatetime datetime time"),
|
273
|
+
hooks: {
|
274
|
+
"@": hookVar
|
275
|
+
}
|
276
|
+
});
|
277
|
+
|
265
278
|
CodeMirror.defineMIME("text/x-mysql", {
|
266
279
|
name: "sql",
|
267
280
|
client: set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),
|
268
|
-
keywords: set(sqlKeywords + "accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general global grant grants group groupby_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),
|
281
|
+
keywords: set(sqlKeywords + "accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group groupby_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),
|
269
282
|
builtin: set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),
|
270
283
|
atoms: set("false true null unknown"),
|
271
284
|
operatorChars: /^[*+\-%<>!=&|^]/,
|
@@ -281,7 +294,7 @@ CodeMirror.defineMode("sql", function(config, parserConfig) {
|
|
281
294
|
CodeMirror.defineMIME("text/x-mariadb", {
|
282
295
|
name: "sql",
|
283
296
|
client: set("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),
|
284
|
-
keywords: set(sqlKeywords + "accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),
|
297
|
+
keywords: set(sqlKeywords + "accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group groupby_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),
|
285
298
|
builtin: set("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),
|
286
299
|
atoms: set("false true null unknown"),
|
287
300
|
operatorChars: /^[*+\-%<>!=&|^]/,
|
@@ -76,7 +76,7 @@ CodeMirror.defineMode("xml", function(config, parserConfig) {
|
|
76
76
|
tagName = "";
|
77
77
|
var c;
|
78
78
|
while ((c = stream.eat(/[^\s\u00a0=<>\"\'\/?]/))) tagName += c;
|
79
|
-
if (!tagName) return "error";
|
79
|
+
if (!tagName) return "tag error";
|
80
80
|
type = isClose ? "closeTag" : "openTag";
|
81
81
|
state.tokenize = inTag;
|
82
82
|
return "tag";
|
@@ -109,7 +109,9 @@ CodeMirror.defineMode("xml", function(config, parserConfig) {
|
|
109
109
|
type = "equals";
|
110
110
|
return null;
|
111
111
|
} else if (ch == "<") {
|
112
|
-
|
112
|
+
state.tokenize = inText;
|
113
|
+
var next = state.tokenize(stream, state);
|
114
|
+
return next ? next + " error" : "error";
|
113
115
|
} else if (/[\'\"]/.test(ch)) {
|
114
116
|
state.tokenize = inAttribute(ch);
|
115
117
|
state.stringStartCol = stream.column();
|
@@ -298,7 +300,9 @@ CodeMirror.defineMode("xml", function(config, parserConfig) {
|
|
298
300
|
}
|
299
301
|
}
|
300
302
|
state.startOfLine = false;
|
301
|
-
|
303
|
+
if (setStyle)
|
304
|
+
style = setStyle == "error" ? style + " error" : setStyle;
|
305
|
+
return style;
|
302
306
|
},
|
303
307
|
|
304
308
|
indent: function(state, textAfter, fullLine) {
|
@@ -74,7 +74,6 @@
|
|
74
74
|
.cm-s-default .cm-string {color: #a11;}
|
75
75
|
.cm-s-default .cm-string-2 {color: #f50;}
|
76
76
|
.cm-s-default .cm-meta {color: #555;}
|
77
|
-
.cm-s-default .cm-error {color: #f00;}
|
78
77
|
.cm-s-default .cm-qualifier {color: #555;}
|
79
78
|
.cm-s-default .cm-builtin {color: #30a;}
|
80
79
|
.cm-s-default .cm-bracket {color: #997;}
|
@@ -91,6 +90,7 @@
|
|
91
90
|
.cm-em {font-style: italic;}
|
92
91
|
.cm-link {text-decoration: underline;}
|
93
92
|
|
93
|
+
.cm-s-default .cm-error {color: #f00;}
|
94
94
|
.cm-invalidchar {color: #f00;}
|
95
95
|
|
96
96
|
div.CodeMirror span.CodeMirror-matchingbracket {color: #0f0;}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
.CodeMirror-foldmarker {
|
2
|
+
color: blue;
|
3
|
+
text-shadow: #b9f 1px 1px 2px, #b9f -1px -1px 2px, #b9f 1px -1px 2px, #b9f -1px 1px 2px;
|
4
|
+
font-family: arial;
|
5
|
+
line-height: .3;
|
6
|
+
cursor: pointer;
|
7
|
+
}
|
8
|
+
.CodeMirror-foldgutter {
|
9
|
+
width: .7em;
|
10
|
+
}
|
11
|
+
.CodeMirror-foldgutter-open,
|
12
|
+
.CodeMirror-foldgutter-folded {
|
13
|
+
color: #555;
|
14
|
+
cursor: pointer;
|
15
|
+
}
|
16
|
+
.CodeMirror-foldgutter-open:after {
|
17
|
+
content: "\25BE";
|
18
|
+
}
|
19
|
+
.CodeMirror-foldgutter-folded:after {
|
20
|
+
content: "\25B8";
|
21
|
+
}
|
@@ -25,10 +25,10 @@
|
|
25
25
|
.cm-s-3024-day span.cm-variable {color: #01a252;}
|
26
26
|
.cm-s-3024-day span.cm-variable-2 {color: #01a0e4;}
|
27
27
|
.cm-s-3024-day span.cm-def {color: #e8bbd0;}
|
28
|
-
.cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;}
|
29
28
|
.cm-s-3024-day span.cm-bracket {color: #3a3432;}
|
30
29
|
.cm-s-3024-day span.cm-tag {color: #db2d20;}
|
31
30
|
.cm-s-3024-day span.cm-link {color: #a16a94;}
|
31
|
+
.cm-s-3024-day span.cm-error {background: #db2d20; color: #5c5855;}
|
32
32
|
|
33
33
|
.cm-s-3024-day .CodeMirror-activeline-background {background: #e8f2ff !important;}
|
34
34
|
.cm-s-3024-day .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -25,10 +25,10 @@
|
|
25
25
|
.cm-s-3024-night span.cm-variable {color: #01a252;}
|
26
26
|
.cm-s-3024-night span.cm-variable-2 {color: #01a0e4;}
|
27
27
|
.cm-s-3024-night span.cm-def {color: #e8bbd0;}
|
28
|
-
.cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;}
|
29
28
|
.cm-s-3024-night span.cm-bracket {color: #d6d5d4;}
|
30
29
|
.cm-s-3024-night span.cm-tag {color: #db2d20;}
|
31
30
|
.cm-s-3024-night span.cm-link {color: #a16a94;}
|
31
|
+
.cm-s-3024-night span.cm-error {background: #db2d20; color: #807d7c;}
|
32
32
|
|
33
33
|
.cm-s-3024-night .CodeMirror-activeline-background {background: #2F2F2F !important;}
|
34
34
|
.cm-s-3024-night .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -15,7 +15,6 @@
|
|
15
15
|
.cm-s-ambiance .cm-string { color: #8f9d6a; }
|
16
16
|
.cm-s-ambiance .cm-string-2 { color: #9d937c; }
|
17
17
|
.cm-s-ambiance .cm-meta { color: #D2A8A1; }
|
18
|
-
.cm-s-ambiance .cm-error { color: #AF2018; }
|
19
18
|
.cm-s-ambiance .cm-qualifier { color: yellow; }
|
20
19
|
.cm-s-ambiance .cm-builtin { color: #9999cc; }
|
21
20
|
.cm-s-ambiance .cm-bracket { color: #24C2C7; }
|
@@ -26,6 +25,7 @@
|
|
26
25
|
.cm-s-ambiance .cm-hr { color: pink; }
|
27
26
|
.cm-s-ambiance .cm-link { color: #F4C20B; }
|
28
27
|
.cm-s-ambiance .cm-special { color: #FF9D00; }
|
28
|
+
.cm-s-ambiance .cm-error { color: #AF2018; }
|
29
29
|
|
30
30
|
.cm-s-ambiance .CodeMirror-matchingbracket { color: #0f0; }
|
31
31
|
.cm-s-ambiance .CodeMirror-nonmatchingbracket { color: #f22; }
|
@@ -25,10 +25,10 @@
|
|
25
25
|
.cm-s-base16-dark span.cm-variable {color: #90a959;}
|
26
26
|
.cm-s-base16-dark span.cm-variable-2 {color: #6a9fb5;}
|
27
27
|
.cm-s-base16-dark span.cm-def {color: #d28445;}
|
28
|
-
.cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;}
|
29
28
|
.cm-s-base16-dark span.cm-bracket {color: #e0e0e0;}
|
30
29
|
.cm-s-base16-dark span.cm-tag {color: #ac4142;}
|
31
30
|
.cm-s-base16-dark span.cm-link {color: #aa759f;}
|
31
|
+
.cm-s-base16-dark span.cm-error {background: #ac4142; color: #b0b0b0;}
|
32
32
|
|
33
33
|
.cm-s-base16-dark .CodeMirror-activeline-background {background: #2F2F2F !important;}
|
34
34
|
.cm-s-base16-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -25,10 +25,10 @@
|
|
25
25
|
.cm-s-base16-light span.cm-variable {color: #90a959;}
|
26
26
|
.cm-s-base16-light span.cm-variable-2 {color: #6a9fb5;}
|
27
27
|
.cm-s-base16-light span.cm-def {color: #d28445;}
|
28
|
-
.cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;}
|
29
28
|
.cm-s-base16-light span.cm-bracket {color: #202020;}
|
30
29
|
.cm-s-base16-light span.cm-tag {color: #ac4142;}
|
31
30
|
.cm-s-base16-light span.cm-link {color: #aa759f;}
|
31
|
+
.cm-s-base16-light span.cm-error {background: #ac4142; color: #505050;}
|
32
32
|
|
33
33
|
.cm-s-base16-light .CodeMirror-activeline-background {background: #DDDCDC !important;}
|
34
34
|
.cm-s-base16-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -16,13 +16,13 @@
|
|
16
16
|
.cm-s-blackboard .cm-string { color: #61CE3C; }
|
17
17
|
.cm-s-blackboard .cm-string-2 { color: #61CE3C; }
|
18
18
|
.cm-s-blackboard .cm-meta { color: #D8FA3C; }
|
19
|
-
.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
|
20
19
|
.cm-s-blackboard .cm-builtin { color: #8DA6CE; }
|
21
20
|
.cm-s-blackboard .cm-tag { color: #8DA6CE; }
|
22
21
|
.cm-s-blackboard .cm-attribute { color: #8DA6CE; }
|
23
22
|
.cm-s-blackboard .cm-header { color: #FF6400; }
|
24
23
|
.cm-s-blackboard .cm-hr { color: #AEAEAE; }
|
25
24
|
.cm-s-blackboard .cm-link { color: #8DA6CE; }
|
25
|
+
.cm-s-blackboard .cm-error { background: #9D1E15; color: #F8F8F8; }
|
26
26
|
|
27
27
|
.cm-s-blackboard .CodeMirror-activeline-background {background: #3C3636 !important;}
|
28
28
|
.cm-s-blackboard .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}
|
@@ -12,10 +12,10 @@
|
|
12
12
|
.cm-s-cobalt span.cm-meta { color: #ff9d00; }
|
13
13
|
.cm-s-cobalt span.cm-variable-2, .cm-s-cobalt span.cm-tag { color: #9effff; }
|
14
14
|
.cm-s-cobalt span.cm-variable-3, .cm-s-cobalt span.cm-def { color: white; }
|
15
|
-
.cm-s-cobalt span.cm-error { color: #9d1e15; }
|
16
15
|
.cm-s-cobalt span.cm-bracket { color: #d8d8d8; }
|
17
16
|
.cm-s-cobalt span.cm-builtin, .cm-s-cobalt span.cm-special { color: #ff9e59; }
|
18
17
|
.cm-s-cobalt span.cm-link { color: #845dc4; }
|
18
|
+
.cm-s-cobalt span.cm-error { color: #9d1e15; }
|
19
19
|
|
20
20
|
.cm-s-cobalt .CodeMirror-activeline-background {background: #002D57 !important;}
|
21
21
|
.cm-s-cobalt .CodeMirror-matchingbracket {outline:1px solid grey;color:white !important}
|
@@ -11,13 +11,13 @@
|
|
11
11
|
.cm-s-eclipse span.cm-comment {color: #3F7F5F;}
|
12
12
|
.cm-s-eclipse span.cm-string {color: #2A00FF;}
|
13
13
|
.cm-s-eclipse span.cm-string-2 {color: #f50;}
|
14
|
-
.cm-s-eclipse span.cm-error {color: #f00;}
|
15
14
|
.cm-s-eclipse span.cm-qualifier {color: #555;}
|
16
15
|
.cm-s-eclipse span.cm-builtin {color: #30a;}
|
17
16
|
.cm-s-eclipse span.cm-bracket {color: #cc7;}
|
18
17
|
.cm-s-eclipse span.cm-tag {color: #170;}
|
19
18
|
.cm-s-eclipse span.cm-attribute {color: #00c;}
|
20
19
|
.cm-s-eclipse span.cm-link {color: #219;}
|
20
|
+
.cm-s-eclipse span.cm-error {color: #f00;}
|
21
21
|
|
22
22
|
.cm-s-eclipse .CodeMirror-activeline-background {background: #e8f2ff !important;}
|
23
23
|
.cm-s-eclipse .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}
|
@@ -6,8 +6,8 @@
|
|
6
6
|
.cm-s-elegant span.cm-qualifier {color: #555;}
|
7
7
|
.cm-s-elegant span.cm-keyword {color: #730;}
|
8
8
|
.cm-s-elegant span.cm-builtin {color: #30a;}
|
9
|
-
.cm-s-elegant span.cm-error {background-color: #fdd;}
|
10
9
|
.cm-s-elegant span.cm-link {color: #762;}
|
10
|
+
.cm-s-elegant span.cm-error {background-color: #fdd;}
|
11
11
|
|
12
12
|
.cm-s-elegant .CodeMirror-activeline-background {background: #e8f2ff !important;}
|
13
13
|
.cm-s-elegant .CodeMirror-matchingbracket {outline:1px solid grey; color:black !important;}
|
@@ -10,7 +10,6 @@
|
|
10
10
|
.cm-s-erlang-dark span.cm-builtin { color: #eaa; }
|
11
11
|
.cm-s-erlang-dark span.cm-comment { color: #77f; }
|
12
12
|
.cm-s-erlang-dark span.cm-def { color: #e7a; }
|
13
|
-
.cm-s-erlang-dark span.cm-error { color: #9d1e15; }
|
14
13
|
.cm-s-erlang-dark span.cm-keyword { color: #ffee80; }
|
15
14
|
.cm-s-erlang-dark span.cm-meta { color: #50fefe; }
|
16
15
|
.cm-s-erlang-dark span.cm-number { color: #ffd0d0; }
|
@@ -25,6 +24,7 @@
|
|
25
24
|
.cm-s-erlang-dark span.cm-variable { color: #50fe50; }
|
26
25
|
.cm-s-erlang-dark span.cm-variable-2 { color: #e0e; }
|
27
26
|
.cm-s-erlang-dark span.cm-variable-3 { color: #ccc; }
|
27
|
+
.cm-s-erlang-dark span.cm-error { color: #9d1e15; }
|
28
28
|
|
29
29
|
.cm-s-erlang-dark .CodeMirror-activeline-background {background: #013461 !important;}
|
30
30
|
.cm-s-erlang-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
@@ -32,7 +32,6 @@ Ported to CodeMirror by Peter Kroon
|
|
32
32
|
.cm-s-lesser-dark span.cm-string { color: #BCD279; }
|
33
33
|
.cm-s-lesser-dark span.cm-string-2 {color: #f50;}
|
34
34
|
.cm-s-lesser-dark span.cm-meta { color: #738C73; }
|
35
|
-
.cm-s-lesser-dark span.cm-error { color: #9d1e15; }
|
36
35
|
.cm-s-lesser-dark span.cm-qualifier {color: #555;}
|
37
36
|
.cm-s-lesser-dark span.cm-builtin { color: #ff9e59; }
|
38
37
|
.cm-s-lesser-dark span.cm-bracket { color: #EBEFE7; }
|
@@ -42,6 +41,7 @@ Ported to CodeMirror by Peter Kroon
|
|
42
41
|
.cm-s-lesser-dark span.cm-quote {color: #090;}
|
43
42
|
.cm-s-lesser-dark span.cm-hr {color: #999;}
|
44
43
|
.cm-s-lesser-dark span.cm-link {color: #00c;}
|
44
|
+
.cm-s-lesser-dark span.cm-error { color: #9d1e15; }
|
45
45
|
|
46
46
|
.cm-s-lesser-dark .CodeMirror-activeline-background {background: #3C3A3A !important;}
|
47
47
|
.cm-s-lesser-dark .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
/* Based on mbonaci's Brackets mbo theme */
|
2
|
+
|
3
|
+
.cm-s-mbo.CodeMirror {background: #2c2c2c; color: #ffffe9;}
|
4
|
+
.cm-s-mbo div.CodeMirror-selected {background: #716C62 !important;}
|
5
|
+
.cm-s-mbo .CodeMirror-gutters {background: #4e4e4e; border-right: 0px;}
|
6
|
+
.cm-s-mbo .CodeMirror-linenumber {color: #dadada;}
|
7
|
+
.cm-s-mbo .CodeMirror-cursor {border-left: 1px solid #ffffec !important;}
|
8
|
+
|
9
|
+
.cm-s-mbo span.cm-comment {color: #95958a;}
|
10
|
+
.cm-s-mbo span.cm-atom {color: #00a8c6;}
|
11
|
+
.cm-s-mbo span.cm-number {color: #00a8c6;}
|
12
|
+
|
13
|
+
.cm-s-mbo span.cm-property, .cm-s-mbo span.cm-attribute {color: #9ddfe9;}
|
14
|
+
.cm-s-mbo span.cm-keyword {color: #ffb928;}
|
15
|
+
.cm-s-mbo span.cm-string {color: #ffcf6c;}
|
16
|
+
|
17
|
+
.cm-s-mbo span.cm-variable {color: #ffffec;}
|
18
|
+
.cm-s-mbo span.cm-variable-2 {color: #00a8c6;}
|
19
|
+
.cm-s-mbo span.cm-def {color: #ffffec;}
|
20
|
+
.cm-s-mbo span.cm-bracket {color: #fffffc; font-weight: bold;}
|
21
|
+
.cm-s-mbo span.cm-tag {color: #9ddfe9;}
|
22
|
+
.cm-s-mbo span.cm-link {color: #f54b07;}
|
23
|
+
.cm-s-mbo span.cm-error {background: #636363; color: #ffffec;}
|
24
|
+
|
25
|
+
.cm-s-mbo .CodeMirror-activeline-background {background: #494b41 !important;}
|
26
|
+
.cm-s-mbo .CodeMirror-matchingbracket {
|
27
|
+
text-decoration: underline;
|
28
|
+
color: #f5e107 !important;
|
29
|
+
}
|
30
|
+
|
31
|
+
div.CodeMirror span.CodeMirror-searching {
|
32
|
+
background-color: none;
|
33
|
+
background: none;
|
34
|
+
box-shadow: 0 0 0 1px #ffffec;
|
35
|
+
}
|
@@ -32,10 +32,10 @@
|
|
32
32
|
.cm-s-midnight span.cm-variable {color: #FFAA3E;}
|
33
33
|
.cm-s-midnight span.cm-variable-2 {color: #FFAA3E;}
|
34
34
|
.cm-s-midnight span.cm-def {color: #4DD;}
|
35
|
-
.cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;}
|
36
35
|
.cm-s-midnight span.cm-bracket {color: #D1EDFF;}
|
37
36
|
.cm-s-midnight span.cm-tag {color: #449;}
|
38
37
|
.cm-s-midnight span.cm-link {color: #AE81FF;}
|
38
|
+
.cm-s-midnight span.cm-error {background: #F92672; color: #F8F8F0;}
|
39
39
|
|
40
40
|
.cm-s-midnight .CodeMirror-matchingbracket {
|
41
41
|
text-decoration: underline;
|
@@ -17,10 +17,10 @@
|
|
17
17
|
.cm-s-monokai span.cm-variable {color: #a6e22e;}
|
18
18
|
.cm-s-monokai span.cm-variable-2 {color: #9effff;}
|
19
19
|
.cm-s-monokai span.cm-def {color: #fd971f;}
|
20
|
-
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}
|
21
20
|
.cm-s-monokai span.cm-bracket {color: #f8f8f2;}
|
22
21
|
.cm-s-monokai span.cm-tag {color: #f92672;}
|
23
22
|
.cm-s-monokai span.cm-link {color: #ae81ff;}
|
23
|
+
.cm-s-monokai span.cm-error {background: #f92672; color: #f8f8f0;}
|
24
24
|
|
25
25
|
.cm-s-monokai .CodeMirror-activeline-background {background: #373831 !important;}
|
26
26
|
.cm-s-monokai .CodeMirror-matchingbracket {
|
@@ -14,11 +14,11 @@
|
|
14
14
|
.cm-s-night span.cm-meta { color: #7678e2; }
|
15
15
|
.cm-s-night span.cm-variable-2, .cm-s-night span.cm-tag { color: #99b2ff; }
|
16
16
|
.cm-s-night span.cm-variable-3, .cm-s-night span.cm-def { color: white; }
|
17
|
-
.cm-s-night span.cm-error { color: #9d1e15; }
|
18
17
|
.cm-s-night span.cm-bracket { color: #8da6ce; }
|
19
18
|
.cm-s-night span.cm-comment { color: #6900a1; }
|
20
19
|
.cm-s-night span.cm-builtin, .cm-s-night span.cm-special { color: #ff9e59; }
|
21
20
|
.cm-s-night span.cm-link { color: #845dc4; }
|
21
|
+
.cm-s-night span.cm-error { color: #9d1e15; }
|
22
22
|
|
23
23
|
.cm-s-night .CodeMirror-activeline-background {background: #1C005A !important;}
|
24
24
|
.cm-s-night .CodeMirror-matchingbracket {outline:1px solid grey; color:white !important;}
|
@@ -25,10 +25,10 @@
|
|
25
25
|
.cm-s-paraiso-dark span.cm-variable {color: #48b685;}
|
26
26
|
.cm-s-paraiso-dark span.cm-variable-2 {color: #06b6ef;}
|
27
27
|
.cm-s-paraiso-dark span.cm-def {color: #f99b15;}
|
28
|
-
.cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;}
|
29
28
|
.cm-s-paraiso-dark span.cm-bracket {color: #b9b6b0;}
|
30
29
|
.cm-s-paraiso-dark span.cm-tag {color: #ef6155;}
|
31
30
|
.cm-s-paraiso-dark span.cm-link {color: #815ba4;}
|
31
|
+
.cm-s-paraiso-dark span.cm-error {background: #ef6155; color: #8d8687;}
|
32
32
|
|
33
33
|
.cm-s-paraiso-dark .CodeMirror-activeline-background {background: #4D344A !important;}
|
34
34
|
.cm-s-paraiso-dark .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -25,10 +25,10 @@
|
|
25
25
|
.cm-s-paraiso-light span.cm-variable {color: #48b685;}
|
26
26
|
.cm-s-paraiso-light span.cm-variable-2 {color: #06b6ef;}
|
27
27
|
.cm-s-paraiso-light span.cm-def {color: #f99b15;}
|
28
|
-
.cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;}
|
29
28
|
.cm-s-paraiso-light span.cm-bracket {color: #41323f;}
|
30
29
|
.cm-s-paraiso-light span.cm-tag {color: #ef6155;}
|
31
30
|
.cm-s-paraiso-light span.cm-link {color: #815ba4;}
|
31
|
+
.cm-s-paraiso-light span.cm-error {background: #ef6155; color: #776e71;}
|
32
32
|
|
33
33
|
.cm-s-paraiso-light .CodeMirror-activeline-background {background: #CFD1C4 !important;}
|
34
34
|
.cm-s-paraiso-light .CodeMirror-matchingbracket { text-decoration: underline; color: white !important;}
|
@@ -14,10 +14,10 @@
|
|
14
14
|
.cm-s-rubyblue span.cm-meta { color: #F0F; }
|
15
15
|
.cm-s-rubyblue span.cm-variable-2, .cm-s-rubyblue span.cm-tag { color: #7BD827; }
|
16
16
|
.cm-s-rubyblue span.cm-variable-3, .cm-s-rubyblue span.cm-def { color: white; }
|
17
|
-
.cm-s-rubyblue span.cm-error { color: #AF2018; }
|
18
17
|
.cm-s-rubyblue span.cm-bracket { color: #F0F; }
|
19
18
|
.cm-s-rubyblue span.cm-link { color: #F4C20B; }
|
20
19
|
.cm-s-rubyblue span.CodeMirror-matchingbracket { color:#F0F !important; }
|
21
20
|
.cm-s-rubyblue span.cm-builtin, .cm-s-rubyblue span.cm-special { color: #FF9D00; }
|
21
|
+
.cm-s-rubyblue span.cm-error { color: #AF2018; }
|
22
22
|
|
23
23
|
.cm-s-rubyblue .CodeMirror-activeline-background {background: #173047 !important;}
|
@@ -67,11 +67,6 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
67
67
|
.cm-s-solarized .cm-string-2 { color: #b58900; }
|
68
68
|
|
69
69
|
.cm-s-solarized .cm-meta { color: #859900; }
|
70
|
-
.cm-s-solarized .cm-error,
|
71
|
-
.cm-s-solarized .cm-invalidchar {
|
72
|
-
color: #586e75;
|
73
|
-
border-bottom: 1px dotted #dc322f;
|
74
|
-
}
|
75
70
|
.cm-s-solarized .cm-qualifier { color: #b58900; }
|
76
71
|
.cm-s-solarized .cm-builtin { color: #d33682; }
|
77
72
|
.cm-s-solarized .cm-bracket { color: #cb4b16; }
|
@@ -98,6 +93,11 @@ http://ethanschoonover.com/solarized/img/solarized-palette.png
|
|
98
93
|
content: "➤"; /*visualize tab character*/
|
99
94
|
color: #586e75;
|
100
95
|
}
|
96
|
+
.cm-s-solarized .cm-error,
|
97
|
+
.cm-s-solarized .cm-invalidchar {
|
98
|
+
color: #586e75;
|
99
|
+
border-bottom: 1px dotted #dc322f;
|
100
|
+
}
|
101
101
|
|
102
102
|
.cm-s-solarized.cm-s-dark .CodeMirror-selected {
|
103
103
|
background: #073642;
|
@@ -165,10 +165,10 @@ Active line. Negative margin compensates left padding of the text in the
|
|
165
165
|
view-port
|
166
166
|
*/
|
167
167
|
.cm-s-solarized.cm-s-dark .CodeMirror-activeline-background {
|
168
|
-
background: rgba(255, 255, 255, 0.
|
168
|
+
background: rgba(255, 255, 255, 0.10);
|
169
169
|
}
|
170
170
|
.cm-s-solarized.cm-s-light .CodeMirror-activeline-background {
|
171
|
-
background: rgba(0, 0, 0, 0.
|
171
|
+
background: rgba(0, 0, 0, 0.10);
|
172
172
|
}
|
173
173
|
|
174
174
|
/*
|