From 1ac1817ea10659f2301858aabde34dcb17b2e67f Mon Sep 17 00:00:00 2001 From: Alice Koreman Date: Mon, 30 Oct 2023 11:14:40 +0100 Subject: [PATCH] package 30.10.23 --- CHANGELOG.md | 7 ++ css/ace.css | 24 ++++ demo/i18n.html | 2 + demo/kitchen-sink/demo.js | 51 ++++++-- demo/scrollable-page.html | 6 +- demo/shadow-dom.html | 6 +- demo/show_own_source.js | 2 +- demo/static-highlighter.html | 1 + demo/toolbar.html | 2 +- demo/xml.xml | 2 +- package.json | 2 +- src-min-noconflict/ace.js | 2 +- src-min-noconflict/ext-inline_autocomplete.js | 2 +- src-min-noconflict/ext-language_tools.js | 2 +- src-min-noconflict/ext-prompt.js | 2 +- src-min-noconflict/ext-static_highlight.js | 2 +- src-min-noconflict/keybinding-vscode.js | 2 +- src-min-noconflict/mode-abap.js | 2 +- src-min-noconflict/mode-assembly_x86.js | 2 +- src-min-noconflict/mode-astro.js | 2 +- src-min-noconflict/mode-cirru.js | 2 +- src-min-noconflict/mode-coffee.js | 2 +- src-min-noconflict/mode-crystal.js | 2 +- src-min-noconflict/mode-elixir.js | 2 +- src-min-noconflict/mode-haml.js | 2 +- src-min-noconflict/mode-html_elixir.js | 2 +- src-min-noconflict/mode-jade.js | 2 +- src-min-noconflict/mode-logiql.js | 2 +- src-min-noconflict/mode-makefile.js | 2 +- src-min-noconflict/mode-pascal.js | 2 +- src-min-noconflict/mode-sass.js | 2 +- src-min-noconflict/mode-slim.js | 2 +- src-min-noconflict/mode-snippets.js | 2 +- src-min-noconflict/mode-space.js | 2 +- src-min-noconflict/mode-stylus.js | 2 +- src-min-noconflict/mode-yaml.js | 2 +- src-min/ace.js | 2 +- src-min/ext-inline_autocomplete.js | 2 +- src-min/ext-language_tools.js | 2 +- src-min/ext-prompt.js | 2 +- src-min/ext-static_highlight.js | 2 +- src-min/keybinding-vscode.js | 2 +- src-min/mode-abap.js | 2 +- src-min/mode-assembly_x86.js | 2 +- src-min/mode-astro.js | 2 +- src-min/mode-cirru.js | 2 +- src-min/mode-coffee.js | 2 +- src-min/mode-crystal.js | 2 +- src-min/mode-elixir.js | 2 +- src-min/mode-haml.js | 2 +- src-min/mode-html_elixir.js | 2 +- src-min/mode-jade.js | 2 +- src-min/mode-logiql.js | 2 +- src-min/mode-makefile.js | 2 +- src-min/mode-pascal.js | 2 +- src-min/mode-sass.js | 2 +- src-min/mode-slim.js | 2 +- src-min/mode-snippets.js | 2 +- src-min/mode-space.js | 2 +- src-min/mode-stylus.js | 2 +- src-min/mode-yaml.js | 2 +- src-noconflict/ace.js | 13 ++- src-noconflict/ext-inline_autocomplete.js | 23 +++- src-noconflict/ext-language_tools.js | 23 +++- src-noconflict/ext-prompt.js | 23 +++- src-noconflict/ext-static_highlight.js | 2 +- src-noconflict/keybinding-vscode.js | 2 +- src-noconflict/mode-abap.js | 13 ++- src-noconflict/mode-assembly_x86.js | 13 ++- src-noconflict/mode-astro.js | 82 +++++++------ src-noconflict/mode-cirru.js | 13 ++- src-noconflict/mode-coffee.js | 13 ++- src-noconflict/mode-crystal.js | 13 ++- src-noconflict/mode-elixir.js | 13 ++- src-noconflict/mode-haml.js | 13 ++- src-noconflict/mode-html_elixir.js | 13 ++- src-noconflict/mode-jade.js | 13 ++- src-noconflict/mode-logiql.js | 13 ++- src-noconflict/mode-makefile.js | 13 ++- src-noconflict/mode-pascal.js | 13 ++- src-noconflict/mode-sass.js | 13 ++- src-noconflict/mode-slim.js | 13 ++- src-noconflict/mode-snippets.js | 13 ++- src-noconflict/mode-space.js | 13 ++- src-noconflict/mode-stylus.js | 13 ++- src-noconflict/mode-yaml.js | 109 +++++++++++++++++- src/ace.js | 13 ++- src/ext-inline_autocomplete.js | 23 +++- src/ext-language_tools.js | 23 +++- src/ext-prompt.js | 23 +++- src/ext-static_highlight.js | 2 +- src/keybinding-vscode.js | 2 +- src/mode-abap.js | 13 ++- src/mode-assembly_x86.js | 13 ++- src/mode-astro.js | 82 +++++++------ src/mode-cirru.js | 13 ++- src/mode-coffee.js | 13 ++- src/mode-crystal.js | 13 ++- src/mode-elixir.js | 13 ++- src/mode-haml.js | 13 ++- src/mode-html_elixir.js | 13 ++- src/mode-jade.js | 13 ++- src/mode-logiql.js | 13 ++- src/mode-makefile.js | 13 ++- src/mode-pascal.js | 13 ++- src/mode-sass.js | 13 ++- src/mode-slim.js | 13 ++- src/mode-snippets.js | 13 ++- src/mode-space.js | 13 ++- src/mode-stylus.js | 13 ++- src/mode-yaml.js | 109 +++++++++++++++++- 111 files changed, 891 insertions(+), 310 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ecd654d8..1a0fde636 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.31.1](https://github.com/ajaxorg/ace/compare/v1.31.0...v1.31.1) (2023-10-30) + + +### Bug Fixes + +* improve yaml folding ([5c80e3c](https://github.com/ajaxorg/ace/commit/5c80e3cdd716b4ad26ee6958c9137278530b7816)) + ## [1.31.0](https://github.com/ajaxorg/ace/compare/v1.30.0...v1.31.0) (2023-10-23) diff --git a/css/ace.css b/css/ace.css index e5f71ae07..51dce40c5 100644 --- a/css/ace.css +++ b/css/ace.css @@ -905,6 +905,7 @@ opacity: 0.5; margin-left: 0.9em; } .ace_completion-message { +margin-left: 0.9em; color: blue; } .ace_editor.ace_autocomplete .ace_completion-highlight{ @@ -950,6 +951,29 @@ text-overflow: ellipsis; .ace_autocomplete .ace_completion-spacer { flex: 1; } +.ace_autocomplete.ace_loading:after { +content: ""; +position: absolute; +top: 0px; +height: 2px; +width: 8%; +background: blue; +z-index: 100; +animation: ace_progress 3s infinite linear; +animation-delay: 300ms; +transform: translateX(-100%) scaleX(1); +} +@keyframes ace_progress { +0% { transform: translateX(-100%) scaleX(1) } +50% { transform: translateX(625%) scaleX(2) } +100% { transform: translateX(1500%) scaleX(3) } +} +@media (prefers-reduced-motion) { +.ace_autocomplete.ace_loading:after { +transform: translateX(625%) scaleX(2); +animation: none; +} +} /*inlineautocomplete.css*/ .ace_icon_svg.ace_arrow, .ace_icon_svg.ace_arrow_rotated { diff --git a/demo/i18n.html b/demo/i18n.html index e8f5cdece..fd29c5ccf 100644 --- a/demo/i18n.html +++ b/demo/i18n.html @@ -47,6 +47,8 @@ + + + + diff --git a/demo/show_own_source.js b/demo/show_own_source.js index 2af177710..56a01f891 100644 --- a/demo/show_own_source.js +++ b/demo/show_own_source.js @@ -21,7 +21,7 @@ if (typeof ace == "undefined" && typeof require == "undefined") { function setValue() { require("ace/lib/net").get(document.baseURI, function(text) { var el = document.getElementById("editor"); - el.env.editor.session.setValue(text); + if (el) el.env.editor.session.setValue(text); }); loadAceLinters(); } diff --git a/demo/static-highlighter.html b/demo/static-highlighter.html index 511243cb0..ad35bcfe6 100644 --- a/demo/static-highlighter.html +++ b/demo/static-highlighter.html @@ -78,5 +78,6 @@

Client Side Syntax Highlighting

}); + diff --git a/demo/toolbar.html b/demo/toolbar.html index d4e979f79..38a790127 100644 --- a/demo/toolbar.html +++ b/demo/toolbar.html @@ -23,7 +23,7 @@