snippets
1 year ago
ace.js
1 year ago
ext-beautify.js
1 year ago
ext-code_lens.js
1 year ago
ext-elastic_tabstops_lite.js
1 year ago
ext-emmet.js
1 year ago
ext-error_marker.js
1 year ago
ext-hardwrap.js
1 year ago
ext-keybinding_menu.js
1 year ago
ext-language_tools.js
1 year ago
ext-linking.js
1 year ago
ext-modelist.js
1 year ago
ext-options.js
1 year ago
ext-prompt.js
1 year ago
ext-rtl.js
1 year ago
ext-searchbox.js
1 year ago
ext-settings_menu.js
1 year ago
ext-spellcheck.js
1 year ago
ext-split.js
1 year ago
ext-static_highlight.js
1 year ago
ext-statusbar.js
1 year ago
ext-textarea.js
1 year ago
ext-themelist.js
1 year ago
ext-whitespace.js
1 year ago
keybinding-emacs.js
1 year ago
keybinding-sublime.js
1 year ago
keybinding-vim.js
1 year ago
keybinding-vscode.js
1 year ago
mode-abap.js
1 year ago
mode-abc.js
1 year ago
mode-actionscript.js
1 year ago
mode-ada.js
1 year ago
mode-alda.js
1 year ago
mode-apache_conf.js
1 year ago
mode-apex.js
1 year ago
mode-applescript.js
1 year ago
mode-aql.js
1 year ago
mode-asciidoc.js
1 year ago
mode-asl.js
1 year ago
mode-assembly_x86.js
1 year ago
mode-autohotkey.js
1 year ago
mode-batchfile.js
1 year ago
mode-c9search.js
1 year ago
mode-c_cpp.js
1 year ago
mode-cirru.js
1 year ago
mode-clojure.js
1 year ago
mode-cobol.js
1 year ago
mode-coffee.js
1 year ago
mode-coldfusion.js
1 year ago
mode-crystal.js
1 year ago
mode-csharp.js
1 year ago
mode-csound_document.js
1 year ago
mode-csound_orchestra.js
1 year ago
mode-csound_score.js
1 year ago
mode-csp.js
1 year ago
mode-css.js
1 year ago
mode-curly.js
1 year ago
mode-d.js
1 year ago
mode-dart.js
1 year ago
mode-diff.js
1 year ago
mode-django.js
1 year ago
mode-dockerfile.js
1 year ago
mode-dot.js
1 year ago
mode-drools.js
1 year ago
mode-edifact.js
1 year ago
mode-eiffel.js
1 year ago
mode-ejs.js
1 year ago
mode-elixir.js
1 year ago
mode-elm.js
1 year ago
mode-erlang.js
1 year ago
mode-forth.js
1 year ago
mode-fortran.js
1 year ago
mode-fsharp.js
1 year ago
mode-fsl.js
1 year ago
mode-ftl.js
1 year ago
mode-gcode.js
1 year ago
mode-gherkin.js
1 year ago
mode-gitignore.js
1 year ago
mode-glsl.js
1 year ago
mode-gobstones.js
1 year ago
mode-golang.js
1 year ago
mode-graphqlschema.js
1 year ago
mode-groovy.js
1 year ago
mode-haml.js
1 year ago
mode-handlebars.js
1 year ago
mode-haskell.js
1 year ago
mode-haskell_cabal.js
1 year ago
mode-haxe.js
1 year ago
mode-hjson.js
1 year ago
mode-html.js
1 year ago
mode-html_elixir.js
1 year ago
mode-html_ruby.js
1 year ago
mode-ini.js
1 year ago
mode-io.js
1 year ago
mode-ion.js
1 year ago
mode-jack.js
1 year ago
mode-jade.js
1 year ago
mode-java.js
1 year ago
mode-javascript.js
1 year ago
mode-json.js
1 year ago
mode-json5.js
1 year ago
mode-jsoniq.js
1 year ago
mode-jsp.js
1 year ago
mode-jssm.js
1 year ago
mode-jsx.js
1 year ago
mode-julia.js
1 year ago
mode-kotlin.js
1 year ago
mode-latex.js
1 year ago
mode-latte.js
1 year ago
mode-less.js
1 year ago
mode-liquid.js
1 year ago
mode-lisp.js
1 year ago
mode-livescript.js
1 year ago
mode-logiql.js
1 year ago
mode-logtalk.js
1 year ago
mode-lsl.js
1 year ago
mode-lua.js
1 year ago
mode-luapage.js
1 year ago
mode-lucene.js
1 year ago
mode-makefile.js
1 year ago
mode-markdown.js
1 year ago
mode-mask.js
1 year ago
mode-matlab.js
1 year ago
mode-maze.js
1 year ago
mode-mediawiki.js
1 year ago
mode-mel.js
1 year ago
mode-mips.js
1 year ago
mode-mixal.js
1 year ago
mode-mushcode.js
1 year ago
mode-mysql.js
1 year ago
mode-nginx.js
1 year ago
mode-nim.js
1 year ago
mode-nix.js
1 year ago
mode-nsis.js
1 year ago
mode-nunjucks.js
1 year ago
mode-objectivec.js
1 year ago
mode-ocaml.js
1 year ago
mode-partiql.js
1 year ago
mode-pascal.js
1 year ago
mode-perl.js
1 year ago
mode-pgsql.js
1 year ago
mode-php.js
1 year ago
mode-php_laravel_blade.js
1 year ago
mode-pig.js
1 year ago
mode-plain_text.js
1 year ago
mode-powershell.js
1 year ago
mode-praat.js
1 year ago
mode-prisma.js
1 year ago
mode-prolog.js
1 year ago
mode-properties.js
1 year ago
mode-protobuf.js
1 year ago
mode-puppet.js
1 year ago
mode-python.js
1 year ago
mode-qml.js
1 year ago
mode-r.js
1 year ago
mode-raku.js
1 year ago
mode-razor.js
1 year ago
mode-rdoc.js
1 year ago
mode-red.js
1 year ago
mode-redshift.js
1 year ago
mode-rhtml.js
1 year ago
mode-robot.js
1 year ago
mode-rst.js
1 year ago
mode-ruby.js
1 year ago
mode-rust.js
1 year ago
mode-sac.js
1 year ago
mode-sass.js
1 year ago
mode-scad.js
1 year ago
mode-scala.js
1 year ago
mode-scheme.js
1 year ago
mode-scrypt.js
1 year ago
mode-scss.js
1 year ago
mode-sh.js
1 year ago
mode-sjs.js
1 year ago
mode-slim.js
1 year ago
mode-smarty.js
1 year ago
mode-smithy.js
1 year ago
mode-snippets.js
1 year ago
mode-soy_template.js
1 year ago
mode-space.js
1 year ago
mode-sparql.js
1 year ago
mode-sql.js
1 year ago
mode-sqlserver.js
1 year ago
mode-stylus.js
1 year ago
mode-svg.js
1 year ago
mode-swift.js
1 year ago
mode-tcl.js
1 year ago
mode-terraform.js
1 year ago
mode-tex.js
1 year ago
mode-text.js
1 year ago
mode-textile.js
1 year ago
mode-toml.js
1 year ago
mode-tsx.js
1 year ago
mode-turtle.js
1 year ago
mode-twig.js
1 year ago
mode-typescript.js
1 year ago
mode-vala.js
1 year ago
mode-vbscript.js
1 year ago
mode-velocity.js
1 year ago
mode-verilog.js
1 year ago
mode-vhdl.js
1 year ago
mode-visualforce.js
1 year ago
mode-wollok.js
1 year ago
mode-xml.js
1 year ago
mode-xquery.js
1 year ago
mode-yaml.js
1 year ago
mode-zeek.js
1 year ago
theme-ambiance.js
1 year ago
theme-chaos.js
1 year ago
theme-chrome.js
1 year ago
theme-cloud9_day.js
1 year ago
theme-cloud9_night.js
1 year ago
theme-cloud9_night_low_color.js
1 year ago
theme-clouds.js
1 year ago
theme-clouds_midnight.js
1 year ago
theme-cobalt.js
1 year ago
theme-crimson_editor.js
1 year ago
theme-dawn.js
1 year ago
theme-dracula.js
1 year ago
theme-dreamweaver.js
1 year ago
theme-eclipse.js
1 year ago
theme-github.js
1 year ago
theme-gob.js
1 year ago
theme-gruvbox.js
1 year ago
theme-gruvbox_dark_hard.js
1 year ago
theme-gruvbox_light_hard.js
1 year ago
theme-idle_fingers.js
1 year ago
theme-iplastic.js
1 year ago
theme-katzenmilch.js
1 year ago
theme-kr_theme.js
1 year ago
theme-kuroir.js
1 year ago
theme-merbivore.js
1 year ago
theme-merbivore_soft.js
1 year ago
theme-mono_industrial.js
1 year ago
theme-monokai.js
1 year ago
theme-nord_dark.js
1 year ago
theme-one_dark.js
1 year ago
theme-pastel_on_dark.js
1 year ago
theme-solarized_dark.js
1 year ago
theme-solarized_light.js
1 year ago
theme-sqlserver.js
1 year ago
theme-terminal.js
1 year ago
theme-textmate.js
1 year ago
theme-tomorrow.js
1 year ago
theme-tomorrow_night.js
1 year ago
theme-tomorrow_night_blue.js
1 year ago
theme-tomorrow_night_bright.js
1 year ago
theme-tomorrow_night_eighties.js
1 year ago
theme-twilight.js
1 year ago
theme-vibrant_ink.js
1 year ago
theme-xcode.js
1 year ago
worker-base.js
1 year ago
worker-coffee.js
1 year ago
worker-css.js
1 year ago
worker-html.js
1 year ago
worker-javascript.js
1 year ago
worker-json.js
1 year ago
worker-lua.js
1 year ago
worker-php.js
1 year ago
worker-xml.js
1 year ago
worker-xquery.js
1 year ago
worker-yaml.js
1 year ago
keybinding-vscode.js
8 lines
| 1 | ace.define("ace/keyboard/vscode",["require","exports","module","ace/keyboard/hash_handler","ace/config"],function(e,t,n){"use strict";var r=e("../keyboard/hash_handler").HashHandler,i=e("../config");t.handler=new r,t.handler.$id="ace/keyboard/vscode",t.handler.addCommands([{name:"toggleWordWrap",exec:function(e){var t=e.session.getUseWrapMode();e.session.setUseWrapMode(!t)},readOnly:!0},{name:"navigateToLastEditLocation",exec:function(e){var t=e.session.getUndoManager().$lastDelta,n=t.action=="remove"?t.start:t.end;e.moveCursorTo(n.row,n.column),e.clearSelection()}},{name:"replaceAll",exec:function(e){e.searchBox?e.searchBox.active===!0&&e.searchBox.replaceOption.checked===!0&&e.searchBox.replaceAll():i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"replaceOne",exec:function(e){e.searchBox?e.searchBox.active===!0&&e.searchBox.replaceOption.checked===!0&&e.searchBox.replace():i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!0)})}},{name:"selectAllMatches",exec:function(e){e.searchBox?e.searchBox.active===!0&&e.searchBox.findAll():i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!1)})}},{name:"toggleFindCaseSensitive",exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!1);var n=e.searchBox;n.caseSensitiveOption.checked=!n.caseSensitiveOption.checked,n.$syncOptions()})}},{name:"toggleFindInSelection",exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!1);var n=e.searchBox;n.searchOption.checked=!n.searchRange,n.setSearchRange(n.searchOption.checked&&n.editor.getSelectionRange()),n.$syncOptions()})}},{name:"toggleFindRegex",exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!1);var n=e.searchBox;n.regExpOption.checked=!n.regExpOption.checked,n.$syncOptions()})}},{name:"toggleFindWholeWord",exec:function(e){i.loadModule("ace/ext/searchbox",function(t){t.Search(e,!1);var n=e.searchBox;n.wholeWordOption.checked=!n.wholeWordOption.checked,n.$syncOptions()})}},{name:"removeSecondaryCursors",exec:function(e){var t=e.selection.ranges;t&&t.length>1?e.selection.toSingleRange(t[t.length-1]):e.selection.clearSelection()}}]),[{bindKey:{mac:"Ctrl-G",win:"Ctrl-G"},name:"gotoline"},{bindKey:{mac:"Command-Shift-L|Command-F2",win:"Ctrl-Shift-L|Ctrl-F2"},name:"findAll"},{bindKey:{mac:"Shift-F8|Shift-Option-F8",win:"Shift-F8|Shift-Alt-F8"},name:"goToPreviousError"},{bindKey:{mac:"F8|Option-F8",win:"F8|Alt-F8"},name:"goToNextError"},{bindKey:{mac:"Command-Shift-P|F1",win:"Ctrl-Shift-P|F1"},name:"openCommandPallete"},{bindKey:{mac:"Command-K|Command-S",win:"Ctrl-K|Ctrl-S"},name:"showKeyboardShortcuts"},{bindKey:{mac:"Shift-Option-Up",win:"Alt-Shift-Up"},name:"copylinesup"},{bindKey:{mac:"Shift-Option-Down",win:"Alt-Shift-Down"},name:"copylinesdown"},{bindKey:{mac:"Command-Shift-K",win:"Ctrl-Shift-K"},name:"removeline"},{bindKey:{mac:"Command-Enter",win:"Ctrl-Enter"},name:"addLineAfter"},{bindKey:{mac:"Command-Shift-Enter",win:"Ctrl-Shift-Enter"},name:"addLineBefore"},{bindKey:{mac:"Command-Shift-\\",win:"Ctrl-Shift-\\"},name:"jumptomatching"},{bindKey:{mac:"Command-]",win:"Ctrl-]"},name:"blockindent"},{bindKey:{mac:"Command-[",win:"Ctrl-["},name:"blockoutdent"},{bindKey:{mac:"Ctrl-PageDown",win:"Alt-PageDown"},name:"pagedown"},{bindKey:{mac:"Ctrl-PageUp",win:"Alt-PageUp"},name:"pageup"},{bindKey:{mac:"Shift-Option-A",win:"Shift-Alt-A"},name:"toggleBlockComment"},{bindKey:{mac:"Option-Z",win:"Alt-Z"},name:"toggleWordWrap"},{bindKey:{mac:"Command-G",win:"F3|Ctrl-K Ctrl-D"},name:"findnext"},{bindKey:{mac:"Command-Shift-G",win:"Shift-F3"},name:"findprevious"},{bindKey:{mac:"Option-Enter",win:"Alt-Enter"},name:"selectAllMatches"},{bindKey:{mac:"Command-D",win:"Ctrl-D"},name:"selectMoreAfter"},{bindKey:{mac:"Command-K Command-D",win:"Ctrl-K Ctrl-D"},name:"selectOrFindNext"},{bindKey:{mac:"Shift-Option-I",win:"Shift-Alt-I"},name:"splitSelectionIntoLines"},{bindKey:{mac:"Command-K M",win:"Ctrl-K M"},name:"modeSelect"},{bindKey:{mac:"Command-Option-[",win:"Ctrl-Shift-["},name:"toggleFoldWidget"},{bindKey:{mac:"Command-Option-]",win:"Ctrl-Shift-]"},name:"toggleFoldWidget"},{bindKey:{mac:"Command-K Command-0",win:"Ctrl-K Ctrl-0"},name:"foldall"},{bindKey:{mac:"Command-K Command-J",win:"Ctrl-K Ctrl-J"},name:"unfoldall"},{bindKey:{mac:"Command-K Command-1",win:"Ctrl-K Ctrl-1"},name:"foldOther"},{bindKey:{mac:"Command-K Command-Q",win:"Ctrl-K Ctrl-Q"},name:"navigateToLastEditLocation"},{bindKey:{mac:"Command-K Command-R|Command-K Command-S",win:"Ctrl-K Ctrl-R|Ctrl-K Ctrl-S"},name:"showKeyboardShortcuts"},{bindKey:{mac:"Command-K Command-X",win:"Ctrl-K Ctrl-X"},name:"trimTrailingSpace"},{bindKey:{mac:"Shift-Down|Command-Shift-Down",win:"Shift-Down|Ctrl-Shift-Down"},name:"selectdown"},{bindKey:{mac:"Shift-Up|Command-Shift-Up",win:"Shift-Up|Ctrl-Shift-Up"},name:"selectup"},{bindKey:{mac:"Command-Alt-Enter",win:"Ctrl-Alt-Enter"},name:"replaceAll"},{bindKey:{mac:"Command-Shift-1",win:"Ctrl-Shift-1"},name:"replaceOne"},{bindKey:{mac:"Option-C",win:"Alt-C"},name:"toggleFindCaseSensitive"},{bindKey:{mac:"Option-L",win:"Alt-L"},name:"toggleFindInSelection"},{bindKey:{mac:"Option-R",win:"Alt-R"},name:"toggleFindRegex"},{bindKey:{mac:"Option-W",win:"Alt-W"},name:"toggleFindWholeWord"},{bindKey:{mac:"Command-L",win:"Ctrl-L"},name:"expandtoline"},{bindKey:{mac:"Shift-Esc",win:"Shift-Esc"},name:"removeSecondaryCursors"}].forEach(function(e){var n=t.handler.commands[e.name];n&&(n.bindKey=e.bindKey),t.handler.bindKey(e.bindKey,n||e.name)})}); (function() { |
| 2 | ace.require(["ace/keyboard/vscode"], function(m) { |
| 3 | if (typeof module == "object" && typeof exports == "object" && module) { |
| 4 | module.exports = m; |
| 5 | } |
| 6 | }); |
| 7 | })(); |
| 8 |