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.21.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.21.1
Choose a head ref
  • 3 commits
  • 6 files changed
  • 2 contributors

Commits on May 16, 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
    40ea2dc View commit details
  2. fix: console error when hovering over empty gutter cell with tooltipF…

    …ollowsMouse set to false (#5173)
    
    Fixes bug where console error is thrown when hovering over a gutter cell without content when tooltipFollowsMouse set to false.
    akoreman authored May 16, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    5ff8d4c View commit details
  3. release v1.21.1

    akoreman committed May 16, 2023
    Copy the full SHA
    aa6a94a View commit details
Showing with 20 additions and 10 deletions.
  1. +7 −0 CHANGELOG.md
  2. +1 −1 build
  3. +7 −7 index.html
  4. +1 −1 package.json
  5. +1 −1 src/config.js
  6. +3 −0 src/mouse/default_gutter_handler.js
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.21.1](https://github.com/ajaxorg/ace/compare/v1.21.0...v1.21.1) (2023-05-16)


### Bug Fixes

* console error when hovering over empty gutter cell with tooltipFollowsMouse set to false ([#5173](https://github.com/ajaxorg/ace/issues/5173)) ([5ff8d4c](https://github.com/ajaxorg/ace/commit/5ff8d4cc064ac647a2f40bf977f88b2972ae17ef))

## [1.21.0](https://github.com/ajaxorg/ace/compare/v1.20.0...v1.21.0) (2023-05-15)


2 changes: 1 addition & 1 deletion build
14 changes: 7 additions & 7 deletions index.html
Original file line number Diff line number Diff line change
@@ -47,13 +47,13 @@ <h1><img src="./doc/site/images/textimage.png" alt="The high performance code ed
<a href="#higlighter" data-toggle="tab">Syntax Highlighters</a>
</li>
<li>
<a href="https://ajaxorg.github.io/ace-api-docs/index.html" target="_blank" class="external-nav">API Reference</a>
<a href="https://ajaxorg.github.io/ace-api-docs/index.html" target="_blank" rel="noopener noreferrer" class="external-nav">API Reference</a>
</li>
<li>
<a href="#production" data-toggle="tab">Real World Users</a>
</li>
<li class="last-tab">
<a href="https://mkslanc.github.io/ace-playground/" target="_blank" class="external-nav">Try</a>
<a href="https://mkslanc.github.io/ace-playground/" target="_blank" rel="noopener noreferrer" class="external-nav">Try</a>
</li>
</ul>
<div class="tab-content">
@@ -85,7 +85,7 @@ <h1>Built for Code</h1>
</pre>
<p id="embed_link"><a href="#nav=embedding">Learn how to embed this in your own site</a></p>
<p class="highlight_note">Looking for a more full-featured demo? Check out the
<a href="build/kitchen-sink.html" target="_blank" rel="noreferer">kitchen sink</a>.
<a href="build/kitchen-sink.html" target="_blank" rel="noopener noreferrer">kitchen sink</a>.
</p>
<h2>Features</h2>
<ul class="content-list">
@@ -221,12 +221,12 @@ <h2>Configuring the editor</h2>
<h3>Changing the size of the editor</h3>
<p>Ace only checks for changes of the size of it's container when window is resized. If you resize the editor div in another manner, and need Ace to resize, use the following:</p>
<pre><code class="javascript">editor.resize()</code></pre>
<p>if you want editor to change it's size based on contents, use maxLines option as shown in <a target="_blank" rel="noreferer noopener" href="https://ace.c9.io/demo/autoresize.html">https://ace.c9.io/demo/autoresize.html</a></p>
<p>if you want editor to change it's size based on contents, use maxLines option as shown in <a target="_blank" rel="noopener noreferrer" href="https://ace.c9.io/demo/autoresize.html">https://ace.c9.io/demo/autoresize.html</a></p>
<h2>Setting Themes</h2>
<p>Themes are loaded on demand; all you have to do is pass the string name:</p>
<pre><code class="javascript">editor.setTheme("ace/theme/twilight");</code></pre>
<p><span class="expand_arrow">&gt;</span> <a href="https://github.com/ajaxorg/ace/tree/master/src/theme" target="_blank" rel="noreferer noopener">See all themes.</a>
Or use <a href="https://github.com/ajaxorg/ace/blob/master/src/ext/themelist.js" target="_blank" rel="noreferer noopener">themelist extension</a> to get the list of available themes at runtime.
<p><span class="expand_arrow">&gt;</span> <a href="https://github.com/ajaxorg/ace/tree/master/src/theme" target="_blank" rel="noopener noreferrer">See all themes.</a>
Or use <a href="https://github.com/ajaxorg/ace/blob/master/src/ext/themelist.js" target="_blank" rel="noopener noreferrer">themelist extension</a> to get the list of available themes at runtime.
</p>
<h2>Setting the Programming Language Mode</h2>
<p>By default, the editor supports plain text mode. All other language modes are available as separate modules, loaded on demand like this:</p>
@@ -289,7 +289,7 @@ <h3>Using undo manager</h3>
session.$undoManager.markIgnored(rev); // mark the new group as ignored</code></pre>


<p>To implement undo/redo buttons see <a target="_blank" rel="noreferer noopener" href="https://ace.c9.io/demo/toolbar.html">https://ace.c9.io/demo/toolbar.html</a></p>
<p>To implement undo/redo buttons see <a target="_blank" rel="noopener noreferrer" href="https://ace.c9.io/demo/toolbar.html">https://ace.c9.io/demo/toolbar.html</a></p>

<h3>Searching</h3>
<pre><code class="language-javascript">editor.find('needle',{
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ace-code",
"description": "Ajax.org Code Editor is a full featured source code highlighting editor that powers the Cloud9 IDE",
"version": "1.21.0",
"version": "1.21.1",
"homepage": "http://github.com/ajaxorg/ace",
"engines": {
"node": ">= 0.6.0"
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
@@ -156,6 +156,6 @@ var reportErrorIfPathIsNotConfigured = function() {
}
};

exports.version = "1.21.0";
exports.version = "1.21.1";


3 changes: 3 additions & 0 deletions src/mouse/default_gutter_handler.js
Original file line number Diff line number Diff line change
@@ -49,6 +49,9 @@ function GutterHandler(mouseHandler) {

tooltip.showTooltip(row);

if (!tooltip.isOpen)
return;

editor.on("mousewheel", hideTooltip);

if (mouseHandler.$tooltipFollowsMouse) {