Skip to content

Commit

Permalink
package 04.11.24
Browse files Browse the repository at this point in the history
  • Loading branch information
babalaui committed Nov 4, 2024
1 parent a10728b commit af77064
Show file tree
Hide file tree
Showing 45 changed files with 701 additions and 174 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.36.4](https://github.com/ajaxorg/ace/compare/v1.36.3...v1.36.4) (2024-11-04)


### Bug Fixes

* **a11y:** update aria-label of textinput on cursor move ([#5665](https://github.com/ajaxorg/ace/issues/5665)) ([6ff93a8](https://github.com/ajaxorg/ace/commit/6ff93a86fe8c4855789ee7e7c156f7b376c0f935))

### [1.36.3](https://github.com/ajaxorg/ace/compare/v1.36.2...v1.36.3) (2024-10-21)


Expand Down
2 changes: 2 additions & 0 deletions ace-modules.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ declare module 'ace-builds/src-noconflict/mode-assembly_arm32';
declare module 'ace-builds/src-noconflict/mode-assembly_x86';
declare module 'ace-builds/src-noconflict/mode-astro';
declare module 'ace-builds/src-noconflict/mode-autohotkey';
declare module 'ace-builds/src-noconflict/mode-basic';
declare module 'ace-builds/src-noconflict/mode-batchfile';
declare module 'ace-builds/src-noconflict/mode-bibtex';
declare module 'ace-builds/src-noconflict/mode-c9search';
Expand Down Expand Up @@ -284,6 +285,7 @@ declare module 'ace-builds/src-noconflict/snippets/assembly_arm32';
declare module 'ace-builds/src-noconflict/snippets/assembly_x86';
declare module 'ace-builds/src-noconflict/snippets/astro';
declare module 'ace-builds/src-noconflict/snippets/autohotkey';
declare module 'ace-builds/src-noconflict/snippets/basic';
declare module 'ace-builds/src-noconflict/snippets/batchfile';
declare module 'ace-builds/src-noconflict/snippets/bibtex';
declare module 'ace-builds/src-noconflict/snippets/c9search';
Expand Down
39 changes: 20 additions & 19 deletions demo/kitchen-sink/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -1593,6 +1593,7 @@ var supportedModes = {
Astro: ["astro"],
AutoHotKey: ["ahk"],
BatchFile: ["bat|cmd"],
Basic: ["bas|bak"],
BibTeX: ["bib"],
C_Cpp: ["cpp|c|cc|cxx|h|hh|hpp|ino"],
C9Search: ["c9search_results"],
Expand Down Expand Up @@ -6277,6 +6278,25 @@ var Autocomplete = /** @class */ (function () {
}
this.inlineRenderer = this.popup = this.editor = null;
};
Autocomplete.for = function (editor) {
if (editor.completer instanceof Autocomplete) {
return editor.completer;
}
if (editor.completer) {
editor.completer.destroy();
editor.completer = null;
}
if (config.get("sharedPopups")) {
if (!Autocomplete["$sharedInstance"])
Autocomplete["$sharedInstance"] = new Autocomplete();
editor.completer = Autocomplete["$sharedInstance"];
}
else {
editor.completer = new Autocomplete();
editor.once("destroy", destroyCompleter);
}
return editor.completer;
};
return Autocomplete;
}());
Autocomplete.prototype.commands = {
Expand All @@ -6303,25 +6323,6 @@ Autocomplete.prototype.commands = {
"PageUp": function (editor) { editor.completer.popup.gotoPageUp(); },
"PageDown": function (editor) { editor.completer.popup.gotoPageDown(); }
};
Autocomplete.for = function (editor) {
if (editor.completer instanceof Autocomplete) {
return editor.completer;
}
if (editor.completer) {
editor.completer.destroy();
editor.completer = null;
}
if (config.get("sharedPopups")) {
if (!Autocomplete["$sharedInstance"])
Autocomplete["$sharedInstance"] = new Autocomplete();
editor.completer = Autocomplete["$sharedInstance"];
}
else {
editor.completer = new Autocomplete();
editor.once("destroy", destroyCompleter);
}
return editor.completer;
};
Autocomplete.startCommand = {
name: "startAutocomplete",
exec: function (editor, options) {
Expand Down
43 changes: 43 additions & 0 deletions demo/kitchen-sink/docs/basic.bas
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
120 OPEN"R" #1 "INVEN.DAT",39
125 FIELD#1,1 AS F$,30 AS D$, 2 AS Q$,2 AS R$,4 AS PH
130 PRINT:PRINT "FUNCTIONS:":PRINT
135 PRINT 1,"INITIALIZE FILE"
140 PRINT 2 "CREATE A NEW ENTRY"
150 PRINT 3,"DISPLAY INVENTORY FOR ONE PART"
160 PRINT 4 "ADD TO STOCK"
170 PRINT 5,"SUBTRACT FROM STOCK"
180 PRINT 6,"DISPLAY ALL ITEMS BELOW REORDER LEVEL"
220 PRINT:PRINT:INPUT"FUNCTION";FUNCTION
225 IF (FUNCTION<1)OR(FUNCTION>6) THEN PRINT "BAD FUNCTION NUMBER":GOTO 130
230 ON FUNCTION GOSUB 900,250,390,480,560,680
240 GOTO 220
560 REM REMOVE FROM STOCK
570 GOSUB 840
580 IF ASC(F$)=255 THEN PRINT "NULL ENTRY":RETURN
590 PRINT DH
600 INPUT "QUANTITY TO SUBTRACT";S%
610 Q%=CVI(Q$)
620 IF (Q%-S%)<0 THEN PRINT "ONIY";Q%; "IN STOCK":GOTO 600
630 Q%=Q%-S%
640 IF Q%=<CVT(R$) THEN PRINT "QUANTITY NOW";Q%;
44 REORDER LEVEL";CVI(RH)
LSET Q$=MKU(Q%)
PUT#1,PART%
RETURN
DISPLAY ITEMS BELOW REORDER LEVEL
FOR 1=1 TO 100
GET#1J
IF OVI(tzH)OVI(RH) THEN PRINT Dtz;" QUANTITY";
OVI(Qtz) TAB(50) "REORDER LEVEL";CVI(R$)
NEXT I
RETURN
INPUT "PART NUMBER";PART%
IF(PART%<1)OR(PART%>100) THEN PRINT "BAD PART NUMBER": GOTO 840 ELSE GET#1 J>ART%:RETURN
END
REM INITIALIZE FILE
INPUT "ARE YOU SURE";B$:IF B$<="Y" THEN RETURN
LSET F$=CHR$(255)
FOR O=1 TO 100
PUT#1J
NEXT I
RETURN
2 changes: 2 additions & 0 deletions esm-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ace.config.setModuleLoader('ace/mode/assembly_arm32', () => import('./src-noconf
ace.config.setModuleLoader('ace/mode/assembly_x86', () => import('./src-noconflict/mode-assembly_x86.js'));
ace.config.setModuleLoader('ace/mode/astro', () => import('./src-noconflict/mode-astro.js'));
ace.config.setModuleLoader('ace/mode/autohotkey', () => import('./src-noconflict/mode-autohotkey.js'));
ace.config.setModuleLoader('ace/mode/basic', () => import('./src-noconflict/mode-basic.js'));
ace.config.setModuleLoader('ace/mode/batchfile', () => import('./src-noconflict/mode-batchfile.js'));
ace.config.setModuleLoader('ace/mode/bibtex', () => import('./src-noconflict/mode-bibtex.js'));
ace.config.setModuleLoader('ace/mode/c9search', () => import('./src-noconflict/mode-c9search.js'));
Expand Down Expand Up @@ -292,6 +293,7 @@ ace.config.setModuleLoader('ace/snippets/assembly_arm32', () => import('./src-no
ace.config.setModuleLoader('ace/snippets/assembly_x86', () => import('./src-noconflict/snippets/assembly_x86.js'));
ace.config.setModuleLoader('ace/snippets/astro', () => import('./src-noconflict/snippets/astro.js'));
ace.config.setModuleLoader('ace/snippets/autohotkey', () => import('./src-noconflict/snippets/autohotkey.js'));
ace.config.setModuleLoader('ace/snippets/basic', () => import('./src-noconflict/snippets/basic.js'));
ace.config.setModuleLoader('ace/snippets/batchfile', () => import('./src-noconflict/snippets/batchfile.js'));
ace.config.setModuleLoader('ace/snippets/bibtex', () => import('./src-noconflict/snippets/bibtex.js'));
ace.config.setModuleLoader('ace/snippets/c9search', () => import('./src-noconflict/snippets/c9search.js'));
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ace-builds",
"main": "./src-noconflict/ace.js",
"typings": "ace.d.ts",
"version": "1.36.3",
"version": "1.36.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.

Loading

0 comments on commit af77064

Please sign in to comment.