burp_cms 1.3.13 → 1.3.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/app/assets/images/burp/add-image-2.jpg +0 -0
- data/app/assets/images/burp/add-image-3.jpg +0 -0
- data/app/assets/images/burp/add-image-4.jpg +0 -0
- data/app/assets/images/burp/enter-page-edit-mode-4.jpg +0 -0
- data/app/assets/images/burp/remove-image-2.jpg +0 -0
- data/app/assets/images/burp/remove-image-3.jpg +0 -0
- data/app/assets/images/burp/remove-image-4.jpg +0 -0
- data/app/assets/images/burp/remove-image-5.jpg +0 -0
- data/app/views/burp/static/help.html.erb +8 -8
- data/lib/burp/version.rb +1 -1
- metadata +95 -234
- data/app/assets/images/burp/add-image-2.png +0 -0
- data/app/assets/images/burp/add-image-3.png +0 -0
- data/app/assets/images/burp/add-image-4.png +0 -0
- data/app/assets/images/burp/enter-page-edit-mode-4.png +0 -0
- data/app/assets/images/burp/remove-image-2.png +0 -0
- data/app/assets/images/burp/remove-image-3.png +0 -0
- data/app/assets/images/burp/remove-image-4.png +0 -0
- data/app/assets/images/burp/remove-image-5.png +0 -0
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/README.md +0 -8
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/activeline.html +0 -72
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/changemode.html +0 -50
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/closetag.html +0 -65
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/complete.html +0 -70
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/emacs.html +0 -59
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/folding.html +0 -61
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/formatting.html +0 -80
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/fullscreen.html +0 -152
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/loadmode.html +0 -39
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/marker.html +0 -52
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/matchhighlighter.html +0 -37
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/multiplex.html +0 -59
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/mustache.html +0 -57
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/preview.html +0 -76
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/resize.html +0 -41
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/runmode.html +0 -49
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/search.html +0 -83
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/theme.html +0 -78
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/vim.html +0 -50
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/demo/visibletabs.html +0 -61
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/baboon.png +0 -0
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/baboon_vector.svg +0 -153
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/compress.html +0 -148
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/docs.css +0 -154
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/internals.html +0 -494
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/manual.html +0 -1128
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/oldrelease.html +0 -267
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/reporting.html +0 -57
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/doc/upgrade_v2.2.html +0 -95
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/index.html +0 -417
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/clike/clike.js +0 -271
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/clike/index.html +0 -101
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/clike/scala.html +0 -765
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/clojure/clojure.js +0 -207
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/clojure/index.html +0 -66
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/coffeescript/LICENSE +0 -22
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/coffeescript/coffeescript.js +0 -347
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/coffeescript/index.html +0 -727
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/diff/diff.js +0 -32
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/diff/index.html +0 -104
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ecl/ecl.js +0 -203
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ecl/index.html +0 -42
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/erlang/erlang.js +0 -251
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/erlang/index.html +0 -61
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/gfm/gfm.js +0 -144
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/gfm/index.html +0 -47
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/go/go.js +0 -170
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/go/index.html +0 -72
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/groovy/groovy.js +0 -210
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/groovy/index.html +0 -71
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/haskell/haskell.js +0 -242
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/haskell/index.html +0 -60
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/jinja2/index.html +0 -37
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/jinja2/jinja2.js +0 -42
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/less/index.html +0 -618
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/less/less.js +0 -232
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/lua/index.html +0 -72
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/lua/lua.js +0 -140
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/index.html +0 -41
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/mysql/mysql.js +0 -188
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ntriples/index.html +0 -32
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ntriples/ntriples.js +0 -172
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/pascal/LICENSE +0 -7
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/pascal/index.html +0 -48
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/pascal/pascal.js +0 -94
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/perl/LICENSE +0 -19
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/perl/index.html +0 -62
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/perl/perl.js +0 -816
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/php/index.html +0 -48
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/php/php.js +0 -150
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/pig/index.html +0 -42
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/pig/pig.js +0 -172
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/plsql/index.html +0 -62
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/plsql/plsql.js +0 -217
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/properties/index.html +0 -40
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/properties/properties.js +0 -63
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/python/LICENSE.txt +0 -21
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/python/index.html +0 -122
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/python/python.js +0 -338
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/r/LICENSE +0 -24
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/r/index.html +0 -73
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/r/r.js +0 -141
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rpm/changes/changes.js +0 -19
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rpm/changes/index.html +0 -53
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rpm/spec/index.html +0 -99
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rpm/spec/spec.css +0 -5
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rpm/spec/spec.js +0 -66
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rst/index.html +0 -525
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rst/rst.js +0 -326
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ruby/LICENSE +0 -24
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ruby/index.html +0 -171
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/ruby/ruby.js +0 -195
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rust/index.html +0 -48
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/rust/rust.js +0 -432
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/scheme/index.html +0 -64
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/scheme/scheme.js +0 -230
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/shell/index.html +0 -50
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/shell/shell.js +0 -103
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/smalltalk/index.html +0 -55
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/smalltalk/smalltalk.js +0 -139
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/smarty/index.html +0 -82
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/smarty/smarty.js +0 -148
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/sparql/index.html +0 -40
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/sparql/sparql.js +0 -143
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/stex/index.html +0 -95
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/stex/stex.js +0 -182
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/stex/test.html +0 -263
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/tiddlywiki/index.html +0 -140
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/tiddlywiki/tiddlywiki.css +0 -14
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/tiddlywiki/tiddlywiki.js +0 -384
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/tiki/index.html +0 -82
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/tiki/tiki.css +0 -26
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/tiki/tiki.js +0 -316
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/vbscript/index.html +0 -42
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/vbscript/vbscript.js +0 -26
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/velocity/index.html +0 -103
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/velocity/velocity.js +0 -146
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/verilog/index.html +0 -210
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/verilog/verilog.js +0 -194
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/LICENSE +0 -20
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/index.html +0 -222
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/index.html +0 -27
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/testBase.js +0 -42
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/testEmptySequenceKeyword.js +0 -16
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/testMultiAttr.js +0 -16
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/testNamespaces.js +0 -91
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/testProcessingInstructions.js +0 -16
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/test/testQuotes.js +0 -19
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/xquery/xquery.js +0 -448
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/yaml/index.html +0 -67
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/mode/yaml/yaml.js +0 -95
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/test/index.html +0 -28
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/test/mode_test.css +0 -22
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/test/mode_test.js +0 -164
- data/app/assets/packages/burp/editing/dep/CodeMirror-2.3/test/test.js +0 -344
- data/app/assets/packages/burp/editing/dep/FontAwesome/FontAwesome-Vectors.pdf +11 -3176
- data/app/assets/packages/burp/editing/dep/FontAwesome/FontAwesome.ttf +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/README.md +0 -18
- data/app/assets/packages/burp/editing/dep/FontAwesome/css/font-awesome-ie7.css +0 -645
- data/app/assets/packages/burp/editing/dep/FontAwesome/css/font-awesome.less +0 -309
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/css/font-awesome-ie7.css +0 -213
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/css/font-awesome.css +0 -303
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/css/prettify.css +0 -30
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/css/site.css +0 -4904
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/fontawesome-webfont.eot +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/fontawesome-webfont.svg +0 -255
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/fontawesome-webfont.ttf +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/fontawesome-webfont.woff +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/museo_slab_300-webfont.eot +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/museo_slab_300-webfont.ttf +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/museo_slab_500-webfont.eot +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/museo_slab_500-webfont.ttf +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/proximanova-webfont.eot +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/font/proximanova-webfont.ttf +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/ico/favicon.ico +0 -0
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/backbone.min.js +0 -37
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/index/index.js +0 -89
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/jquery-1.7.1.min.js +0 -4
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/prettify.min.js +0 -28
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-alert.js +0 -94
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-button.js +0 -98
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-carousel.js +0 -157
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-collapse.js +0 -136
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-dropdown.js +0 -92
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-modal.js +0 -210
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-popover.js +0 -95
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-scrollspy.js +0 -125
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-tab.js +0 -130
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-tooltip.js +0 -270
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-transition.js +0 -51
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/tw-bs-201/bootstrap-typeahead.js +0 -271
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/js/underscore.min.js +0 -31
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/font-awesome-ie7.less +0 -245
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/font-awesome.less +0 -327
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/font-site.less +0 -26
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/mixins.less +0 -43
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/site.less +0 -300
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/accordion.less +0 -33
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/alerts.less +0 -58
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/bootstrap.less +0 -62
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/breadcrumbs.less +0 -24
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/button-groups.less +0 -191
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/buttons.less +0 -191
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/carousel.less +0 -121
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/close.less +0 -29
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/code.less +0 -57
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/component-animations.less +0 -20
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/dropdowns.less +0 -143
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/forms.less +0 -584
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/grid.less +0 -5
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/hero-unit.less +0 -22
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/labels-badges.less +0 -55
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/layouts.less +0 -17
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/mixins.less +0 -631
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/modals.less +0 -90
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/navbar.less +0 -364
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/navs.less +0 -363
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/pager.less +0 -36
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/pagination.less +0 -56
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/popovers.less +0 -49
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/progress-bars.less +0 -117
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/reset.less +0 -126
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/responsive-1200px-min.less +0 -26
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/responsive-767px-max.less +0 -149
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/responsive-768px-979px.less +0 -17
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/responsive-navbar.less +0 -146
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/responsive-utilities.less +0 -41
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/responsive.less +0 -48
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/scaffolding.less +0 -29
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/sprites.less +0 -191
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/tables.less +0 -176
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/thumbnails.less +0 -47
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/tooltip.less +0 -35
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/type.less +0 -235
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/utilities.less +0 -23
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/variables.less +0 -205
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/twbs-203/wells.less +0 -27
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/assets/less/variables.less +0 -206
- data/app/assets/packages/burp/editing/dep/FontAwesome/docs/index.html +0 -1087
- data/app/assets/packages/burp/editing/dep/FontAwesome/sass/font-awesome.sass +0 -712
- data/app/assets/packages/burp/editing/dep/FontAwesome/sass/font-awesome.scss +0 -329
@@ -1,50 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Mode-Changing Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../mode/javascript/javascript.js"></script>
|
8
|
-
<script src="../mode/scheme/scheme.js"></script>
|
9
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
10
|
-
|
11
|
-
<style type="text/css">
|
12
|
-
.CodeMirror {border: 1px solid black;}
|
13
|
-
</style>
|
14
|
-
</head>
|
15
|
-
<body>
|
16
|
-
<h1>CodeMirror: Mode-Changing demo</h1>
|
17
|
-
|
18
|
-
<form><textarea id="code" name="code">
|
19
|
-
;; If there is Scheme code in here, the editor will be in Scheme mode.
|
20
|
-
;; If you put in JS instead, it'll switch to JS mode.
|
21
|
-
|
22
|
-
(define (double x)
|
23
|
-
(* x x))
|
24
|
-
</textarea></form>
|
25
|
-
|
26
|
-
<p>On changes to the content of the above editor, a (crude) script
|
27
|
-
tries to auto-detect the language used, and switches the editor to
|
28
|
-
either JavaScript or Scheme mode based on that.</p>
|
29
|
-
|
30
|
-
<script>
|
31
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
32
|
-
mode: "scheme",
|
33
|
-
lineNumbers: true,
|
34
|
-
matchBrackets: true,
|
35
|
-
tabMode: "indent",
|
36
|
-
onChange: function() {
|
37
|
-
clearTimeout(pending);
|
38
|
-
setTimeout(update, 400);
|
39
|
-
}
|
40
|
-
});
|
41
|
-
var pending;
|
42
|
-
function looksLikeScheme(code) {
|
43
|
-
return !/^\s*\(\s*function\b/.test(code) && /^\s*[;\(]/.test(code);
|
44
|
-
}
|
45
|
-
function update() {
|
46
|
-
editor.setOption("mode", looksLikeScheme(editor.getValue()) ? "scheme" : "javascript");
|
47
|
-
}
|
48
|
-
</script>
|
49
|
-
</body>
|
50
|
-
</html>
|
@@ -1,65 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Close-Tag Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../lib/util/closetag.js"></script>
|
8
|
-
<script src="../mode/xml/xml.js"></script>
|
9
|
-
<script src="../mode/javascript/javascript.js"></script>
|
10
|
-
<script src="../mode/css/css.js"></script>
|
11
|
-
<script src="../mode/htmlmixed/htmlmixed.js"></script>
|
12
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
13
|
-
<style type="text/css">
|
14
|
-
.CodeMirror {border-top: 1px solid #eee; border-bottom: 1px solid #eee;}
|
15
|
-
</style>
|
16
|
-
</head>
|
17
|
-
<body>
|
18
|
-
|
19
|
-
<h1>Close-Tag Demo</h1>
|
20
|
-
<ul>
|
21
|
-
<li>Type an html tag. When you type '>' or '/', the tag will auto-close/complete. Block-level tags will indent.</li>
|
22
|
-
<li>There are options for disabling tag closing or customizing the list of tags to indent.</li>
|
23
|
-
<li>Works with "text/html" (based on htmlmixed.js or xml.js) mode.</li>
|
24
|
-
<li>View source for key binding details.</li>
|
25
|
-
</p>
|
26
|
-
|
27
|
-
<form><textarea id="code" name="code"></textarea></form>
|
28
|
-
|
29
|
-
<script type="text/javascript">
|
30
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
31
|
-
mode: 'text/html',
|
32
|
-
|
33
|
-
//closeTagEnabled: false, // Set this option to disable tag closing behavior without having to remove the key bindings.
|
34
|
-
//closeTagIndent: false, // Pass false or an array of tag names to override the default indentation behavior.
|
35
|
-
|
36
|
-
extraKeys: {
|
37
|
-
"'>'": function(cm) { cm.closeTag(cm, '>'); },
|
38
|
-
"'/'": function(cm) { cm.closeTag(cm, '/'); }
|
39
|
-
},
|
40
|
-
|
41
|
-
/*
|
42
|
-
// extraKeys is the easier way to go, but if you need native key event processing, this should work too.
|
43
|
-
onKeyEvent: function(cm, e) {
|
44
|
-
if (e.type == 'keydown') {
|
45
|
-
var c = e.keyCode || e.which;
|
46
|
-
if (c == 190 || c == 191) {
|
47
|
-
try {
|
48
|
-
cm.closeTag(cm, c == 190 ? '>' : '/');
|
49
|
-
e.stop();
|
50
|
-
return true;
|
51
|
-
} catch (e) {
|
52
|
-
if (e != CodeMirror.Pass) throw e;
|
53
|
-
}
|
54
|
-
}
|
55
|
-
}
|
56
|
-
return false;
|
57
|
-
},
|
58
|
-
*/
|
59
|
-
|
60
|
-
wordWrap: true
|
61
|
-
});
|
62
|
-
</script>
|
63
|
-
|
64
|
-
</body>
|
65
|
-
</html>
|
@@ -1,70 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Autocomplete Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../lib/util/simple-hint.js"></script>
|
8
|
-
<link rel="stylesheet" href="../lib/util/simple-hint.css">
|
9
|
-
<script src="../lib/util/javascript-hint.js"></script>
|
10
|
-
<script src="../mode/javascript/javascript.js"></script>
|
11
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
12
|
-
<style type="text/css">.CodeMirror {border: 1px solid #eee;} .CodeMirror-scroll { height: 100% }</style>
|
13
|
-
</head>
|
14
|
-
<body>
|
15
|
-
<h1>CodeMirror: Autocomplete demo</h1>
|
16
|
-
|
17
|
-
<form><textarea id="code" name="code">
|
18
|
-
function getCompletions(token, context) {
|
19
|
-
var found = [], start = token.string;
|
20
|
-
function maybeAdd(str) {
|
21
|
-
if (str.indexOf(start) == 0) found.push(str);
|
22
|
-
}
|
23
|
-
function gatherCompletions(obj) {
|
24
|
-
if (typeof obj == "string") forEach(stringProps, maybeAdd);
|
25
|
-
else if (obj instanceof Array) forEach(arrayProps, maybeAdd);
|
26
|
-
else if (obj instanceof Function) forEach(funcProps, maybeAdd);
|
27
|
-
for (var name in obj) maybeAdd(name);
|
28
|
-
}
|
29
|
-
|
30
|
-
if (context) {
|
31
|
-
// If this is a property, see if it belongs to some object we can
|
32
|
-
// find in the current environment.
|
33
|
-
var obj = context.pop(), base;
|
34
|
-
if (obj.className == "js-variable")
|
35
|
-
base = window[obj.string];
|
36
|
-
else if (obj.className == "js-string")
|
37
|
-
base = "";
|
38
|
-
else if (obj.className == "js-atom")
|
39
|
-
base = 1;
|
40
|
-
while (base != null && context.length)
|
41
|
-
base = base[context.pop().string];
|
42
|
-
if (base != null) gatherCompletions(base);
|
43
|
-
}
|
44
|
-
else {
|
45
|
-
// If not, just look in the window object and any local scope
|
46
|
-
// (reading into JS mode internals to get at the local variables)
|
47
|
-
for (var v = token.state.localVars; v; v = v.next) maybeAdd(v.name);
|
48
|
-
gatherCompletions(window);
|
49
|
-
forEach(keywords, maybeAdd);
|
50
|
-
}
|
51
|
-
return found;
|
52
|
-
}
|
53
|
-
</textarea></form>
|
54
|
-
|
55
|
-
<p>Press <strong>ctrl-space</strong> to activate autocompletion. See
|
56
|
-
the code (<a href="../lib/util/simple-hint.js">here</a>
|
57
|
-
and <a href="../lib/util/javascript-hint.js">here</a>) to figure out
|
58
|
-
how it works.</p>
|
59
|
-
|
60
|
-
<script>
|
61
|
-
CodeMirror.commands.autocomplete = function(cm) {
|
62
|
-
CodeMirror.simpleHint(cm, CodeMirror.javascriptHint);
|
63
|
-
}
|
64
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
65
|
-
lineNumbers: true,
|
66
|
-
extraKeys: {"Ctrl-Space": "autocomplete"}
|
67
|
-
});
|
68
|
-
</script>
|
69
|
-
</body>
|
70
|
-
</html>
|
@@ -1,59 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Emacs bindings demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../mode/clike/clike.js"></script>
|
8
|
-
<script src="../keymap/emacs.js"></script>
|
9
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
10
|
-
|
11
|
-
<style type="text/css">
|
12
|
-
.CodeMirror {border-top: 1px solid #eee; border-bottom: 1px solid #eee;}
|
13
|
-
</style>
|
14
|
-
</head>
|
15
|
-
<body>
|
16
|
-
<h1>CodeMirror: Emacs bindings demo</h1>
|
17
|
-
|
18
|
-
<form><textarea id="code" name="code">
|
19
|
-
#include "syscalls.h"
|
20
|
-
/* getchar: simple buffered version */
|
21
|
-
int getchar(void)
|
22
|
-
{
|
23
|
-
static char buf[BUFSIZ];
|
24
|
-
static char *bufp = buf;
|
25
|
-
static int n = 0;
|
26
|
-
if (n == 0) { /* buffer is empty */
|
27
|
-
n = read(0, buf, sizeof buf);
|
28
|
-
bufp = buf;
|
29
|
-
}
|
30
|
-
return (--n >= 0) ? (unsigned char) *bufp++ : EOF;
|
31
|
-
}
|
32
|
-
</textarea></form>
|
33
|
-
|
34
|
-
<p>The emacs keybindings are enabled by
|
35
|
-
including <a href="../keymap/emacs.js">keymap/emacs.js</a> and setting
|
36
|
-
the <code>keyMap</code> option to <code>"emacs"</code>. Because
|
37
|
-
CodeMirror's internal API is quite different from Emacs, they are only
|
38
|
-
a loose approximation of actual emacs bindings, though.</p>
|
39
|
-
|
40
|
-
<p>Also note that a lot of browsers disallow certain keys from being
|
41
|
-
captured. For example, Chrome blocks both Ctrl-W and Ctrl-N, with the
|
42
|
-
result that idiomatic use of Emacs keys will constantly close your tab
|
43
|
-
or open a new window.</p>
|
44
|
-
|
45
|
-
<script>
|
46
|
-
CodeMirror.commands.save = function() {
|
47
|
-
var elt = editor.getWrapperElement();
|
48
|
-
elt.style.background = "#def";
|
49
|
-
setTimeout(function() { elt.style.background = ""; }, 300);
|
50
|
-
};
|
51
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
52
|
-
lineNumbers: true,
|
53
|
-
mode: "text/x-csrc",
|
54
|
-
keyMap: "emacs"
|
55
|
-
});
|
56
|
-
</script>
|
57
|
-
|
58
|
-
</body>
|
59
|
-
</html>
|
@@ -1,61 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Code Folding Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../lib/util/foldcode.js"></script>
|
8
|
-
<script src="../mode/javascript/javascript.js"></script>
|
9
|
-
<script src="../mode/xml/xml.js"></script>
|
10
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
11
|
-
|
12
|
-
<style type="text/css">
|
13
|
-
.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
|
14
|
-
.CodeMirror-gutter {min-width: 2.6em; cursor: pointer;}
|
15
|
-
</style>
|
16
|
-
</head>
|
17
|
-
<body>
|
18
|
-
<h1>CodeMirror: Code Folding Demo</h1>
|
19
|
-
|
20
|
-
<p>Demonstration of code folding using the code
|
21
|
-
in <a href="../lib/util/foldcode.js"><code>foldcode.js</code></a>.
|
22
|
-
Press ctrl-q or click on the gutter to fold a block, again
|
23
|
-
to unfold.</p>
|
24
|
-
<form>
|
25
|
-
<div style="max-width: 50em; margin-bottom: 1em">JavaScript:<br><textarea id="code" name="code"></textarea></div>
|
26
|
-
<div style="max-width: 50em">HTML:<br><textarea id="code-html" name="code-html"></textarea></div>
|
27
|
-
</form>
|
28
|
-
<script id="script">
|
29
|
-
window.onload = function() {
|
30
|
-
var te = document.getElementById("code");
|
31
|
-
var sc = document.getElementById("script");
|
32
|
-
te.value = (sc.textContent || sc.innerText || sc.innerHTML).replace(/^\s*/, "");
|
33
|
-
sc.innerHTML = "";
|
34
|
-
var te_html = document.getElementById("code-html");
|
35
|
-
te_html.value = "<html>\n " + document.documentElement.innerHTML + "\n</html>";
|
36
|
-
|
37
|
-
var foldFunc = CodeMirror.newFoldFunction(CodeMirror.braceRangeFinder);
|
38
|
-
window.editor = CodeMirror.fromTextArea(te, {
|
39
|
-
mode: "javascript",
|
40
|
-
lineNumbers: true,
|
41
|
-
lineWrapping: true,
|
42
|
-
onGutterClick: foldFunc,
|
43
|
-
extraKeys: {"Ctrl-Q": function(cm){foldFunc(cm, cm.getCursor().line);}}
|
44
|
-
});
|
45
|
-
foldFunc(editor, 9);
|
46
|
-
foldFunc(editor, 20);
|
47
|
-
|
48
|
-
var foldFunc_html = CodeMirror.newFoldFunction(CodeMirror.tagRangeFinder);
|
49
|
-
window.editor_html = CodeMirror.fromTextArea(te_html, {
|
50
|
-
mode: "text/html",
|
51
|
-
lineNumbers: true,
|
52
|
-
lineWrapping: true,
|
53
|
-
onGutterClick: foldFunc_html,
|
54
|
-
extraKeys: {"Ctrl-Q": function(cm){foldFunc_html(cm, cm.getCursor().line);}}
|
55
|
-
})
|
56
|
-
foldFunc_html(editor_html, 1);
|
57
|
-
foldFunc_html(editor_html, 15);
|
58
|
-
};
|
59
|
-
</script>
|
60
|
-
</body>
|
61
|
-
</html>
|
@@ -1,80 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Formatting Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../lib/util/formatting.js"></script>
|
8
|
-
<script src="../mode/css/css.js"></script>
|
9
|
-
<script src="../mode/xml/xml.js"></script>
|
10
|
-
<script src="../mode/javascript/javascript.js"></script>
|
11
|
-
<script src="../mode/htmlmixed/htmlmixed.js"></script>
|
12
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
13
|
-
|
14
|
-
<style type="text/css">
|
15
|
-
.CodeMirror {
|
16
|
-
border: 1px solid #eee;
|
17
|
-
}
|
18
|
-
td {
|
19
|
-
padding-right: 20px;
|
20
|
-
}
|
21
|
-
</style>
|
22
|
-
</head>
|
23
|
-
<body>
|
24
|
-
<h1>CodeMirror: Formatting demo</h1>
|
25
|
-
|
26
|
-
<form><textarea id="code" name="code"><script> function (s,e){ for(var i=0; i < 1; i++) test("test();a=1");} </script>
|
27
|
-
<script>
|
28
|
-
function test(c){ for (var i = 0; i < 10; i++){ process("a.b();c = null;", 300);}
|
29
|
-
}
|
30
|
-
</script>
|
31
|
-
<table><tr><td>test 1</td></tr><tr><td>test 2</td></tr></table>
|
32
|
-
<script> function test() { return 1;} </script>
|
33
|
-
<style> .test { font-size: medium; font-family: monospace; }
|
34
|
-
</style></textarea></form>
|
35
|
-
|
36
|
-
<p>Select a piece of code and click one of the links below to apply automatic formatting to the selected text or comment/uncomment the selected text. Note that the formatting behavior depends on the current block's mode.
|
37
|
-
<table>
|
38
|
-
<tr>
|
39
|
-
<td>
|
40
|
-
<a href="javascript:autoFormatSelection()">
|
41
|
-
Autoformat Selected
|
42
|
-
</a>
|
43
|
-
</td>
|
44
|
-
<td>
|
45
|
-
<a href="javascript:commentSelection(true)">
|
46
|
-
Comment Selected
|
47
|
-
</a>
|
48
|
-
</td>
|
49
|
-
<td>
|
50
|
-
<a href="javascript:commentSelection(false)">
|
51
|
-
Uncomment Selected
|
52
|
-
</a>
|
53
|
-
</td>
|
54
|
-
</tr>
|
55
|
-
</table>
|
56
|
-
</p>
|
57
|
-
<script>
|
58
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
59
|
-
lineNumbers: true,
|
60
|
-
mode: "htmlmixed"
|
61
|
-
});
|
62
|
-
CodeMirror.commands["selectAll"](editor);
|
63
|
-
|
64
|
-
function getSelectedRange() {
|
65
|
-
return { from: editor.getCursor(true), to: editor.getCursor(false) };
|
66
|
-
}
|
67
|
-
|
68
|
-
function autoFormatSelection() {
|
69
|
-
var range = getSelectedRange();
|
70
|
-
editor.autoFormatRange(range.from, range.to);
|
71
|
-
}
|
72
|
-
|
73
|
-
function commentSelection(isComment) {
|
74
|
-
var range = getSelectedRange();
|
75
|
-
editor.commentRange(isComment, range.from, range.to);
|
76
|
-
}
|
77
|
-
</script>
|
78
|
-
|
79
|
-
</body>
|
80
|
-
</html>
|
@@ -1,152 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Full Screen Editing</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<link rel="stylesheet" href="../theme/night.css">
|
8
|
-
<script src="../mode/xml/xml.js"></script>
|
9
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
10
|
-
|
11
|
-
<style type="text/css">
|
12
|
-
.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
|
13
|
-
.CodeMirror-fullscreen {
|
14
|
-
display: block;
|
15
|
-
position: absolute;
|
16
|
-
top: 0;
|
17
|
-
left: 0;
|
18
|
-
width: 100%;
|
19
|
-
height: 100%;
|
20
|
-
z-index: 9999;
|
21
|
-
margin: 0;
|
22
|
-
padding: 0;
|
23
|
-
border: 0px solid #BBBBBB;
|
24
|
-
opacity: 1;
|
25
|
-
}
|
26
|
-
</style>
|
27
|
-
</head>
|
28
|
-
<body>
|
29
|
-
<h1>CodeMirror: Full Screen Editing</h1>
|
30
|
-
|
31
|
-
<form><textarea id="code" name="code" rows="5">
|
32
|
-
<dt id="option_indentWithTabs"><code>indentWithTabs (boolean)</code></dt>
|
33
|
-
<dd>Whether, when indenting, the first N*8 spaces should be
|
34
|
-
replaced by N tabs. Default is false.</dd>
|
35
|
-
|
36
|
-
<dt id="option_tabMode"><code>tabMode (string)</code></dt>
|
37
|
-
<dd>Determines what happens when the user presses the tab key.
|
38
|
-
Must be one of the following:
|
39
|
-
<dl>
|
40
|
-
<dt><code>"classic" (the default)</code></dt>
|
41
|
-
<dd>When nothing is selected, insert a tab. Otherwise,
|
42
|
-
behave like the <code>"shift"</code> mode. (When shift is
|
43
|
-
held, this behaves like the <code>"indent"</code> mode.)</dd>
|
44
|
-
<dt><code>"shift"</code></dt>
|
45
|
-
<dd>Indent all selected lines by
|
46
|
-
one <a href="#option_indentUnit"><code>indentUnit</code></a>.
|
47
|
-
If shift was held while pressing tab, un-indent all selected
|
48
|
-
lines one unit.</dd>
|
49
|
-
<dt><code>"indent"</code></dt>
|
50
|
-
<dd>Indent the line the 'correctly', based on its syntactic
|
51
|
-
context. Only works if the
|
52
|
-
mode <a href="#indent">supports</a> it.</dd>
|
53
|
-
<dt><code>"default"</code></dt>
|
54
|
-
<dd>Do not capture tab presses, let the browser apply its
|
55
|
-
default behaviour (which usually means it skips to the next
|
56
|
-
control).</dd>
|
57
|
-
</dl></dd>
|
58
|
-
|
59
|
-
<dt id="option_enterMode"><code>enterMode (string)</code></dt>
|
60
|
-
<dd>Determines whether and how new lines are indented when the
|
61
|
-
enter key is pressed. The following modes are supported:
|
62
|
-
<dl>
|
63
|
-
<dt><code>"indent" (the default)</code></dt>
|
64
|
-
<dd>Use the mode's indentation rules to give the new line
|
65
|
-
the correct indentation.</dd>
|
66
|
-
<dt><code>"keep"</code></dt>
|
67
|
-
<dd>Indent the line the same as the previous line.</dd>
|
68
|
-
<dt><code>"flat"</code></dt>
|
69
|
-
<dd>Do not indent the new line.</dd>
|
70
|
-
</dl></dd>
|
71
|
-
|
72
|
-
<dt id="option_enterMode"><code>enterMode (string)</code></dt>
|
73
|
-
<dd>Determines whether and how new lines are indented when the
|
74
|
-
enter key is pressed. The following modes are supported:
|
75
|
-
<dl>
|
76
|
-
<dt><code>"indent" (the default)</code></dt>
|
77
|
-
<dd>Use the mode's indentation rules to give the new line
|
78
|
-
the correct indentation.</dd>
|
79
|
-
<dt><code>"keep"</code></dt>
|
80
|
-
<dd>Indent the line the same as the previous line.</dd>
|
81
|
-
<dt><code>"flat"</code></dt>
|
82
|
-
<dd>Do not indent the new line.</dd>
|
83
|
-
</dl></dd>
|
84
|
-
|
85
|
-
<dt id="option_enterMode"><code>enterMode (string)</code></dt>
|
86
|
-
<dd>Determines whether and how new lines are indented when the
|
87
|
-
enter key is pressed. The following modes are supported:
|
88
|
-
<dl>
|
89
|
-
<dt><code>"indent" (the default)</code></dt>
|
90
|
-
<dd>Use the mode's indentation rules to give the new line
|
91
|
-
the correct indentation.</dd>
|
92
|
-
<dt><code>"keep"</code></dt>
|
93
|
-
<dd>Indent the line the same as the previous line.</dd>
|
94
|
-
<dt><code>"flat"</code></dt>
|
95
|
-
<dd>Do not indent the new line.</dd>
|
96
|
-
</dl></dd>
|
97
|
-
|
98
|
-
<dt id="option_enterMode"><code>enterMode (string)</code></dt>
|
99
|
-
<dd>Determines whether and how new lines are indented when the
|
100
|
-
enter key is pressed. The following modes are supported:
|
101
|
-
<dl>
|
102
|
-
<dt><code>"indent" (the default)</code></dt>
|
103
|
-
<dd>Use the mode's indentation rules to give the new line
|
104
|
-
the correct indentation.</dd>
|
105
|
-
<dt><code>"keep"</code></dt>
|
106
|
-
<dd>Indent the line the same as the previous line.</dd>
|
107
|
-
<dt><code>"flat"</code></dt>
|
108
|
-
<dd>Do not indent the new line.</dd>
|
109
|
-
</dl></dd>
|
110
|
-
|
111
|
-
</textarea></form>
|
112
|
-
<script>
|
113
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
114
|
-
lineNumbers: true,
|
115
|
-
theme: "night",
|
116
|
-
extraKeys: {
|
117
|
-
"F11": function() {
|
118
|
-
var scroller = editor.getScrollerElement();
|
119
|
-
if (scroller.className.search(/\bCodeMirror-fullscreen\b/) === -1) {
|
120
|
-
scroller.className += " CodeMirror-fullscreen";
|
121
|
-
scroller.style.height = "100%";
|
122
|
-
scroller.style.width = "100%";
|
123
|
-
editor.refresh();
|
124
|
-
} else {
|
125
|
-
scroller.className = scroller.className.replace(" CodeMirror-fullscreen", "");
|
126
|
-
scroller.style.height = '';
|
127
|
-
scroller.style.width = '';
|
128
|
-
editor.refresh();
|
129
|
-
}
|
130
|
-
},
|
131
|
-
"Esc": function() {
|
132
|
-
var scroller = editor.getScrollerElement();
|
133
|
-
if (scroller.className.search(/\bCodeMirror-fullscreen\b/) !== -1) {
|
134
|
-
scroller.className = scroller.className.replace(" CodeMirror-fullscreen", "");
|
135
|
-
scroller.style.height = '';
|
136
|
-
scroller.style.width = '';
|
137
|
-
editor.refresh();
|
138
|
-
}
|
139
|
-
}
|
140
|
-
}
|
141
|
-
});
|
142
|
-
|
143
|
-
</script>
|
144
|
-
|
145
|
-
<p>Press <strong>F11</strong> when cursor is in the editor to toggle full screen editing. <strong>Esc</strong> can also be used to <i>exit</i> full screen editing.</p>
|
146
|
-
|
147
|
-
<p><strong>Note:</strong> Does not currently work correctly in IE
|
148
|
-
6 and 7, where setting the height of something
|
149
|
-
to <code>100%</code> doesn't make it full screen.</p>
|
150
|
-
|
151
|
-
</body>
|
152
|
-
</html>
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Lazy Mode Loading Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../lib/util/loadmode.js"></script>
|
8
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
9
|
-
|
10
|
-
<style type="text/css">
|
11
|
-
.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
|
12
|
-
</style>
|
13
|
-
</head>
|
14
|
-
<body>
|
15
|
-
<h1>CodeMirror: Lazy Mode Loading</h1>
|
16
|
-
|
17
|
-
<form><textarea id="code" name="code">This is the editor.
|
18
|
-
// It starts out in plain text mode,
|
19
|
-
# use the control below to load and apply a mode
|
20
|
-
"you'll see the highlighting of" this text /*change*/.
|
21
|
-
</textarea></form>
|
22
|
-
<p><input type=text value=javascript id=mode> <button type=button onclick="change()">change mode</button></p>
|
23
|
-
|
24
|
-
<script>
|
25
|
-
CodeMirror.modeURL = "../mode/%N/%N.js";
|
26
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
27
|
-
lineNumbers: true
|
28
|
-
});
|
29
|
-
var modeInput = document.getElementById("mode");
|
30
|
-
CodeMirror.connect(modeInput, "keypress", function(e) {
|
31
|
-
if (e.keyCode == 13) change();
|
32
|
-
});
|
33
|
-
function change() {
|
34
|
-
editor.setOption("mode", modeInput.value);
|
35
|
-
CodeMirror.autoLoadMode(editor, modeInput.value);
|
36
|
-
}
|
37
|
-
</script>
|
38
|
-
</body>
|
39
|
-
</html>
|
@@ -1,52 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Breakpoint Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../mode/javascript/javascript.js"></script>
|
8
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
9
|
-
|
10
|
-
<style type="text/css">
|
11
|
-
.CodeMirror-gutter {
|
12
|
-
width: 3em;
|
13
|
-
background: white;
|
14
|
-
}
|
15
|
-
.CodeMirror {
|
16
|
-
border: 1px solid #aaa;
|
17
|
-
}
|
18
|
-
</style>
|
19
|
-
</head>
|
20
|
-
<body>
|
21
|
-
<h1>CodeMirror: Breakpoint demo</h1>
|
22
|
-
|
23
|
-
<form><textarea id="code" name="code">
|
24
|
-
CodeMirror.fromTextArea(document.getElementById("code"), {
|
25
|
-
lineNumbers: true,
|
26
|
-
onGutterClick: function(cm, n) {
|
27
|
-
var info = cm.lineInfo(n);
|
28
|
-
if (info.markerText)
|
29
|
-
cm.clearMarker(n);
|
30
|
-
else
|
31
|
-
cm.setMarker(n, "<span style=\"color: #900\">●</span> %N%");
|
32
|
-
}
|
33
|
-
});
|
34
|
-
</textarea></form>
|
35
|
-
|
36
|
-
<p>Click the line-number gutter to add or remove 'breakpoints'.</p>
|
37
|
-
|
38
|
-
<script>
|
39
|
-
CodeMirror.fromTextArea(document.getElementById("code"), {
|
40
|
-
lineNumbers: true,
|
41
|
-
onGutterClick: function(cm, n) {
|
42
|
-
var info = cm.lineInfo(n);
|
43
|
-
if (info.markerText)
|
44
|
-
cm.clearMarker(n);
|
45
|
-
else
|
46
|
-
cm.setMarker(n, "<span style=\"color: #900\">●</span> %N%");
|
47
|
-
}
|
48
|
-
});
|
49
|
-
</script>
|
50
|
-
|
51
|
-
</body>
|
52
|
-
</html>
|
@@ -1,37 +0,0 @@
|
|
1
|
-
<!doctype html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>CodeMirror: Match Highlighter Demo</title>
|
5
|
-
<link rel="stylesheet" href="../lib/codemirror.css">
|
6
|
-
<script src="../lib/codemirror.js"></script>
|
7
|
-
<script src="../lib/util/searchcursor.js"></script>
|
8
|
-
<script src="../lib/util/match-highlighter.js"></script>
|
9
|
-
<link rel="stylesheet" href="../doc/docs.css">
|
10
|
-
|
11
|
-
<style type="text/css">
|
12
|
-
.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}
|
13
|
-
|
14
|
-
span.CodeMirror-matchhighlight { background: #e9e9e9 }
|
15
|
-
.CodeMirror-focused span.CodeMirror-matchhighlight { background: #e7e4ff; !important }
|
16
|
-
</style>
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
<h1>CodeMirror: Match Highlighter Demo</h1>
|
20
|
-
|
21
|
-
<form><textarea id="code" name="code">Select this text: hardToSpotVar
|
22
|
-
And everywhere else in your code where hardToSpotVar appears will automatically illuminate.
|
23
|
-
Give it a try! No more hardToSpotVars.</textarea></form>
|
24
|
-
|
25
|
-
<script>
|
26
|
-
var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
|
27
|
-
lineNumbers : true,
|
28
|
-
onCursorActivity: function() {
|
29
|
-
editor.matchHighlight("CodeMirror-matchhighlight");
|
30
|
-
}
|
31
|
-
});
|
32
|
-
</script>
|
33
|
-
|
34
|
-
<p>Highlight matches of selected text on select</p>
|
35
|
-
|
36
|
-
</body>
|
37
|
-
</html>
|