Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ajaxorg/ace
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.18.0
Choose a base ref
...
head repository: ajaxorg/ace
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.18.1
Choose a head ref

Commits on Apr 24, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    b72956d View commit details

Commits on Apr 25, 2023

  1. Copy the full SHA
    c5ed709 View commit details
  2. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    c49ba52 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    810e49f View commit details
  4. replace property declaration with method signature for setMarkers a…

    …nd `getMarkerAtPosition`
    mkslanc committed Apr 25, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e73323d View commit details
  5. fix: add mode types, improve type definitions

    This change adds a new ace-modes.d.ts file (references in the main ace.d.ts),
    which declares types for everything in the `ace/src/mode` folder.
    
    It's been done semi-automatically, and every mode or highlight rules have the
    same base type, even though technically different modes can have different
    sub-types (so currently we are omitting some information).
    
    Type definitions are excluded in the ace-builds package.
    
    Also included small fixes for existing types, like EditSession or Config.
    ibabanov-aws committed Apr 25, 2023
    Copy the full SHA
    e22bd5c View commit details
  6. Copy the full SHA
    1e7b022 View commit details
  7. Merge pull request #5141 from mkslanc/fix-readme

    Fix documentation link and incorrect declarations in ace.d.ts
    oykuyilmaz authored Apr 25, 2023
    Copy the full SHA
    e4c72e4 View commit details
  8. Copy the full SHA
    2db9d4e View commit details
  9. fix: hide $getindent from the SyntaxMode

    Technically derived modes use it a lot, but any new custom mode can use the
    super.getNextLineindent() instead
    ibabanov-aws committed Apr 25, 2023
    Copy the full SHA
    2b1c65b View commit details

Commits on Apr 26, 2023

  1. fix wrong next state for sqlserver mode; function to check, if any mo…

    …de has wrong next state
    mkslanc committed Apr 26, 2023
    Copy the full SHA
    aac99ad View commit details
  2. Merge pull request #5139 from mkslanc/lucene-mode-bug

    Fix: wrong next state in regex state in Lucene and SQLServer modes
    nightwing authored Apr 26, 2023
    Copy the full SHA
    8fe099b View commit details
  3. fix: replaceRange could now be implemented as an instance of the Rang…

    …e interface, rather than being an instance of the Range class
    mkslanc committed Apr 26, 2023
    Copy the full SHA
    e1bdccc View commit details

Commits on Apr 30, 2023

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    3a8f941 View commit details
  2. Copy the full SHA
    6b2a3a7 View commit details
  3. fix mockdom issues

    nightwing committed Apr 30, 2023
    Copy the full SHA
    fe324f4 View commit details

Commits on May 1, 2023

  1. Merge pull request #5148 from ajaxorg/fix-mockdom

    fix mockdom issues
    nightwing authored May 1, 2023
    Copy the full SHA
    536cd40 View commit details
  2. Merge pull request #5138 from ajaxorg/fix-mouseevent

    do not create getAccelKey method in event constructor
    nightwing authored May 1, 2023
    Copy the full SHA
    715d850 View commit details
  3. Merge pull request #5142 from ibabanov-aws/mode-types

    fix: add mode declarations and types, improve type definitions
    ibabanov-aws authored May 1, 2023
    Copy the full SHA
    b33a3f3 View commit details
  4. Merge pull request #5143 from mkslanc/replacerange-fix

    Fix: replaceRange could be not instance of Range class
    nightwing authored May 1, 2023
    Copy the full SHA
    7a8ff32 View commit details

Commits on May 2, 2023

  1. Allow copy pasting from hover tooltips. (#5150)

    While the hover tooltips are focusable and selectable, keydown closes the tooltip.
    
    Now we allow ctrl+cmd key bindings to be pressed and we keep the popup open.
    whazor authored May 2, 2023
    Copy the full SHA
    b640e3d View commit details

Commits on May 3, 2023

  1. release v1.18.1

    Oyku Yilmaz committed May 3, 2023
    Copy the full SHA
    3c4a81d View commit details
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -54,6 +54,7 @@ jobs:
- run: node_modules/.bin/tsc --noImplicitAny --strict --noUnusedLocals --noImplicitReturns --noUnusedParameters --noImplicitThis ace.d.ts
- uses: codecov/codecov-action@v3
with:
token: d8edca4b-8e97-41e5-b54e-34c7cf3b2d47
file: ./coverage/coverage.json
flags: unittests
name: codecov-umbrella
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,18 @@

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.18.1](https://github.com/ajaxorg/ace/compare/v1.18.0...v1.18.1) (2023-05-03)


### Bug Fixes

* add mode types, improve type definitions ([e22bd5c](https://github.com/ajaxorg/ace/commit/e22bd5c860451c000187941991c0047db4e701a2))
* hide `$getindent` from the SyntaxMode ([2b1c65b](https://github.com/ajaxorg/ace/commit/2b1c65bceb290db74f26a5c59158f93830bc6111))
* remove '$' fields for types that don't require exposing them ([2db9d4e](https://github.com/ajaxorg/ace/commit/2db9d4e88441f2932ce6c6f91e7f5ed36c590d2f))
* remove or update badly formatted declarations ([1e7b022](https://github.com/ajaxorg/ace/commit/1e7b022908cdf6fef0a28419c464874ce6433e6e))
* replaceRange could now be implemented as an instance of the Range interface, rather than being an instance of the Range class ([e1bdccc](https://github.com/ajaxorg/ace/commit/e1bdcccb4ed3179734aa534b37a9dade2e207f07))
* wrong next state in regex state ([c5ed709](https://github.com/ajaxorg/ace/commit/c5ed7092f0151d4aa00c7060ecf0111fc37bfebb))

## [1.18.0](https://github.com/ajaxorg/ace/compare/v1.17.0...v1.18.0) (2023-04-21)


10 changes: 6 additions & 4 deletions Makefile.dryice.js
Original file line number Diff line number Diff line change
@@ -171,7 +171,10 @@ function ace() {
}

function buildTypes() {
var definitions = fs.readFileSync(ACE_HOME + '/ace.d.ts', 'utf8');
var aceCodeModeDefinitions = '/// <reference path="./ace-modes.d.ts" />';
// ace-builds package has different structure and can't use mode types defined for the ace-code.
// ace-builds modes are declared along with other modules in the ace-modules.d.ts file below.
var definitions = fs.readFileSync(ACE_HOME + '/ace.d.ts', 'utf8').replace(aceCodeModeDefinitions, '');
var paths = fs.readdirSync(BUILD_DIR + '/src-noconflict');
var moduleRef = '/// <reference path="./ace-modules.d.ts" />';

@@ -193,21 +196,20 @@ function buildTypes() {

fs.writeFileSync(BUILD_DIR + '/ace.d.ts', moduleRef + '\n' + definitions);
fs.writeFileSync(BUILD_DIR + '/ace-modules.d.ts', pathModules);

var esmUrls = [];

var loader = paths.map(function(path) {
if (/\.js$/.test(path) && !/^ace\.js$/.test(path)) {
var moduleName = path.split('.')[0].replace(/-/, "/");
if (/^worker/.test(moduleName))
moduleName = "mode" + moduleName.slice(6) + "_worker";
moduleName = moduleName.replace(/keybinding/, "keyboard");

esmUrls.push("ace.config.setModuleLoader('ace/" + moduleName + "', () => import('./src-noconflict/" + path + "'));");
return "ace.config.setModuleUrl('ace/" + moduleName + "', require('file-loader?esModule=false!./src-noconflict/" + path + "'));";
}
}).join('\n');
var esmLoader = esmUrls.join('\n');

fs.writeFileSync(BUILD_DIR + '/webpack-resolver.js', loader, "utf8");
fs.writeFileSync(BUILD_DIR + '/esm-resolver.js', esmLoader, "utf8");
}
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
@@ -99,7 +99,7 @@ Documentation

Additional usage information, including events to listen to and extending syntax highlighters, can be found [on the main Ace website](http://ace.c9.io).

You can also find API documentation at [http://ace.c9.io/#nav=api](http://ace.c9.io/#nav=api).
You can also find API documentation at [https://ajaxorg.github.io/ace-api-docs/](https://ajaxorg.github.io/ace-api-docs/).

Also check out the sample code for the kitchen sink [demo app](https://github.com/ajaxorg/ace/blob/master/demo/kitchen-sink/demo.js).

Loading