Skip to content

Commit

Permalink
package 29.01.24
Browse files Browse the repository at this point in the history
  • Loading branch information
akoreman committed Jan 29, 2024
1 parent 899e17c commit 17e5a32
Show file tree
Hide file tree
Showing 71 changed files with 4,234 additions and 1,042 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -2,6 +2,14 @@

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.32.4](https://github.com/ajaxorg/ace/compare/v1.32.3...v1.32.4) (2024-01-29)


### Bug Fixes

* Improve contrast of completion popup in CloudEditor theme ([#5473](https://github.com/ajaxorg/ace/issues/5473)) ([273c7f1](https://github.com/ajaxorg/ace/commit/273c7f159ded7dc9403266c6501e16a35e4101c6))
* update JSX mode to reflect React JSX ([#5451](https://github.com/ajaxorg/ace/issues/5451)) ([66789a7](https://github.com/ajaxorg/ace/commit/66789a79ce1b7791c65886d8aecddd7efc0415e8))

### [1.32.3](https://github.com/ajaxorg/ace/compare/v1.32.2...v1.32.3) (2023-12-29)


Expand Down
2 changes: 2 additions & 0 deletions ace-modules.d.ts
Expand Up @@ -218,6 +218,7 @@ declare module 'ace-builds/src-noconflict/mode-xml';
declare module 'ace-builds/src-noconflict/mode-xquery';
declare module 'ace-builds/src-noconflict/mode-yaml';
declare module 'ace-builds/src-noconflict/mode-zeek';
declare module 'ace-builds/src-noconflict/mode-zig';
declare module 'ace-builds/src-noconflict/theme-ambiance';
declare module 'ace-builds/src-noconflict/theme-chaos';
declare module 'ace-builds/src-noconflict/theme-chrome';
Expand Down Expand Up @@ -453,3 +454,4 @@ declare module 'ace-builds/src-noconflict/snippets/xml';
declare module 'ace-builds/src-noconflict/snippets/xquery';
declare module 'ace-builds/src-noconflict/snippets/yaml';
declare module 'ace-builds/src-noconflict/snippets/zeek';
declare module 'ace-builds/src-noconflict/snippets/zig';
2 changes: 1 addition & 1 deletion ace.d.ts
Expand Up @@ -192,7 +192,7 @@ export namespace Ace {
fontFamily: string;
maxLines: number;
minLines: number;
scrollPastEnd: boolean;
scrollPastEnd: number;
fixedWidthGutter: boolean;
customScrollbar: boolean;
theme: string;
Expand Down
22 changes: 22 additions & 0 deletions css/theme/cloud_editor.css
Expand Up @@ -182,3 +182,25 @@
outline: 1px solid #0073bb;
}

.ace-cloud_editor.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
background-color: #f2f3f3;
border: #0F68AE 1.5px solid;
}
.ace-cloud_editor.ace_editor.ace_autocomplete .ace_line-hover {
border: 1px solid #16191f;
background: #f2f3f3;
}
.ace-cloud_editor.ace_editor.ace_autocomplete .ace_completion-meta {
color: #545b64;
}
.ace-cloud_editor.ace_editor.ace_autocomplete .ace_completion-highlight{
color: #0F68AE;
}
.ace-cloud_editor.ace_editor.ace_autocomplete {
box-shadow: 0 1px 1px 0 #001c244d, 1px 1px 1px 0 #001c2426, -1px 1px 1px 0 #001c2426;
line-height: 1.5;
border: 1px solid #eaeded;
background: #ffffff;
color: #16191f;
}

22 changes: 22 additions & 0 deletions css/theme/cloud_editor_dark.css
Expand Up @@ -185,3 +185,25 @@
outline: 1px solid #44b9d6;
}

.ace-cloud_editor_dark.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {
background-color: #272A30;
border: #299FBC 1.5px solid;
}
.ace-cloud_editor_dark.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {
border: 1px solid #d5dbdb;
background: #272A30;
}
.ace-cloud_editor_dark.ace_dark.ace_editor.ace_autocomplete .ace_completion-meta {
color: #ACB8B9;
}
.ace-cloud_editor_dark.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{
color: #2AA0BC;
}
.ace-cloud_editor_dark.ace_dark.ace_editor.ace_autocomplete {
box-shadow: 0 1px 1px 0 #001c244d, 1px 1px 1px 0 #001c2426, -1px 1px 1px 0 #001c2426;
line-height: 1.5;
border: 1px solid #2a2e33;
background: #050506;
color: #ffffff;
}

6 changes: 4 additions & 2 deletions demo/kitchen-sink/demo.js
Expand Up @@ -1650,7 +1650,7 @@ var supportedModes = {
Jack: ["jack"],
Jade: ["jade|pug"],
Java: ["java"],
JavaScript: ["js|jsm|jsx|cjs|mjs"],
JavaScript: ["js|jsm|cjs|mjs"],
JEXL: ["jexl"],
JSON: ["json"],
JSON5: ["json5"],
Expand Down Expand Up @@ -1762,7 +1762,8 @@ var supportedModes = {
XML: ["xml|rdf|rss|wsdl|xslt|atom|mathml|mml|xul|xbl|xaml"],
XQuery: ["xq"],
YAML: ["yaml|yml"],
Zeek: ["zeek|bro"]
Zeek: ["zeek|bro"],
Zig: ["zig"]
};
var nameOverrides = {
ObjectiveC: "Objective-C",
Expand Down Expand Up @@ -6078,6 +6079,7 @@ var Autocomplete = /** @class */ (function () {
this.base = this.editor.session.doc.createAnchor(pos.row, pos.column);
this.base.$insertRight = true;
this.completions = new FilteredList(options.matches);
this.getCompletionProvider().completions = this.completions;
return this.openPopup(this.editor, "", keepPopupPosition);
}
var session = this.editor.getSession();
Expand Down
16 changes: 8 additions & 8 deletions demo/kitchen-sink/docs/jsx.jsx
@@ -1,9 +1,9 @@
/*EXPECTED
hello world!
*/
class Test {
static function run() : void {
// console.log("hello world!");
log "hello world!";
}
import * as React from "react";

export default () => {
return (
<div variant="p">
Keywords here are not highlighted, for example class or instance.
</div>
);
}
6 changes: 6 additions & 0 deletions demo/kitchen-sink/docs/zig.zig
@@ -0,0 +1,6 @@
const std = @import("std");

pub fn main() !void {
const stdout = std.io.getStdOut().writer();
try stdout.print("Hello, {s}!\n", .{"world"});
}
4 changes: 3 additions & 1 deletion esm-resolver.js
Expand Up @@ -215,6 +215,7 @@ ace.config.setModuleLoader('ace/mode/xml', () => import('./src-noconflict/mode-x
ace.config.setModuleLoader('ace/mode/xquery', () => import('./src-noconflict/mode-xquery.js'));
ace.config.setModuleLoader('ace/mode/yaml', () => import('./src-noconflict/mode-yaml.js'));
ace.config.setModuleLoader('ace/mode/zeek', () => import('./src-noconflict/mode-zeek.js'));
ace.config.setModuleLoader('ace/mode/zig', () => import('./src-noconflict/mode-zig.js'));
ace.config.setModuleLoader('ace/theme/ambiance', () => import('./src-noconflict/theme-ambiance.js'));
ace.config.setModuleLoader('ace/theme/chaos', () => import('./src-noconflict/theme-chaos.js'));
ace.config.setModuleLoader('ace/theme/chrome', () => import('./src-noconflict/theme-chrome.js'));
Expand Down Expand Up @@ -460,4 +461,5 @@ ace.config.setModuleLoader('ace/snippets/wollok', () => import('./src-noconflict
ace.config.setModuleLoader('ace/snippets/xml', () => import('./src-noconflict/snippets/xml.js'));
ace.config.setModuleLoader('ace/snippets/xquery', () => import('./src-noconflict/snippets/xquery.js'));
ace.config.setModuleLoader('ace/snippets/yaml', () => import('./src-noconflict/snippets/yaml.js'));
ace.config.setModuleLoader('ace/snippets/zeek', () => import('./src-noconflict/snippets/zeek.js'));
ace.config.setModuleLoader('ace/snippets/zeek', () => import('./src-noconflict/snippets/zeek.js'));
ace.config.setModuleLoader('ace/snippets/zig', () => import('./src-noconflict/snippets/zig.js'));
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "ace-builds",
"main": "./src-noconflict/ace.js",
"typings": "ace.d.ts",
"version": "1.32.3",
"version": "1.32.4",
"description": "Ace (Ajax.org Cloud9 Editor)",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
Expand Down
2 changes: 1 addition & 1 deletion src-min-noconflict/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-inline_autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-language_tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-modelist.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-options.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-prompt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/ext-settings_menu.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/keybinding-vim.js

Large diffs are not rendered by default.

0 comments on commit 17e5a32

Please sign in to comment.