Skip to content

Commit

Permalink
package 09.10.23
Browse files Browse the repository at this point in the history
  • Loading branch information
Oyku Yilmaz committed Oct 9, 2023
1 parent 7872c8a commit d72c4a1
Show file tree
Hide file tree
Showing 25 changed files with 603 additions and 112 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.29.0](https://github.com/ajaxorg/ace/compare/v1.28.0...v1.29.0) (2023-10-09)


### Features

* allow setting completion.ignoreCaption ([5618046](https://github.com/ajaxorg/ace/commit/56180467e12c300850da89cc13c1c8648fb5e342))

## [1.28.0](https://github.com/ajaxorg/ace/compare/v1.27.0...v1.28.0) (2023-09-22)


Expand Down
1 change: 1 addition & 0 deletions ace.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,7 @@ export namespace Ace {
parentNode?: HTMLElement;
setSelectOnHover?: Boolean;
stickySelectionDelay?: Number;
ignoreCaption?: Boolean;
emptyMessage?(prefix: String): String;
getPopup(): AcePopup;
showPopup(editor: Editor, options: CompletionOptions): void;
Expand Down
5 changes: 4 additions & 1 deletion demo/kitchen-sink/demo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5921,7 +5921,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down
42 changes: 42 additions & 0 deletions demo/kitchen-sink/docs/powershell.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,45 @@ $an_array = @(1, 2, 3)
$a_hash = @{"something" = "something else"}

& notepad .\readme.md

$h1 = @{ FirstName = "James"; LastName = "Anderson"; IDNum = 123 }
$last = "Anderson"; $IDNum = 120
$h2 = @{ FirstName = "James"; LastName = $last; IDNum = $IDNum + 3 }
$h3 = @{ }
$h4 = @{ 10 = "James"; 20.5 = "Anderson"; $true = 123 }

${Maximum_Count_26}
${Name with`twhite space and `{punctuation`}}
${E:\\File.txt}

"C:\Temp\" {mkdir "C:\Temp\"}
"C:\Temp\"

@"
This is a here string
$h1 = @{ FirstName = "James"; LastName = "Anderson"; IDNum = 123 }
$last = "Anderson"; $IDNum = 120
$h2 = @{ FirstName = "James"; LastName = $last; IDNum = $IDNum + 3 }
$h3 = @{ }
$h4 = @{ 10 = "James"; 20.5 = "Anderson"; $true = 123 }
$j = 20
still string
$($i = 10) # pipeline gets nothing
$(($i = 10)) # pipeline gets int 10
$($i = 10; $j) # pipeline gets int 20
$(($i = 10); $j) # pipeline gets [object[]](10,20)
$(($i = 10); ++$j) # pipeline gets int 10
$(($i = 10); (++$j)) # pipeline gets [object[]](10,22)
$($i = 10; ++$j) # pipeline gets nothing
$(2,4,6) # pipeline gets [object[]](2,4,6)
"@

@'
Expressions inside should be recognised as string
$h1 = @{ FirstName = "James"; LastName = "Anderson"; IDNum = 123 }
$last = "Anderson"; $IDNum = 120
$h2 = @{ FirstName = "James"; LastName = $last; IDNum = $IDNum + 3 }
$h3 = @{ }
$h4 = @{ 10 = "James"; 20.5 = "Anderson"; $true = 123 }
'@
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.28.0",
"version": "1.29.0",
"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-prompt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min-noconflict/mode-powershell.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min/ace.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-min/mode-powershell.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src-noconflict/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.28.0";
exports.version = "1.29.0";

});

Expand Down
5 changes: 4 additions & 1 deletion src-noconflict/ext-inline_autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down
5 changes: 4 additions & 1 deletion src-noconflict/ext-language_tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down
5 changes: 4 additions & 1 deletion src-noconflict/ext-prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down
302 changes: 256 additions & 46 deletions src-noconflict/mode-powershell.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/ace.js
Original file line number Diff line number Diff line change
Expand Up @@ -1255,7 +1255,7 @@ var reportErrorIfPathIsNotConfigured = function () {
reportErrorIfPathIsNotConfigured = function () { };
}
};
exports.version = "1.28.0";
exports.version = "1.29.0";

});

Expand Down
5 changes: 4 additions & 1 deletion src/ext-inline_autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down
5 changes: 4 additions & 1 deletion src/ext-language_tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down
5 changes: 4 additions & 1 deletion src/ext-prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,10 @@ var Autocomplete = /** @class */ (function () {
var prefix = util.getCompletionPrefix(this.editor);
this.base = session.doc.createAnchor(pos.row, pos.column - prefix.length);
this.base.$insertRight = true;
var completionOptions = { exactMatch: this.exactMatch };
var completionOptions = {
exactMatch: this.exactMatch,
ignoreCaption: this.ignoreCaption
};
this.getCompletionProvider({
prefix: prefix,
pos: pos
Expand Down

0 comments on commit d72c4a1

Please sign in to comment.