marty 0.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +84 -0
- data/Rakefile +29 -0
- data/app/assets/javascripts/marty/application.js +15 -0
- data/app/assets/stylesheets/marty/application.css +13 -0
- data/app/components/marty/api_auth_view.rb +32 -0
- data/app/components/marty/auth_app.rb +55 -0
- data/app/components/marty/auth_app.rb~ +51 -0
- data/app/components/marty/auth_app/javascripts/auth_app.js +91 -0
- data/app/components/marty/auth_app/javascripts/auth_app.js~ +91 -0
- data/app/components/marty/cm_form_panel.rb~ +5 -0
- data/app/components/marty/cm_grid_panel.rb~ +35 -0
- data/app/components/marty/data_import_view.rb~ +142 -0
- data/app/components/marty/extras/layout.rb +46 -0
- data/app/components/marty/extras/layout.rb~ +46 -0
- data/app/components/marty/extras/misc.rb +18 -0
- data/app/components/marty/form.rb +6 -0
- data/app/components/marty/grid.rb +45 -0
- data/app/components/marty/grid_append_only.rb +12 -0
- data/app/components/marty/import_type_view.rb +53 -0
- data/app/components/marty/live_search_grid_panel.rb +46 -0
- data/app/components/marty/live_search_grid_panel.rb~ +49 -0
- data/app/components/marty/main_auth_app.rb +269 -0
- data/app/components/marty/main_auth_app.rb~ +238 -0
- data/app/components/marty/mcfly_grid_panel.rb +62 -0
- data/app/components/marty/mcfly_grid_panel.rb~ +80 -0
- data/app/components/marty/new_posting_form.rb +46 -0
- data/app/components/marty/new_posting_form.rb~ +46 -0
- data/app/components/marty/new_posting_window.rb +21 -0
- data/app/components/marty/new_posting_window.rb~ +21 -0
- data/app/components/marty/panel.rb +12 -0
- data/app/components/marty/pivot_grid.rb +52 -0
- data/app/components/marty/pivot_grid/endpoints.rb +45 -0
- data/app/components/marty/pivot_grid/javascripts/extensions.js +150 -0
- data/app/components/marty/pivot_grid/javascripts/pivot_grid.js +86 -0
- data/app/components/marty/pivot_grid/services.rb +44 -0
- data/app/components/marty/posting_grid.rb +139 -0
- data/app/components/marty/posting_grid.rb~ +140 -0
- data/app/components/marty/posting_window.rb +27 -0
- data/app/components/marty/promise_view.rb +177 -0
- data/app/components/marty/promise_view.rb~ +157 -0
- data/app/components/marty/promise_view/stylesheets/promise_view.css +26 -0
- data/app/components/marty/promise_view/stylesheets/promise_view.css~ +15 -0
- data/app/components/marty/report_form.rb +225 -0
- data/app/components/marty/report_form.rb~ +217 -0
- data/app/components/marty/report_select.rb +145 -0
- data/app/components/marty/report_select.rb~ +133 -0
- data/app/components/marty/reporting.rb +39 -0
- data/app/components/marty/reporting.rb~ +39 -0
- data/app/components/marty/script_detail.rb~ +430 -0
- data/app/components/marty/script_form.rb +233 -0
- data/app/components/marty/script_form.rb~ +233 -0
- data/app/components/marty/script_form/javascripts/Ext.ux.form.field.CodeMirror.js +698 -0
- data/app/components/marty/script_form/javascripts/Ext.ux.form.field.CodeMirror.js~ +909 -0
- data/app/components/marty/script_form/javascripts/codemirror.js +3130 -0
- data/app/components/marty/script_form/javascripts/mode/clike/clike.js +284 -0
- data/app/components/marty/script_form/javascripts/mode/clike/index.html +102 -0
- data/app/components/marty/script_form/javascripts/mode/clike/scala.html +766 -0
- data/app/components/marty/script_form/javascripts/mode/clojure/clojure.js +206 -0
- data/app/components/marty/script_form/javascripts/mode/clojure/index.html +67 -0
- data/app/components/marty/script_form/javascripts/mode/coffeescript/LICENSE +22 -0
- data/app/components/marty/script_form/javascripts/mode/coffeescript/coffeescript.js +346 -0
- data/app/components/marty/script_form/javascripts/mode/coffeescript/index.html +728 -0
- data/app/components/marty/script_form/javascripts/mode/commonlisp/commonlisp.js +101 -0
- data/app/components/marty/script_form/javascripts/mode/commonlisp/index.html +165 -0
- data/app/components/marty/script_form/javascripts/mode/css/css.js +448 -0
- data/app/components/marty/script_form/javascripts/mode/css/index.html +58 -0
- data/app/components/marty/script_form/javascripts/mode/css/test.js +501 -0
- data/app/components/marty/script_form/javascripts/mode/delorean/delorean.js +189 -0
- data/app/components/marty/script_form/javascripts/mode/diff/diff.js +32 -0
- data/app/components/marty/script_form/javascripts/mode/diff/index.html +105 -0
- data/app/components/marty/script_form/javascripts/mode/ecl/ecl.js +203 -0
- data/app/components/marty/script_form/javascripts/mode/ecl/index.html +42 -0
- data/app/components/marty/script_form/javascripts/mode/erlang/erlang.js +463 -0
- data/app/components/marty/script_form/javascripts/mode/erlang/index.html +63 -0
- data/app/components/marty/script_form/javascripts/mode/gfm/gfm.js +150 -0
- data/app/components/marty/script_form/javascripts/mode/gfm/index.html +48 -0
- data/app/components/marty/script_form/javascripts/mode/go/go.js +170 -0
- data/app/components/marty/script_form/javascripts/mode/go/index.html +73 -0
- data/app/components/marty/script_form/javascripts/mode/groovy/groovy.js +210 -0
- data/app/components/marty/script_form/javascripts/mode/groovy/index.html +72 -0
- data/app/components/marty/script_form/javascripts/mode/haskell/haskell.js +242 -0
- data/app/components/marty/script_form/javascripts/mode/haskell/index.html +61 -0
- data/app/components/marty/script_form/javascripts/mode/haxe/haxe.js +429 -0
- data/app/components/marty/script_form/javascripts/mode/haxe/index.html +91 -0
- data/app/components/marty/script_form/javascripts/mode/htmlembedded/htmlembedded.js +72 -0
- data/app/components/marty/script_form/javascripts/mode/htmlembedded/index.html +50 -0
- data/app/components/marty/script_form/javascripts/mode/htmlmixed/htmlmixed.js +84 -0
- data/app/components/marty/script_form/javascripts/mode/htmlmixed/index.html +52 -0
- data/app/components/marty/script_form/javascripts/mode/javascript/index.html +78 -0
- data/app/components/marty/script_form/javascripts/mode/javascript/javascript.js +361 -0
- data/app/components/marty/script_form/javascripts/mode/jinja2/index.html +38 -0
- data/app/components/marty/script_form/javascripts/mode/jinja2/jinja2.js +42 -0
- data/app/components/marty/script_form/javascripts/mode/less/index.html +740 -0
- data/app/components/marty/script_form/javascripts/mode/less/less.js +266 -0
- data/app/components/marty/script_form/javascripts/mode/lua/index.html +73 -0
- data/app/components/marty/script_form/javascripts/mode/lua/lua.js +140 -0
- data/app/components/marty/script_form/javascripts/mode/markdown/index.html +343 -0
- data/app/components/marty/script_form/javascripts/mode/markdown/markdown.js +382 -0
- data/app/components/marty/script_form/javascripts/mode/markdown/test.js +1084 -0
- data/app/components/marty/script_form/javascripts/mode/mysql/index.html +42 -0
- data/app/components/marty/script_form/javascripts/mode/mysql/mysql.js +186 -0
- data/app/components/marty/script_form/javascripts/mode/ntriples/index.html +33 -0
- data/app/components/marty/script_form/javascripts/mode/ntriples/ntriples.js +172 -0
- data/app/components/marty/script_form/javascripts/mode/ocaml/index.html +130 -0
- data/app/components/marty/script_form/javascripts/mode/ocaml/ocaml.js +114 -0
- data/app/components/marty/script_form/javascripts/mode/pascal/LICENSE +7 -0
- data/app/components/marty/script_form/javascripts/mode/pascal/index.html +49 -0
- data/app/components/marty/script_form/javascripts/mode/pascal/pascal.js +94 -0
- data/app/components/marty/script_form/javascripts/mode/perl/LICENSE +19 -0
- data/app/components/marty/script_form/javascripts/mode/perl/index.html +63 -0
- data/app/components/marty/script_form/javascripts/mode/perl/perl.js +816 -0
- data/app/components/marty/script_form/javascripts/mode/php/index.html +49 -0
- data/app/components/marty/script_form/javascripts/mode/php/php.js +148 -0
- data/app/components/marty/script_form/javascripts/mode/pig/index.html +43 -0
- data/app/components/marty/script_form/javascripts/mode/pig/pig.js +172 -0
- data/app/components/marty/script_form/javascripts/mode/plsql/index.html +63 -0
- data/app/components/marty/script_form/javascripts/mode/plsql/plsql.js +217 -0
- data/app/components/marty/script_form/javascripts/mode/properties/index.html +41 -0
- data/app/components/marty/script_form/javascripts/mode/properties/properties.js +63 -0
- data/app/components/marty/script_form/javascripts/mode/python/LICENSE.txt +21 -0
- data/app/components/marty/script_form/javascripts/mode/python/index.html +123 -0
- data/app/components/marty/script_form/javascripts/mode/python/python.js +338 -0
- data/app/components/marty/script_form/javascripts/mode/r/LICENSE +24 -0
- data/app/components/marty/script_form/javascripts/mode/r/index.html +74 -0
- data/app/components/marty/script_form/javascripts/mode/r/r.js +141 -0
- data/app/components/marty/script_form/javascripts/mode/rpm/changes/changes.js +19 -0
- data/app/components/marty/script_form/javascripts/mode/rpm/changes/index.html +54 -0
- data/app/components/marty/script_form/javascripts/mode/rpm/spec/index.html +100 -0
- data/app/components/marty/script_form/javascripts/mode/rpm/spec/spec.css +5 -0
- data/app/components/marty/script_form/javascripts/mode/rpm/spec/spec.js +66 -0
- data/app/components/marty/script_form/javascripts/mode/rst/index.html +526 -0
- data/app/components/marty/script_form/javascripts/mode/rst/rst.js +326 -0
- data/app/components/marty/script_form/javascripts/mode/ruby/LICENSE +24 -0
- data/app/components/marty/script_form/javascripts/mode/ruby/index.html +172 -0
- data/app/components/marty/script_form/javascripts/mode/ruby/ruby.js +195 -0
- data/app/components/marty/script_form/javascripts/mode/rust/index.html +49 -0
- data/app/components/marty/script_form/javascripts/mode/rust/rust.js +432 -0
- data/app/components/marty/script_form/javascripts/mode/scheme/index.html +65 -0
- data/app/components/marty/script_form/javascripts/mode/scheme/scheme.js +230 -0
- data/app/components/marty/script_form/javascripts/mode/shell/index.html +50 -0
- data/app/components/marty/script_form/javascripts/mode/shell/shell.js +118 -0
- data/app/components/marty/script_form/javascripts/mode/sieve/LICENSE +23 -0
- data/app/components/marty/script_form/javascripts/mode/sieve/index.html +81 -0
- data/app/components/marty/script_form/javascripts/mode/sieve/sieve.js +156 -0
- data/app/components/marty/script_form/javascripts/mode/smalltalk/index.html +56 -0
- data/app/components/marty/script_form/javascripts/mode/smalltalk/smalltalk.js +139 -0
- data/app/components/marty/script_form/javascripts/mode/smarty/index.html +83 -0
- data/app/components/marty/script_form/javascripts/mode/smarty/smarty.js +148 -0
- data/app/components/marty/script_form/javascripts/mode/sparql/index.html +41 -0
- data/app/components/marty/script_form/javascripts/mode/sparql/sparql.js +143 -0
- data/app/components/marty/script_form/javascripts/mode/stex/index.html +98 -0
- data/app/components/marty/script_form/javascripts/mode/stex/stex.js +182 -0
- data/app/components/marty/script_form/javascripts/mode/stex/test.js +343 -0
- data/app/components/marty/script_form/javascripts/mode/tiddlywiki/index.html +141 -0
- data/app/components/marty/script_form/javascripts/mode/tiddlywiki/tiddlywiki.css +14 -0
- data/app/components/marty/script_form/javascripts/mode/tiddlywiki/tiddlywiki.js +384 -0
- data/app/components/marty/script_form/javascripts/mode/tiki/index.html +83 -0
- data/app/components/marty/script_form/javascripts/mode/tiki/tiki.css +26 -0
- data/app/components/marty/script_form/javascripts/mode/tiki/tiki.js +309 -0
- data/app/components/marty/script_form/javascripts/mode/vb/LICENSE.txt +21 -0
- data/app/components/marty/script_form/javascripts/mode/vb/index.html +89 -0
- data/app/components/marty/script_form/javascripts/mode/vb/vb.js +260 -0
- data/app/components/marty/script_form/javascripts/mode/vbscript/index.html +43 -0
- data/app/components/marty/script_form/javascripts/mode/vbscript/vbscript.js +26 -0
- data/app/components/marty/script_form/javascripts/mode/velocity/index.html +104 -0
- data/app/components/marty/script_form/javascripts/mode/velocity/velocity.js +146 -0
- data/app/components/marty/script_form/javascripts/mode/verilog/index.html +211 -0
- data/app/components/marty/script_form/javascripts/mode/verilog/verilog.js +194 -0
- data/app/components/marty/script_form/javascripts/mode/xml/index.html +45 -0
- data/app/components/marty/script_form/javascripts/mode/xml/xml.js +318 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/LICENSE +20 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/index.html +223 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/index.html +27 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/testBase.js +42 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/testEmptySequenceKeyword.js +16 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/testMultiAttr.js +16 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/testNamespaces.js +91 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/testProcessingInstructions.js +16 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/test/testQuotes.js +19 -0
- data/app/components/marty/script_form/javascripts/mode/xquery/xquery.js +451 -0
- data/app/components/marty/script_form/javascripts/mode/yaml/index.html +68 -0
- data/app/components/marty/script_form/javascripts/mode/yaml/yaml.js +95 -0
- data/app/components/marty/script_form/javascripts/util/closetag.js +164 -0
- data/app/components/marty/script_form/javascripts/util/dialog.css +27 -0
- data/app/components/marty/script_form/javascripts/util/dialog.js +70 -0
- data/app/components/marty/script_form/javascripts/util/foldcode.js +196 -0
- data/app/components/marty/script_form/javascripts/util/formatting.js +193 -0
- data/app/components/marty/script_form/javascripts/util/javascript-hint.js +134 -0
- data/app/components/marty/script_form/javascripts/util/loadmode.js +51 -0
- data/app/components/marty/script_form/javascripts/util/match-highlighter.js +44 -0
- data/app/components/marty/script_form/javascripts/util/multiplex.js +77 -0
- data/app/components/marty/script_form/javascripts/util/overlay.js +54 -0
- data/app/components/marty/script_form/javascripts/util/pig-hint.js +123 -0
- data/app/components/marty/script_form/javascripts/util/runmode-standalone.js +90 -0
- data/app/components/marty/script_form/javascripts/util/runmode.js +53 -0
- data/app/components/marty/script_form/javascripts/util/search.js +118 -0
- data/app/components/marty/script_form/javascripts/util/searchcursor.js +119 -0
- data/app/components/marty/script_form/javascripts/util/simple-hint.css +16 -0
- data/app/components/marty/script_form/javascripts/util/simple-hint.js +97 -0
- data/app/components/marty/script_form/javascripts/util/xml-hint.js +137 -0
- data/app/components/marty/script_form/stylesheets/codemirror.css +172 -0
- data/app/components/marty/script_form/stylesheets/delorean.css +10 -0
- data/app/components/marty/script_form/stylesheets/theme/ambiance.css +81 -0
- data/app/components/marty/script_form/stylesheets/theme/blackboard.css +25 -0
- data/app/components/marty/script_form/stylesheets/theme/cobalt.css +18 -0
- data/app/components/marty/script_form/stylesheets/theme/eclipse.css +25 -0
- data/app/components/marty/script_form/stylesheets/theme/elegant.css +10 -0
- data/app/components/marty/script_form/stylesheets/theme/erlang-dark.css +21 -0
- data/app/components/marty/script_form/stylesheets/theme/lesser-dark.css +44 -0
- data/app/components/marty/script_form/stylesheets/theme/monokai.css +28 -0
- data/app/components/marty/script_form/stylesheets/theme/neat.css +9 -0
- data/app/components/marty/script_form/stylesheets/theme/night.css +21 -0
- data/app/components/marty/script_form/stylesheets/theme/rubyblue.css +21 -0
- data/app/components/marty/script_form/stylesheets/theme/vibrant-ink.css +27 -0
- data/app/components/marty/script_form/stylesheets/theme/xq-dark.css +46 -0
- data/app/components/marty/script_grid.rb +104 -0
- data/app/components/marty/script_grid.rb~ +99 -0
- data/app/components/marty/script_tester.rb +114 -0
- data/app/components/marty/script_tester.rb~ +213 -0
- data/app/components/marty/scripting.rb +132 -0
- data/app/components/marty/scripting.rb~ +124 -0
- data/app/components/marty/select_report.rb~ +143 -0
- data/app/components/marty/simple_app.rb +97 -0
- data/app/components/marty/simple_app.rb~ +101 -0
- data/app/components/marty/simple_app/javascripts/simple_app.js +50 -0
- data/app/components/marty/simple_app/javascripts/statusbar_ext.js +8 -0
- data/app/components/marty/tag_grid.rb +83 -0
- data/app/components/marty/tag_grid.rb~ +89 -0
- data/app/components/marty/tree_panel.rb~ +256 -0
- data/app/components/marty/tree_panel/javascripts/tree_panel.js~ +317 -0
- data/app/components/marty/user_pivot.rb +128 -0
- data/app/components/marty/user_view.rb +181 -0
- data/app/components/marty/user_view.rb~ +188 -0
- data/app/controllers/marty/application_controller.rb +124 -0
- data/app/controllers/marty/application_controller.rb~ +133 -0
- data/app/controllers/marty/components_controller.rb +41 -0
- data/app/controllers/marty/components_controller.rb~ +37 -0
- data/app/controllers/marty/job_controller.rb +28 -0
- data/app/controllers/marty/job_controller.rb~ +28 -0
- data/app/controllers/marty/rpc_controller.rb +64 -0
- data/app/controllers/marty/rpc_controller.rb~ +61 -0
- data/app/helpers/marty/application_helper.rb +4 -0
- data/app/helpers/marty/script_set.rb +57 -0
- data/app/helpers/marty/script_set.rb~ +59 -0
- data/app/models/marty/api_auth.rb +44 -0
- data/app/models/marty/api_auth.rb~ +48 -0
- data/app/models/marty/base.rb +4 -0
- data/app/models/marty/data_change.rb +179 -0
- data/app/models/marty/data_change.rb~ +141 -0
- data/app/models/marty/enum.rb +22 -0
- data/app/models/marty/enum.rb~ +16 -0
- data/app/models/marty/import_type.rb +44 -0
- data/app/models/marty/import_type.rb~ +48 -0
- data/app/models/marty/poop.rb~ +169 -0
- data/app/models/marty/posting.rb +101 -0
- data/app/models/marty/posting.rb~ +86 -0
- data/app/models/marty/posting_type.rb +12 -0
- data/app/models/marty/posting_type.rb~ +21 -0
- data/app/models/marty/promise.rb +252 -0
- data/app/models/marty/promise.rb~ +196 -0
- data/app/models/marty/role.rb +6 -0
- data/app/models/marty/role.rb~ +10 -0
- data/app/models/marty/script.rb +144 -0
- data/app/models/marty/script.rb~ +62 -0
- data/app/models/marty/tag.rb +96 -0
- data/app/models/marty/tag.rb~ +91 -0
- data/app/models/marty/token.rb +30 -0
- data/app/models/marty/user.rb +146 -0
- data/app/models/marty/user.rb~ +148 -0
- data/app/models/marty/user_role.rb +7 -0
- data/app/models/marty/user_role.rb~ +13 -0
- data/app/views/layouts/marty/application.html.erb +12 -0
- data/app/views/layouts/marty/application.html.erb~ +11 -0
- data/config/locales/en.yml +134 -0
- data/config/routes.rb +6 -0
- data/config/routes.rb~ +10 -0
- data/db/migrate/001_create_marty_scripts.rb +14 -0
- data/db/migrate/003_create_marty_users.rb +12 -0
- data/db/migrate/004_create_marty_roles.rb +7 -0
- data/db/migrate/005_create_marty_user_roles.rb +14 -0
- data/db/migrate/006_create_marty_tokens.rb +14 -0
- data/db/migrate/008_create_marty_posting_types.rb +7 -0
- data/db/migrate/019_create_marty_postings.rb +18 -0
- data/db/migrate/019_create_marty_postings.rb~ +19 -0
- data/db/migrate/068_create_marty_import_types.rb +12 -0
- data/db/migrate/069_create_marty_import_synonyms.rb +15 -0
- data/db/migrate/070_create_versions.rb +18 -0
- data/db/migrate/071_add_object_changes_column_to_versions.rb +9 -0
- data/db/migrate/072_add_validation_function_to_import_types.rb +6 -0
- data/db/migrate/073_add_preprocess_function_to_import_types.rb +5 -0
- data/db/migrate/090_create_delayed_jobs.rb +22 -0
- data/db/migrate/091_create_marty_promises.rb +36 -0
- data/db/migrate/095_create_marty_tags.rb +14 -0
- data/db/migrate/095_create_marty_tags.rb~ +19 -0
- data/db/migrate/096_add_user_roles_to_import_types.rb +11 -0
- data/db/migrate/097_drop_versions.rb +9 -0
- data/db/migrate/098_create_marty_api_auths.rb +20 -0
- data/db/seeds.rb +48 -0
- data/lib/marty.rb +18 -0
- data/lib/marty.rb~ +13 -0
- data/lib/marty/content_handler.rb +97 -0
- data/lib/marty/content_handler.rb~ +93 -0
- data/lib/marty/data_conversion.rb +298 -0
- data/lib/marty/data_exporter.rb +150 -0
- data/lib/marty/data_exporter.rb~ +137 -0
- data/lib/marty/data_importer.rb +122 -0
- data/lib/marty/data_importer.rb~ +114 -0
- data/lib/marty/data_row_processor.rb~ +206 -0
- data/lib/marty/drop_folder_hook.rb~ +17 -0
- data/lib/marty/engine.rb +10 -0
- data/lib/marty/folder_hook.rb~ +9 -0
- data/lib/marty/lazy_column_loader.rb +57 -0
- data/lib/marty/lazy_column_loader.rb~ +47 -0
- data/lib/marty/mcfly_query.rb +189 -0
- data/lib/marty/mcfly_query.rb~ +188 -0
- data/lib/marty/migrations.rb +108 -0
- data/lib/marty/migrations.rb~ +65 -0
- data/lib/marty/monkey.rb +163 -0
- data/lib/marty/monkey.rb~ +160 -0
- data/lib/marty/permissions.rb +64 -0
- data/lib/marty/permissions.rb~ +69 -0
- data/lib/marty/promise.rb~ +41 -0
- data/lib/marty/promise_job.rb +123 -0
- data/lib/marty/promise_job.rb~ +121 -0
- data/lib/marty/promise_proxy.rb +94 -0
- data/lib/marty/promise_proxy.rb~ +69 -0
- data/lib/marty/railtie.rb +5 -0
- data/lib/marty/relation.rb +39 -0
- data/lib/marty/util.rb +110 -0
- data/lib/marty/util.rb~ +80 -0
- data/lib/marty/version.rb +3 -0
- data/lib/marty/version.rb~ +3 -0
- data/lib/marty/xl.rb +527 -0
- data/lib/marty/xl.rb~ +526 -0
- data/lib/pyxll/README.txt +19 -0
- data/lib/pyxll/README.txt~ +16 -0
- data/lib/pyxll/gemini.py +155 -0
- data/lib/pyxll/gemini.py~ +110 -0
- data/lib/pyxll/pyxll.cfg +12 -0
- data/lib/pyxll/pyxll.cfg~ +12 -0
- data/lib/pyxll/sample.xlsx +0 -0
- data/lib/tasks/marty_tasks.rake +37 -0
- metadata +517 -0
@@ -0,0 +1,141 @@
|
|
1
|
+
<!doctype html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<title>CodeMirror: TiddlyWiki mode</title>
|
6
|
+
<link rel="stylesheet" href="../../lib/codemirror.css">
|
7
|
+
<script src="../../lib/codemirror.js"></script>
|
8
|
+
<script src="tiddlywiki.js"></script>
|
9
|
+
<link rel="stylesheet" href="tiddlywiki.css">
|
10
|
+
<link rel="stylesheet" href="../../doc/docs.css">
|
11
|
+
<style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<h1>CodeMirror: TiddlyWiki mode</h1>
|
15
|
+
|
16
|
+
<div><textarea id="code" name="code">
|
17
|
+
!TiddlyWiki Formatting
|
18
|
+
* Rendered versions can be found at: http://www.tiddlywiki.com/#Reference
|
19
|
+
|
20
|
+
|!Option | !Syntax |
|
21
|
+
|bold font | ''bold'' |
|
22
|
+
|italic type | //italic// |
|
23
|
+
|underlined text | __underlined__ |
|
24
|
+
|strikethrough text | --strikethrough-- |
|
25
|
+
|superscript text | super^^script^^ |
|
26
|
+
|subscript text | sub~~script~~ |
|
27
|
+
|highlighted text | @@highlighted@@ |
|
28
|
+
|preformatted text | {{{preformatted}}} |
|
29
|
+
|
30
|
+
!Block Elements
|
31
|
+
<<<
|
32
|
+
!Heading 1
|
33
|
+
|
34
|
+
!!Heading 2
|
35
|
+
|
36
|
+
!!!Heading 3
|
37
|
+
|
38
|
+
!!!!Heading 4
|
39
|
+
|
40
|
+
!!!!!Heading 5
|
41
|
+
<<<
|
42
|
+
|
43
|
+
!!Lists
|
44
|
+
<<<
|
45
|
+
* unordered list, level 1
|
46
|
+
** unordered list, level 2
|
47
|
+
*** unordered list, level 3
|
48
|
+
|
49
|
+
# ordered list, level 1
|
50
|
+
## ordered list, level 2
|
51
|
+
### unordered list, level 3
|
52
|
+
|
53
|
+
; definition list, term
|
54
|
+
: definition list, description
|
55
|
+
<<<
|
56
|
+
|
57
|
+
!!Blockquotes
|
58
|
+
<<<
|
59
|
+
> blockquote, level 1
|
60
|
+
>> blockquote, level 2
|
61
|
+
>>> blockquote, level 3
|
62
|
+
|
63
|
+
> blockquote
|
64
|
+
<<<
|
65
|
+
|
66
|
+
!!Preformatted Text
|
67
|
+
<<<
|
68
|
+
{{{
|
69
|
+
preformatted (e.g. code)
|
70
|
+
}}}
|
71
|
+
<<<
|
72
|
+
|
73
|
+
!!Code Sections
|
74
|
+
<<<
|
75
|
+
{{{
|
76
|
+
Text style code
|
77
|
+
}}}
|
78
|
+
|
79
|
+
//{{{
|
80
|
+
JS styled code. TiddlyWiki mixed mode should support highlighter switching in the future.
|
81
|
+
//}}}
|
82
|
+
|
83
|
+
<!--{{{-->
|
84
|
+
XML styled code. TiddlyWiki mixed mode should support highlighter switching in the future.
|
85
|
+
<!--}}}-->
|
86
|
+
<<<
|
87
|
+
|
88
|
+
!!Tables
|
89
|
+
<<<
|
90
|
+
|CssClass|k
|
91
|
+
|!heading column 1|!heading column 2|
|
92
|
+
|row 1, column 1|row 1, column 2|
|
93
|
+
|row 2, column 1|row 2, column 2|
|
94
|
+
|>|COLSPAN|
|
95
|
+
|ROWSPAN| ... |
|
96
|
+
|~| ... |
|
97
|
+
|CssProperty:value;...| ... |
|
98
|
+
|caption|c
|
99
|
+
|
100
|
+
''Annotation:''
|
101
|
+
* The {{{>}}} marker creates a "colspan", causing the current cell to merge with the one to the right.
|
102
|
+
* The {{{~}}} marker creates a "rowspan", causing the current cell to merge with the one above.
|
103
|
+
<<<
|
104
|
+
!!Images /% TODO %/
|
105
|
+
cf. [[TiddlyWiki.com|http://www.tiddlywiki.com/#EmbeddedImages]]
|
106
|
+
|
107
|
+
!Hyperlinks
|
108
|
+
* [[WikiWords|WikiWord]] are automatically transformed to hyperlinks to the respective tiddler
|
109
|
+
** the automatic transformation can be suppressed by preceding the respective WikiWord with a tilde ({{{~}}}): {{{~WikiWord}}}
|
110
|
+
* [[PrettyLinks]] are enclosed in square brackets and contain the desired tiddler name: {{{[[tiddler name]]}}}
|
111
|
+
** optionally, a custom title or description can be added, separated by a pipe character ({{{|}}}): {{{[[title|target]]}}}<br>'''N.B.:''' In this case, the target can also be any website (i.e. URL).
|
112
|
+
|
113
|
+
!Custom Styling
|
114
|
+
* {{{@@CssProperty:value;CssProperty:value;...@@}}}<br>''N.B.:'' CSS color definitions should use lowercase letters to prevent the inadvertent creation of WikiWords.
|
115
|
+
* <html><code>{{customCssClass{...}}}</code></html>
|
116
|
+
* raw HTML can be inserted by enclosing the respective code in HTML tags: {{{<html> ... </html>}}}
|
117
|
+
|
118
|
+
!Special Markers
|
119
|
+
* {{{<br>}}} forces a manual line break
|
120
|
+
* {{{----}}} creates a horizontal ruler
|
121
|
+
* [[HTML entities|http://www.tiddlywiki.com/#HtmlEntities]]
|
122
|
+
* [[HTML entities local|HtmlEntities]]
|
123
|
+
* {{{<<macroName>>}}} calls the respective [[macro|Macros]]
|
124
|
+
* To hide text within a tiddler so that it is not displayed, it can be wrapped in {{{/%}}} and {{{%/}}}.<br/>This can be a useful trick for hiding drafts or annotating complex markup.
|
125
|
+
* To prevent wiki markup from taking effect for a particular section, that section can be enclosed in three double quotes: e.g. {{{"""WikiWord"""}}}.
|
126
|
+
</textarea></div>
|
127
|
+
|
128
|
+
<script>
|
129
|
+
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
130
|
+
mode: 'tiddlywiki',
|
131
|
+
lineNumbers: true,
|
132
|
+
enterMode: 'keep',
|
133
|
+
matchBrackets: true
|
134
|
+
});
|
135
|
+
</script>
|
136
|
+
|
137
|
+
<p>TiddlyWiki mode supports a single configuration.</p>
|
138
|
+
|
139
|
+
<p><strong>MIME types defined:</strong> <code>text/x-tiddlywiki</code>.</p>
|
140
|
+
</body>
|
141
|
+
</html>
|
@@ -0,0 +1,384 @@
|
|
1
|
+
/***
|
2
|
+
|''Name''|tiddlywiki.js|
|
3
|
+
|''Description''|Enables TiddlyWikiy syntax highlighting using CodeMirror|
|
4
|
+
|''Author''|PMario|
|
5
|
+
|''Version''|0.1.7|
|
6
|
+
|''Status''|''stable''|
|
7
|
+
|''Source''|[[GitHub|https://github.com/pmario/CodeMirror2/blob/tw-syntax/mode/tiddlywiki]]|
|
8
|
+
|''Documentation''|http://codemirror.tiddlyspace.com/|
|
9
|
+
|''License''|[[MIT License|http://www.opensource.org/licenses/mit-license.php]]|
|
10
|
+
|''CoreVersion''|2.5.0|
|
11
|
+
|''Requires''|codemirror.js|
|
12
|
+
|''Keywords''|syntax highlighting color code mirror codemirror|
|
13
|
+
! Info
|
14
|
+
CoreVersion parameter is needed for TiddlyWiki only!
|
15
|
+
***/
|
16
|
+
//{{{
|
17
|
+
CodeMirror.defineMode("tiddlywiki", function (config, parserConfig) {
|
18
|
+
var indentUnit = config.indentUnit;
|
19
|
+
|
20
|
+
// Tokenizer
|
21
|
+
var textwords = function () {
|
22
|
+
function kw(type) {
|
23
|
+
return {
|
24
|
+
type: type,
|
25
|
+
style: "text"
|
26
|
+
};
|
27
|
+
}
|
28
|
+
return {};
|
29
|
+
}();
|
30
|
+
|
31
|
+
var keywords = function () {
|
32
|
+
function kw(type) {
|
33
|
+
return { type: type, style: "macro"};
|
34
|
+
}
|
35
|
+
return {
|
36
|
+
"allTags": kw('allTags'), "closeAll": kw('closeAll'), "list": kw('list'),
|
37
|
+
"newJournal": kw('newJournal'), "newTiddler": kw('newTiddler'),
|
38
|
+
"permaview": kw('permaview'), "saveChanges": kw('saveChanges'),
|
39
|
+
"search": kw('search'), "slider": kw('slider'), "tabs": kw('tabs'),
|
40
|
+
"tag": kw('tag'), "tagging": kw('tagging'), "tags": kw('tags'),
|
41
|
+
"tiddler": kw('tiddler'), "timeline": kw('timeline'),
|
42
|
+
"today": kw('today'), "version": kw('version'), "option": kw('option'),
|
43
|
+
|
44
|
+
"with": kw('with'),
|
45
|
+
"filter": kw('filter')
|
46
|
+
};
|
47
|
+
}();
|
48
|
+
|
49
|
+
var isSpaceName = /[\w_\-]/i,
|
50
|
+
reHR = /^\-\-\-\-+$/, // <hr>
|
51
|
+
reWikiCommentStart = /^\/\*\*\*$/, // /***
|
52
|
+
reWikiCommentStop = /^\*\*\*\/$/, // ***/
|
53
|
+
reBlockQuote = /^<<<$/,
|
54
|
+
|
55
|
+
reJsCodeStart = /^\/\/\{\{\{$/, // //{{{ js block start
|
56
|
+
reJsCodeStop = /^\/\/\}\}\}$/, // //}}} js stop
|
57
|
+
reXmlCodeStart = /^<!--\{\{\{-->$/, // xml block start
|
58
|
+
reXmlCodeStop = /^<!--\}\}\}-->$/, // xml stop
|
59
|
+
|
60
|
+
reCodeBlockStart = /^\{\{\{$/, // {{{ TW text div block start
|
61
|
+
reCodeBlockStop = /^\}\}\}$/, // }}} TW text stop
|
62
|
+
|
63
|
+
reCodeStart = /\{\{\{/, // {{{ code span start
|
64
|
+
reUntilCodeStop = /.*?\}\}\}/;
|
65
|
+
|
66
|
+
function chain(stream, state, f) {
|
67
|
+
state.tokenize = f;
|
68
|
+
return f(stream, state);
|
69
|
+
}
|
70
|
+
|
71
|
+
// used for strings
|
72
|
+
function nextUntilUnescaped(stream, end) {
|
73
|
+
var escaped = false,
|
74
|
+
next;
|
75
|
+
while ((next = stream.next()) != null) {
|
76
|
+
if (next == end && !escaped) return false;
|
77
|
+
escaped = !escaped && next == "\\";
|
78
|
+
}
|
79
|
+
return escaped;
|
80
|
+
}
|
81
|
+
|
82
|
+
// Used as scratch variables to communicate multiple values without
|
83
|
+
// consing up tons of objects.
|
84
|
+
var type, content;
|
85
|
+
|
86
|
+
function ret(tp, style, cont) {
|
87
|
+
type = tp;
|
88
|
+
content = cont;
|
89
|
+
return style;
|
90
|
+
}
|
91
|
+
|
92
|
+
function jsTokenBase(stream, state) {
|
93
|
+
var sol = stream.sol(),
|
94
|
+
ch, tch;
|
95
|
+
|
96
|
+
state.block = false; // indicates the start of a code block.
|
97
|
+
|
98
|
+
ch = stream.peek(); // don't eat, to make matching simpler
|
99
|
+
|
100
|
+
// check start of blocks
|
101
|
+
if (sol && /[<\/\*{}\-]/.test(ch)) {
|
102
|
+
if (stream.match(reCodeBlockStart)) {
|
103
|
+
state.block = true;
|
104
|
+
return chain(stream, state, twTokenCode);
|
105
|
+
}
|
106
|
+
if (stream.match(reBlockQuote)) {
|
107
|
+
return ret('quote', 'quote');
|
108
|
+
}
|
109
|
+
if (stream.match(reWikiCommentStart) || stream.match(reWikiCommentStop)) {
|
110
|
+
return ret('code', 'comment');
|
111
|
+
}
|
112
|
+
if (stream.match(reJsCodeStart) || stream.match(reJsCodeStop) || stream.match(reXmlCodeStart) || stream.match(reXmlCodeStop)) {
|
113
|
+
return ret('code', 'comment');
|
114
|
+
}
|
115
|
+
if (stream.match(reHR)) {
|
116
|
+
return ret('hr', 'hr');
|
117
|
+
}
|
118
|
+
} // sol
|
119
|
+
ch = stream.next();
|
120
|
+
|
121
|
+
if (sol && /[\/\*!#;:>|]/.test(ch)) {
|
122
|
+
if (ch == "!") { // tw header
|
123
|
+
stream.skipToEnd();
|
124
|
+
return ret("header", "header");
|
125
|
+
}
|
126
|
+
if (ch == "*") { // tw list
|
127
|
+
stream.eatWhile('*');
|
128
|
+
return ret("list", "comment");
|
129
|
+
}
|
130
|
+
if (ch == "#") { // tw numbered list
|
131
|
+
stream.eatWhile('#');
|
132
|
+
return ret("list", "comment");
|
133
|
+
}
|
134
|
+
if (ch == ";") { // definition list, term
|
135
|
+
stream.eatWhile(';');
|
136
|
+
return ret("list", "comment");
|
137
|
+
}
|
138
|
+
if (ch == ":") { // definition list, description
|
139
|
+
stream.eatWhile(':');
|
140
|
+
return ret("list", "comment");
|
141
|
+
}
|
142
|
+
if (ch == ">") { // single line quote
|
143
|
+
stream.eatWhile(">");
|
144
|
+
return ret("quote", "quote");
|
145
|
+
}
|
146
|
+
if (ch == '|') {
|
147
|
+
return ret('table', 'header');
|
148
|
+
}
|
149
|
+
}
|
150
|
+
|
151
|
+
if (ch == '{' && stream.match(/\{\{/)) {
|
152
|
+
return chain(stream, state, twTokenCode);
|
153
|
+
}
|
154
|
+
|
155
|
+
// rudimentary html:// file:// link matching. TW knows much more ...
|
156
|
+
if (/[hf]/i.test(ch)) {
|
157
|
+
if (/[ti]/i.test(stream.peek()) && stream.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i)) {
|
158
|
+
return ret("link", "link");
|
159
|
+
}
|
160
|
+
}
|
161
|
+
// just a little string indicator, don't want to have the whole string covered
|
162
|
+
if (ch == '"') {
|
163
|
+
return ret('string', 'string');
|
164
|
+
}
|
165
|
+
if (ch == '~') { // _no_ CamelCase indicator should be bold
|
166
|
+
return ret('text', 'brace');
|
167
|
+
}
|
168
|
+
if (/[\[\]]/.test(ch)) { // check for [[..]]
|
169
|
+
if (stream.peek() == ch) {
|
170
|
+
stream.next();
|
171
|
+
return ret('brace', 'brace');
|
172
|
+
}
|
173
|
+
}
|
174
|
+
if (ch == "@") { // check for space link. TODO fix @@...@@ highlighting
|
175
|
+
stream.eatWhile(isSpaceName);
|
176
|
+
return ret("link", "link");
|
177
|
+
}
|
178
|
+
if (/\d/.test(ch)) { // numbers
|
179
|
+
stream.eatWhile(/\d/);
|
180
|
+
return ret("number", "number");
|
181
|
+
}
|
182
|
+
if (ch == "/") { // tw invisible comment
|
183
|
+
if (stream.eat("%")) {
|
184
|
+
return chain(stream, state, twTokenComment);
|
185
|
+
}
|
186
|
+
else if (stream.eat("/")) { //
|
187
|
+
return chain(stream, state, twTokenEm);
|
188
|
+
}
|
189
|
+
}
|
190
|
+
if (ch == "_") { // tw underline
|
191
|
+
if (stream.eat("_")) {
|
192
|
+
return chain(stream, state, twTokenUnderline);
|
193
|
+
}
|
194
|
+
}
|
195
|
+
// strikethrough and mdash handling
|
196
|
+
if (ch == "-") {
|
197
|
+
if (stream.eat("-")) {
|
198
|
+
// if strikethrough looks ugly, change CSS.
|
199
|
+
if (stream.peek() != ' ')
|
200
|
+
return chain(stream, state, twTokenStrike);
|
201
|
+
// mdash
|
202
|
+
if (stream.peek() == ' ')
|
203
|
+
return ret('text', 'brace');
|
204
|
+
}
|
205
|
+
}
|
206
|
+
if (ch == "'") { // tw bold
|
207
|
+
if (stream.eat("'")) {
|
208
|
+
return chain(stream, state, twTokenStrong);
|
209
|
+
}
|
210
|
+
}
|
211
|
+
if (ch == "<") { // tw macro
|
212
|
+
if (stream.eat("<")) {
|
213
|
+
return chain(stream, state, twTokenMacro);
|
214
|
+
}
|
215
|
+
}
|
216
|
+
else {
|
217
|
+
return ret(ch);
|
218
|
+
}
|
219
|
+
|
220
|
+
// core macro handling
|
221
|
+
stream.eatWhile(/[\w\$_]/);
|
222
|
+
var word = stream.current(),
|
223
|
+
known = textwords.propertyIsEnumerable(word) && textwords[word];
|
224
|
+
|
225
|
+
return known ? ret(known.type, known.style, word) : ret("text", null, word);
|
226
|
+
|
227
|
+
} // jsTokenBase()
|
228
|
+
|
229
|
+
function twTokenString(quote) {
|
230
|
+
return function (stream, state) {
|
231
|
+
if (!nextUntilUnescaped(stream, quote)) state.tokenize = jsTokenBase;
|
232
|
+
return ret("string", "string");
|
233
|
+
};
|
234
|
+
}
|
235
|
+
|
236
|
+
// tw invisible comment
|
237
|
+
function twTokenComment(stream, state) {
|
238
|
+
var maybeEnd = false,
|
239
|
+
ch;
|
240
|
+
while (ch = stream.next()) {
|
241
|
+
if (ch == "/" && maybeEnd) {
|
242
|
+
state.tokenize = jsTokenBase;
|
243
|
+
break;
|
244
|
+
}
|
245
|
+
maybeEnd = (ch == "%");
|
246
|
+
}
|
247
|
+
return ret("comment", "comment");
|
248
|
+
}
|
249
|
+
|
250
|
+
// tw strong / bold
|
251
|
+
function twTokenStrong(stream, state) {
|
252
|
+
var maybeEnd = false,
|
253
|
+
ch;
|
254
|
+
while (ch = stream.next()) {
|
255
|
+
if (ch == "'" && maybeEnd) {
|
256
|
+
state.tokenize = jsTokenBase;
|
257
|
+
break;
|
258
|
+
}
|
259
|
+
maybeEnd = (ch == "'");
|
260
|
+
}
|
261
|
+
return ret("text", "strong");
|
262
|
+
}
|
263
|
+
|
264
|
+
// tw code
|
265
|
+
function twTokenCode(stream, state) {
|
266
|
+
var ch, sb = state.block;
|
267
|
+
|
268
|
+
if (sb && stream.current()) {
|
269
|
+
return ret("code", "comment");
|
270
|
+
}
|
271
|
+
|
272
|
+
if (!sb && stream.match(reUntilCodeStop)) {
|
273
|
+
state.tokenize = jsTokenBase;
|
274
|
+
return ret("code", "comment");
|
275
|
+
}
|
276
|
+
|
277
|
+
if (sb && stream.sol() && stream.match(reCodeBlockStop)) {
|
278
|
+
state.tokenize = jsTokenBase;
|
279
|
+
return ret("code", "comment");
|
280
|
+
}
|
281
|
+
|
282
|
+
ch = stream.next();
|
283
|
+
return (sb) ? ret("code", "comment") : ret("code", "comment");
|
284
|
+
}
|
285
|
+
|
286
|
+
// tw em / italic
|
287
|
+
function twTokenEm(stream, state) {
|
288
|
+
var maybeEnd = false,
|
289
|
+
ch;
|
290
|
+
while (ch = stream.next()) {
|
291
|
+
if (ch == "/" && maybeEnd) {
|
292
|
+
state.tokenize = jsTokenBase;
|
293
|
+
break;
|
294
|
+
}
|
295
|
+
maybeEnd = (ch == "/");
|
296
|
+
}
|
297
|
+
return ret("text", "em");
|
298
|
+
}
|
299
|
+
|
300
|
+
// tw underlined text
|
301
|
+
function twTokenUnderline(stream, state) {
|
302
|
+
var maybeEnd = false,
|
303
|
+
ch;
|
304
|
+
while (ch = stream.next()) {
|
305
|
+
if (ch == "_" && maybeEnd) {
|
306
|
+
state.tokenize = jsTokenBase;
|
307
|
+
break;
|
308
|
+
}
|
309
|
+
maybeEnd = (ch == "_");
|
310
|
+
}
|
311
|
+
return ret("text", "underlined");
|
312
|
+
}
|
313
|
+
|
314
|
+
// tw strike through text looks ugly
|
315
|
+
// change CSS if needed
|
316
|
+
function twTokenStrike(stream, state) {
|
317
|
+
var maybeEnd = false,
|
318
|
+
ch, nr;
|
319
|
+
|
320
|
+
while (ch = stream.next()) {
|
321
|
+
if (ch == "-" && maybeEnd) {
|
322
|
+
state.tokenize = jsTokenBase;
|
323
|
+
break;
|
324
|
+
}
|
325
|
+
maybeEnd = (ch == "-");
|
326
|
+
}
|
327
|
+
return ret("text", "strikethrough");
|
328
|
+
}
|
329
|
+
|
330
|
+
// macro
|
331
|
+
function twTokenMacro(stream, state) {
|
332
|
+
var ch, tmp, word, known;
|
333
|
+
|
334
|
+
if (stream.current() == '<<') {
|
335
|
+
return ret('brace', 'macro');
|
336
|
+
}
|
337
|
+
|
338
|
+
ch = stream.next();
|
339
|
+
if (!ch) {
|
340
|
+
state.tokenize = jsTokenBase;
|
341
|
+
return ret(ch);
|
342
|
+
}
|
343
|
+
if (ch == ">") {
|
344
|
+
if (stream.peek() == '>') {
|
345
|
+
stream.next();
|
346
|
+
state.tokenize = jsTokenBase;
|
347
|
+
return ret("brace", "macro");
|
348
|
+
}
|
349
|
+
}
|
350
|
+
|
351
|
+
stream.eatWhile(/[\w\$_]/);
|
352
|
+
word = stream.current();
|
353
|
+
known = keywords.propertyIsEnumerable(word) && keywords[word];
|
354
|
+
|
355
|
+
if (known) {
|
356
|
+
return ret(known.type, known.style, word);
|
357
|
+
}
|
358
|
+
else {
|
359
|
+
return ret("macro", null, word);
|
360
|
+
}
|
361
|
+
}
|
362
|
+
|
363
|
+
// Interface
|
364
|
+
return {
|
365
|
+
startState: function (basecolumn) {
|
366
|
+
return {
|
367
|
+
tokenize: jsTokenBase,
|
368
|
+
indented: 0,
|
369
|
+
level: 0
|
370
|
+
};
|
371
|
+
},
|
372
|
+
|
373
|
+
token: function (stream, state) {
|
374
|
+
if (stream.eatSpace()) return null;
|
375
|
+
var style = state.tokenize(stream, state);
|
376
|
+
return style;
|
377
|
+
},
|
378
|
+
|
379
|
+
electricChars: ""
|
380
|
+
};
|
381
|
+
});
|
382
|
+
|
383
|
+
CodeMirror.defineMIME("text/x-tiddlywiki", "tiddlywiki");
|
384
|
+
//}}}
|