Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ace-builds

ajaxorg3.6mBSD-3-Clause1.40.1TypeScript support: included

Ace (Ajax.org Cloud9 Editor)

readme

Ace (Ajax.org Cloud9 Editor)

CDNJS npm

Ace is a code editor written in JavaScript.


ISSUES ARE DISABLED IN THIS REPOSITORY

This repository has only generated files. To report your issues, suggest features, ask questions, or work on Ace editor itself please go to Ace repository https://github.com/ajaxorg/ace.


Here you can find pre-built files for convenience of embedding. It contains 4 versions:

  • src concatenated but not minified
  • src-min concatenated and minified with uglify.js
  • src-noconflict uses ace.require instead of require
  • src-min-noconflict concatenated, minified with uglify.js, and uses ace.require instead of require

For a simple way of embedding ace into webpage see editor.html or list of other simple examples. To see ace in action go to kitchen-sink-demo, scrollable-page-demo or minimal demo.

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.40.1 (2025-04-23)

Bug Fixes

  • gutter: add null check for session.foldWdigets (#5801) (6ca40e9)

1.40.0 (2025-04-15)

Features

  • gutter: added keyboard handling for experimental feature custom widgets (#5796) (8037400)

1.39.1 (2025-03-20)

Features

  • Editing is disabled tooltip in readonly mode (#5771) (1098e53)

Bug Fixes

1.39.0 (2025-02-21)

Features

  • Multiline Search Support: line breaks \n (#5675) (06d51b9)

Bug Fixes

  • check if row is present when setting aria label of popup elements (#5750) (ff16482)
  • gutter hover tooltip a11y improvements (#5747) (fbe3ddc)
  • narrowing platform to be either win or mac (#5707) (18cc336)
  • set score completion item when skipfilter true (#5749) (a27e1e8)

1.38.0 (2025-02-12)

Features

  • popup: add supporting skipFilter flag for popup item (#5740) (0db7585)

Bug Fixes

  • AcePopup: fix aria-posinset issue on google chrome (#5719) (09a0c5a)
  • calling setMode just before destroy causes error reading getLength (#5727) (62b973e)
  • highlight indent guides with wrapped lines (#5621) (77b9fe1)
  • improve aria attributes of popup elements (#5739) (09fba2e)
  • types for setTimeout/setInterval calls (#5726) (9a76656)
  • VirtualRenderer: fix scrollbar overlap on autocompletion (#5713) (5acea6d)
  • wrong type of paste event and missing types for themelist extension (#5725) (a4b9d2d)

1.37.5 (2025-01-16)

Bug Fixes

1.37.4 (2025-01-09)

Bug Fixes

  • Remove unnecesary typeof from type imports in declarations (#5715) (2c8bf91)

1.37.3 (2025-01-07)

1.37.2 (2025-01-06)

Bug Fixes

  • fix return type of supportsFile modelist (#5705) (de21d50)

1.37.1 (2024-12-20)

Bug Fixes

  • hide gutter tooltip event missing from editor signal (#5701) (66a6736)

1.36.6 (2024-12-17)

Bug Fixes

1.36.5 (2024-11-14)

Features

  • exposing getter setter for widget manager created using line widgets (#5673) (f5d0c19)

Bug Fixes

1.36.4 (2024-11-04)

Bug Fixes

  • a11y: update aria-label of textinput on cursor move (#5665) (6ff93a8)

1.36.3 (2024-10-21)

Bug Fixes

  • readdirSync options recursive: true was added only in NodeJs v20.1.0 (#5645) (2953f72)

1.36.2 (2024-08-30)

Bug Fixes

  • apply padding to right side multi-line markers (#5636) (c7549aa)

1.36.1 (2024-08-29)

Bug Fixes

1.36.0 (2024-08-21)

Features

  • allow setting marker type for MarkerGroups (#5630) (214df9c)
  • forced-color: do not adjust the forced colors for the editor (#5624) (c8f9df8)

1.35.5 (2024-08-20)

1.35.4 (2024-07-22)

Bug Fixes

  • move right of cursor tokens to end of ghost text. (#5616) (063ef9b)

1.35.3 (2024-07-18)

Bug Fixes

1.35.2 (2024-07-01)

1.35.1 (2024-06-27)

Bug Fixes

  • explicitly construct Number from window zoom attribute (#5600) (2591c36)
  • use dom builder for gutter tooltip and inline widget (#5601) (e81a299)
  • workaround for safari rendering bug (#5573) (f9a152f)
  • wrong doc comment * insert behaviour (#5571) (16c95b3)

1.35.0 (2024-06-11)

Features

  • allow '{n}' as placeholder for translated strings (#5581) (2206024)

Bug Fixes

  • allow setting the placeholder type for nls (#5584) (3e2d50f)
  • not closed generic state in case of left-shift operator (#5572) (e5bea6f)
  • wrong vue-directives regexp (#5586) (5f89a33)

1.34.2 (2024-05-27)

1.34.1 (2024-05-24)

Bug Fixes

  • always set aria-label to text input in a11y mode (#5563) (00346fd)
  • Folding for comments and different modes (#5533) (f4d0e33)

1.34.0 (2024-05-22)

Features

  • allow users to add arialabel to text input (#5560) (8d7dfb6)

1.33.3 (2024-05-21)

Bug Fixes

  • contrast completion meta contrast cloud editor themes (#5558) (b8877f0)

1.33.2 (2024-05-13)

Bug Fixes

1.33.1 (2024-04-23)

Bug Fixes

  • account for this.popup being potentially undefined in completion mousewheel listener (#5537) (6c3a9a6)

1.33.0 (2024-04-12)

Features

  • Make translation system key based and add annotation type to gutter icon aria labels (#5524) (bb8256d)

Bug Fixes

1.32.9 (2024-03-29)

Bug Fixes

  • apply class to autocomplete popup for no suggestions state (#5522) (a66f861)

1.32.8 (2024-03-22)

Bug Fixes

  • allow completers to trigger on newline characters (#5519) (6e870fd)
  • don't detach completion popup while typing when prefix is empty (#5517) (7937e53)
  • scroll cursor line to top editor for long inline preview (#5514) (529473b)
  • SwiftHighlightRules exports (#5516) (f493ab0)

1.32.7 (2024-03-01)

Bug Fixes

  • swap blue/red in cloudeditor themes to reduces usage of red (#5492) (0e8f549)

1.32.6 (2024-02-07)

1.32.5 (2024-01-30)

1.32.4 (2024-01-29)

Bug Fixes

  • Improve contrast of completion popup in CloudEditor theme (#5473) (273c7f1)
  • update JSX mode to reflect React JSX (#5451) (66789a7)

1.32.3 (2023-12-29)

Bug Fixes

  • improve prefixing for inline preview (#5439) (51006bb)
  • update ghost text if on same line popup (12f4664)
  • updated red color in cloud-editor dark theme (#5432) (142b607)

1.32.2 (2023-12-14)

Bug Fixes

  • themes: changed the solarized theme primary color from [#93](https://github.com/ajaxorg/ace/issues/93)A1A1 to [#839496](https://github.com/ajaxorg/ace/issues/839496). (#5422) (114a5c1), closes #93A1A1

1.32.1 (2023-12-11)

Bug Fixes

  • don't show loading state when empty completer array is provided (7a8a929)
  • prevent browser scroll while scrolling over the tooltip (#5414) (c6475c0)
  • switch aria-selected to aria-current for webkit (#5416) (bf1a4ea), closes #5403
  • yaml worker errors at undefined row/column (06cc12a)

1.32.0 (2023-11-30)

Features

Bug Fixes

  • autocomplete tests (#5407) (cf6999d)
  • set completion popup role to 'menu' for safari (6845905)
  • stop rendering the completion popup disconnected from the editor for long ghost text (#5401) (94d68a7)
  • try to scroll inline preview into view (#5400) (95af560)

1.31.2 (2023-11-15)

Bug Fixes

  • inline preview with loading state (05db94f)

1.31.1 (2023-10-30)

Bug Fixes

1.31.0 (2023-10-23)

Features

Bug Fixes

  • doc tooltip not filtering properly (e5034c7)

1.30.0 (2023-10-13)

Features

1.29.0 (2023-10-09)

Features

  • allow setting completion.ignoreCaption (5618046)

1.28.0 (2023-09-22)

Features

  • Keep focus on same item in completion popup when slow completer delivers results. (#5322) (0983134)

1.27.0 (2023-09-19)

Features

  • Allow not showing inline preview for completers when inlineEnabled is set to true. (#5315) (f3e3330)

1.26.0 (2023-09-15)

Features

  • Allow to set setSelectOnHover for Autocomplete (#5317) (dccbcc2)

Bug Fixes

1.25.1 (2023-09-14)

1.25.0 (2023-09-14)

Features

1.24.2 (2023-09-08)

Bug Fixes

  • Added project details in index.html file (#5300) (6e83505)
  • autocompletion threshold doesn't apply to trigger characters (84bbc88)
  • Update php_highlight_rules.js (#5288) (caedd0c)

1.24.1 (2023-08-15)

1.24.0 (2023-08-09)

Features

  • Add support for Unicode boundaries (#5265) (1e6fcf3)
  • Allow more lines in hidden textarea to improve screen reader experience on Windows (#5225) (bccff5a)
  • Cuttlefish mode (#5278) (9cddf64)

Bug Fixes

1.23.4 (2023-07-12)

Bug Fixes

  • filterText triggered selection range removal when completions range was present (#5249) (b586e4d)

1.23.3 (2023-07-10)

Bug Fixes

  • android bug when deleting multiple lines (#5248) (bd066ff), closes #5087
  • update jshint version to 2.13.6; change esversion to target ECMAScript 11 (#5243) (301aee9)

1.23.2 (2023-07-07)

Bug Fixes

1.23.1 (2023-06-27)

1.23.0 (2023-06-21)

Features

  • autocomplete: ellipsis is shown when suggestions is longer than popover width (#5204) (de4234b)
  • signal gutterkeydown in keyboard accessibility mode (#5202) (538b18c)

Bug Fixes

1.22.1 (2023-06-11)

Bug Fixes

  • don't throw unhandled errors in TabstopManager when EditSession becomes undefined (#5193) (cd55932)
  • include ace-modes to the npm package (a074fa4)
  • jsdoc comment foldings (#5197) (065af41)

1.22.0 (2023-05-22)

Features

1.21.1 (2023-05-16)

Bug Fixes

  • console error when hovering over empty gutter cell with tooltipFollowsMouse set to false (#5173) (5ff8d4c)

1.21.0 (2023-05-15)

Features

  • Custom empty message when no completion found (#5158) (204aafa)
  • Special trigger characters to start autocomplete (#5147) (c2cfc5a)

Bug Fixes

1.20.0 (2023-05-10)

Features

  • Add gutter controls to keyboard accessibility mode (#5146) (5f2face)
  • Inline autocomplete tooltip UX redesign (#5149) (8d56c84)

1.19.0 (2023-05-03)

Features

  • publishing generated styling files to ace-code package (1fa223e)

1.18.1 (2023-05-03)

Bug Fixes

  • add mode types, improve type definitions (e22bd5c)
  • hide $getindent from the SyntaxMode (2b1c65b)
  • remove '$' fields for types that don't require exposing them (2db9d4e)
  • remove or update badly formatted declarations (1e7b022)
  • replaceRange could now be implemented as an instance of the Range interface, rather than being an instance of the Range class (e1bdccc)
  • wrong next state in regex state (c5ed709)

1.18.0 (2023-04-21)

Features

1.17.0 (2023-04-12)

Features

  • Add annotation level information to gutter tooltip (#5101) (3cd28b8)
  • Add option to prevent keyboard focus trapping (#5114) (fe5d1bf)
  • Add option to use SVG gutter icons (#5107) (82eb439)
  • add ResizeObserver to make calling editor.resize optional (51d5e4d)

Bug Fixes

  • adds missing 'on' method for 'guttermousedown' (7212042)
  • Fix bracket highlighting for brackets in open/close tags (#5108) (3c149a9)
  • Improves Liquid Support (#5098) (0ae8dbb)

1.16.0 (2023-03-17)

Features

Bug Fixes

  • add updated monospace font for Windows (#5091) (a981972)
  • Added highlighting for TIES keyword introduced in PostgreSQL 13 (#5033) (9588086)
  • Added lateral keyword introduced in MySQL 8.0.14 (#5053) (3250956)
  • editor shadow appears under the selected line background when horizontal scroll is active (#5020) (ab4f788)
  • Fix bug with missing token in latex folding (#5093) (44b3a3e), closes #5090
  • Implement highlight mode for PL/SQL (Oracle) dialect (#5037) (159aa70)
  • Improve MySQL highlighting mode (#5050) (00f6089)
  • Option to determine specific prefixes for quote insertion (#5067) (34e769c), closes #5063
  • Remove broken keybinding from vscode mode (#5032) (68ff964)

1.15.3 (2023-03-02)

1.15.2 (2023-02-16)

1.15.1 (2023-02-13)

Bug Fixes

  • Added lateral keyword introduced in MySQL 8.0.14 (#5053) (3250956)
  • Implement highlight mode for PL/SQL (Oracle) dialect (#5037) (159aa70)
  • Improve MySQL highlighting mode (#5050) (00f6089)

1.15.0 (2023-01-25)

Features

Bug Fixes

  • Added highlighting for TIES keyword introduced in PostgreSQL 13 (#5033) (9588086)
  • editor shadow appears under the selected line background when horizontal scroll is active (#5020) (ab4f788)
  • Remove broken keybinding from vscode mode (#5032) (68ff964)

1.14.0 (2022-12-12)

Features

Bug Fixes

  • Add missing options to EditorOptions (#5003) (451b63f)
  • added GREATEST|LEAST logical functions added in SQL Server 2022 (#5009) (e3f3e7a)
  • Better ES6 support for JavaScript Mode (6fb39e3)
  • Fix vim keybindings scroll to the selected line (#4980) (8562f94)
  • show 2 context characters of a line when moving to it (#4998) (743190e)
  • Update ace.d.ts typings for navigate (#5011) (a302709)

1.13.2 (2022-12-07)

Bug Fixes

  • Add missing options to EditorOptions (#5003) (451b63f)
  • Better ES6 support for JavaScript Mode (6fb39e3)
  • Fix vim keybindings scroll to the selected line (#4980) (8562f94)
  • show 2 context characters of a line when moving to it (#4998) (743190e)

1.13.1 (2022-11-16)

Bug Fixes

  • Change curly braces insertion behavior for Markdown to act the same as for other braces (#4994) (2760234)
  • incorrect cursor position for very long lines (#4996) (e57a9d9)

1.13.0 (2022-11-11)

Features

Bug Fixes

  • Add missing options to VirtualRendererOptions and EditorOptions (#4983) (19dd2ec)
  • Fix of scroll while interrupting animation (#4993) (0092f3f)
  • rare case when document passed to dom.scrollbarWidth doesn't have documentElement (#4981) (df44158)

1.12.5 (2022-11-01)

Bug Fixes

  • enableLiveAutocompletion documentation (#4976) (987ab76)
  • vim "normal" mode brackets highlighting (0fbc54c)

1.12.4 (2022-10-31)

Bug Fixes

1.12.3 (2022-10-18)

Bug Fixes

  • Fix syntax error in the custom scroll CSS (#4968) (f2a424a)

1.12.2 (2022-10-18)

Bug Fixes

1.12.1 (2022-10-17)

Bug Fixes

  • php worker rules for T_NAME_FULLY_QUALIFIED (#4960) (52dbb05)
  • recognisition of uppercase hex numbers for stylus mode (#4962) (87e0dc7)

1.12.0 (2022-10-15)

Features

  • implement BibTeX mode highlighting (ab9e191)

Bug Fixes

  • MockDom's ClassList toggle and contains methods return boolean instead of void (e8c0a1f)
  • change lua version to 5.3 (#4954) (fc56af5)
  • documentation for TokenIterator methods (#4955) (6bff7b4)
  • Fixed comment folding bugs for html (xml like languages) (#4910) (5279a8a)
  • mode change for vim tests (236a31e)
  • php worker rules for T_NAME_FULLY_QUALIFIED, T_NAME_QUALIFIED, T_NAME_RELATIVE namespaced names tokens (#4948) (059ff71)
  • tools to work with new ace project structure (7894c4b)

1.11.2 (2022-09-26)

Bug Fixes

  • Fixed handling surrogare characters in insert, replace, delete mode in Vim (72fd4b7)
  • Fixed handling surrogate characters in insert-after mode in Vim (38f893a)

1.11.1 (2022-09-23)

Bug Fixes

  • Discrepancy between keywords used by mode-aql.js in the current version and the version used by arangodb (1503dd0)
  • The editor can be crashed by passing in undefined into the setValue method (56e6e56)
  • Update vim mode (#4933) (3b89ed0)

1.11.0 (2022-09-20)

Features

  • add gutter indicators for annotations; add custom scrollbar to display gutter indicators (62fb0d8)

Bug Fixes

  • change scroll behaviour for onmousedown to immediate scroll to point (392b224)
  • Do not try apply highlight indent guide if the file is empty (#4928) (a90ef27)
  • restrict annotation mark max height and optimise marks coords on canvas (a6e2259)

1.10.1 (2022-09-06)

Bug Fixes

  • prevent javascript snippets file confusing old packagers (#4917) (5d7b65c)

1.10.0 (2022-08-31)

Features

  • editor option for indent guide highlighting (f1f6517)

Bug Fixes

  • add mock getHighlightIndentGuides and setHighlightIndentGuides for old tests to work (4067512)
  • added "flex-start" and "flex-end" (#4912) (3e14988)
  • Fix problematic semicolon in CSS media queries (#4849) (18a459a)
  • more optimal way to accessing an element's list of classes; mark highlightIndentGuide as internal property (855a874)
  • strictly equal instead of loosely (d4c1ab8)
  • Updated Jshint to 2.13.5 (#4911) (2401fbd)

1.9.6 (2022-08-17)

Bug Fixes

  • better way to extract css for csp environments (1b0612b)

1.9.5 (2022-08-10)

Bug Fixes

  • reverted fix build script CSS extract with options.compress (#4894) (8fa4500)

1.9.4 (2022-08-09)

1.9.3 (2022-08-08)

1.9.2 (2022-08-08)

1.9.1 (2022-08-08)

1.9.0 (2022-08-08)

Features

  • added ability to limit amount of undos/redos (#4872) (897ee0a)
  • publish Ace source code to ace-code NPM package (#4881) (66cf041)

Bug Fixes

  • Fix determination of anonymous code blocks in Postgres Mode (fixes #4790) (06f7e22)
  • Fixed Ace typings (23208f2)
  • Fixed jsDoc annotations (e15abb4), closes #4879
  • refactor of kotlin mode to simplify states and resolve incorrect highlights (a30a99d)
  • returned precise highlight for functions params, generics and types (967aa6b)
  • Rust identifiers normally recognised now; generics highlight support; doc comments support (#4868) (bbb5800)

1.8.1 (2022-07-21)

Bug Fixes

  • prevent race condition when creating css files in build (1777bfb)

1.8.0 (2022-07-20)

Features

Bug Fixes

  • add undocumented Target command (62e8e9e), closes #4839
  • added NSIS 3.08 commands (acad68c), closes #4838
  • bidihandler: check for undefined before access length property on splits variable (457b657)
  • correct highlight of php heredoc strings with one word on line (ae4564c)
  • Fixed typo in Nord Dark theme. (#4843) (38bf666)
  • Move session.onChange and placeholder.onChange handlers to be first in the change event handler queue (bcb51f2)
  • reuse getTargetDir function (b89c4db)
  • type declarations (a8830fc)

1.7.1 (2022-06-29)

Bug Fixes

  • Fixed accessing properties when err is null in onerror handler (3b62a07)
  • Uncaught TypeError: Cannot read properties of undefined in worker code (ce068ac)

1.7.0 (2022-06-28)

Features

Bug Fixes

  • Added two tmthemes gruvbox dark (hard) and light (hard) (6b1e67f), closes #3673
  • adds ignore browserified dir to eslintignore (56b591b)
  • Allow setAnnotations to use custom className (f505879), closes #4362
  • Avoid substitutions when Webpack was introduced (a540323), closes #4476
  • Highlighting DISTINCT keyword in SQL (fb3820a), closes #4399
  • Make sure completions aren't null or undefined (a78e127), closes #4608

1.6.1 (2022-06-24)

Bug Fixes

  • Highlight unicode characters in Python function and class names (be6f2d1)
  • Incorrect YAML syntax highlighting for version numbers with multiple periods (049d761)
  • Incorrect YAML syntax highlighting for version numbers with multiple periods #4827 (915fcaf)

1.6.0 (2022-06-10)

Bug Fixes

  • Add class to tooltip DOM element distinguish errors from warnings (#4810) (d2446d6)
  • Autocomplete stopped working after upgrade to v1.5.2 (48e6b60)
  • Fix css EOF duplicate errors #4816 (48176f6)
  • Fix overflow button for long lines with one token (#4818) (3f93451)

1.5.3 (2022-05-31)

Bug Fixes

  • Colors for variable, function and constant should be different (#4802) (9e81bda)

1.5.2 (2022-05-30)

Bug Fixes

  • Added es6-shim library to fix old browsers (#4720) (5ba71a0)
  • Added mockdom.before method (#4724) (ffedba3)
  • Added support for cjs, mjs and log modes (#4718) (375498a)
  • Adds missed functions into php_completions.js (#4726) (7d5f4b8)
  • Cannot read property of null for bgTokenizer after session is destroyed (#4713) (d604f52)
  • Do not render selected word markers for the same range multiple times (#4727) (cd30f59)
  • Fixed popup CSS styling (#4728) (045a3e6)
  • Fixed scrolling code lenses into view (#4717) (710b14a)
  • Multiple improvements for Ace themes (#4715) (87ad55d)
  • Only send postMessage through worker if it's defined (#4722) (2afa4bf)
  • Pass additional arguments for command.exec (#4723) (3b36762)
  • Removed focussing after timeout in text input (#4716) (f8ea48f)
  • Throw invalid delta error if change is out of range and added V2 for worker and worker client (#4721) (f269889)
  • Updated ace typings (#4714) (d5d6f9a)

1.5.1 (2022-05-23)

Bug Fixes

  • Correctly tokenize YAML meta tags with non alphabetical characters after multiline string (#4706) (0164811)
  • Made commas be tokenized as punctuation operator instead of text in JSON (#4703) (4c4883a)
  • Multiple Partiql and Amazon Ion textual notation fixes (#4686) (bffba8d)
  • PHP syntax fix for AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG (#4705) (d59c22b)
  • Python functions should be highlighted as functions (#4708) (b2aaf1f)
  • Updated PHP mode to support PHP8.1 syntax (#4696) (33cf1c6)

1.5.0 (2022-05-12)

Features

  • Added ability to configure certain format options for beautify extension (20275de)

Bug Fixes

  • Modify syntax (b78d772)
  • Render bidirectional unicode characters as control characters (#4693) (4d2ecf0)

2022.01.26 Version 1.4.14

  • update vim mode
  • remove slow regex in beautify extension

    2021.09.30 Version 1.4.13

  • added useStrictCSP global option to use in environments where dynamic style creation is disabled see demo/csp.html for an example of a page which loads external css files instead of generating styles with javascript

  • updated vim mode, added support for gqq command

    2020.07.06 Version 1.4.12

  • removed unused es5-shim

  • imporved ruby and vbscript highlighting and folding
  • workaround for double space being converted to dot on mobile keyboards

    2020.04.15 Version 1.4.10

  • added workaround for chrome bug causing memory leak after calling editor.destroy

  • added code folding support for vbscript mode

    2020.04.01 Version 1.4.9

  • added option to disable autoindent

  • added new language modes
  • fixed backspace not working with some mobile keyboards

    2020.01.14 Version 1.4.8

  • highlight both matched braces, and highlight unmatched brace in red

  • improve snippet manager
  • compatibility with webpack file-loader v5
  • improve vim mode

    2019.10.17 Version 1.4.7

  • add placeholder option

    2019.09.08 Version 1.4.6

  • restore native behavior of ctrl-p on mac (jumptomatching command is moved to cmd-)

  • improve snippet manager
  • fix backspace handling on mobile

    2019.06.17 Version 1.4.5

  • improve scrolling and selection on mobile

  • improve type definitions

    2019.04.24 Version 1.4.4

  • add experimental command prompt

  • add chrystal, nim and nginx highlight rules
  • fix regression in vim mode on ios

    2019.02.21 Version 1.4.3

  • add sublime keybindings

  • add rtl option
  • implement ` and < textobjects in vim mode

    2018.11.21 Version 1.4.2

  • fix regression in vim mode

  • improve keyboard input handling on ipad and IE
  • add new syntax highlighters

    2018.08.07 Version 1.4.1

  • fix regression in autocomplete

    2018.08.06 Version 1.4.0

  • remove usage of innerHTML

  • improved handling of textinput for IME and mobile
  • add support for relative line numbers
  • improve autocompletion popup

    2018.03.26 Version 1.3.3

  • fix regession in static-highlight extension

  • use css animation for cursor blinking

    2018.03.21 Version 1.3.2

  • add experimental support for using ace-builds with webpack

    2018.02.11 Version 1.3.1

  • fixed regression with selectionChange event not firing some times

  • improved handling of non-ascii characters in vim normal mode

    2018.01.31 Version 1.3.0

  • added copy copyWithEmptySelection option

  • improved undoManager
  • improved settings_menu plugin
  • improved handling of files with very long lines
  • fixed bug with scrolling editor out of view in transformed elements

    2017.10.17 Version 1.2.9

  • added support for bidirectional text, with monospace font (Alex Shensis)

  • added support for emoji 😊

  • new language modes

    • Red (Toomas Vooglaid)
    • CSound (Nathan Whetsell)
    • JSSM (John Haugeland)
  • New Themes

    • Dracula (Austin Schwartz)

      2017.07.02 Version 1.2.8

  • Fixed small bugs in searchbox and autocompleter

    2017.06.18 Version 1.2.7

  • Added Support for arrow keys on external IPad keyboard (Emanuele Tamponi)

  • added match counter to searchbox extension

  • implemented higlighting of multiline strings in yaml mode (Maxim Trushin)

  • improved haml syntax highlighter (Andrés Álvarez)

    2016.12.03 Version 1.2.6

  • Fixed IME handling on new Chrome

  • Support for php 7 in the syntax checker

    2016.08.16 Version 1.2.5

  • Fixed regression in noconflict mode

    2016.07.27 Version 1.2.4

  • Maintenance release with several new modes and small bugfixes

    2016.01.17 Version 1.2.3

  • Bugfixes

    • fix memory leak in setSession (Tyler Stalder)
    • double click not working on linux/mac
  • new language modes

    • reStructuredText (Robin Jarry)
    • NSIS (Jan T. Sott)

      2015.10.28 Version 1.2.1

  • new language modes

    • Swift
    • JSX

      2015.07.11 Version 1.2.0

  • New Features

    • Indented soft wrap (danyaPostfactum)
    • Rounded borders on selections
  • API Changes

  • new language modes

    • SQLServer (Morgan Yarbrough)

      2015.04.03 Version 1.1.9

    • Small Enhancements and Bugfixes

      2014.11.08 Version 1.1.8

  • API Changes

    • editor.commands.commandKeyBinding now contains direct map from keys to commands instead of grouping them by hashid
  • New Features
    • Improved autoindent for html and php modes (Adam Jimenez)
    • Find All from searchbox (Colton Voege)
  • new language modes

    • Elixir, Elm 2014.09.21 Version 1.1.7
  • Bugfixes

    • fix several bugs in autocompletion
    • workaround for inaccurate getBoundingClientRect on chrome 37

      2014.08.17 Version 1.1.6

  • Bugfixes

    • fix regression in double tap to highlight
    • Improved Latex Mode (Daniel Felder)
  • API Changes

    • editor.destroy destroys editor.session too (call editor.setSession(null) to prevent that)
  • new language modes

  • Praat (José Joaquín Atria)

  • Eiffel (Victorien Elvinger)
  • G-code (Adam Joseph Cook) 2014.07.09 Version 1.1.5

  • Bugfixes

    • fix regression in autocomplete popup
  • new language modes

  • gitignore (Devon Carew) 2014.07.01 Version 1.1.4

  • New Features

    • Highlight matching tags (Adam Jimenez)
    • Improved jump to matching command (Adam Jimenez)
  • new language modes

  • AppleScript (Yaogang Lian)

  • Vala

    2014.03.08 Version 1.1.3

  • New Features

    • Allow syntax checkers to be loaded from CDN (Derk-Jan Hartman)
    • Add ColdFusion behavior (Abram Adams)
    • add showLineNumbers option
    • Add html syntax checker (danyaPostfactum)
  • new language modes

    • Gherkin (Patrick Nevels)
    • Smarty

      2013.12.02 Version 1.1.2

  • New Features

    • Accessibility Theme for Ace (Peter Xiao)
    • use snipetManager for expanding emmet snippets
    • update jshint to 2.1.4
    • improve php syntax checker (jdalegonzalez)
    • add option for autoresizing
    • add option for autohiding vertical scrollbar
    • improvements to highlighting of xml like languages (danyaPostfactum)
    • add support for autocompletion and snippets (gjtorikyan danyaPostfactum and others)
    • add option to merge similar changes in undo history
    • add scrollPastEnd option
    • use html5 dragndrop for text dragging (danyaPostfactum)
  • API Changes

    • fixed typo in HashHandler commmandManager
  • new language modes

    • Nix (Zef Hemel)
    • Protobuf (Zef Hemel)
    • Soy
    • Handlebars

      2013.06.04 Version 1.1.1

    • Improved emacs keybindings (Robert Krahn)

    • Added markClean, isClean methods to UndoManager (Joonsoo Jeon)
    • Do not allow Toggle comments command to remove spaces from indentation
    • Softer colors for indent guides in dark themes
  • new language modes

    • Ada
    • Assembly_x86
    • Cobol
    • D
    • ejs
    • MATLAB
    • MySQL
    • Twig
    • Verilog

      2013.05.01, Version 1.1.0

  • API Changes

    • Default position of the editor container is changed to relative. Add .ace_editor {position: absolute} css rule to restore old behavior
    • Changed default line-height to normal to not conflict with bootstrap. Use line-height: inherit for old behavior.
    • Changed marker types accepted by session.addMarker. It now accepts "text"|"line"|"fullLine"|"screenLine"
    • Internal classnames used by editor were made more consistent
    • Introduced editor.setOption/getOption/setOptions/getOptions methods
    • Introduced positionToIndex, indexToPosition methods
  • New Features

    • Improved emacs mode (chetstone) with Incremental search and Occur modes (Robert Krahn)

    • Improved ime handling

    • Searchbox (Vlad Zinculescu)

    • Added elastic tabstops lite extension (Garen Torikian)

    • Added extension for whitespace manipulation
    • Added extension for enabling spellchecking from contextmenu
    • Added extension for displaying available keyboard shortcuts (Matthew Christopher Kastor-Inare III)
    • Added extension for displaying options panel (Matthew Christopher Kastor-Inare III)
    • Added modelist extension (Matthew Christopher Kastor-Inare III)

    • Improved toggleCommentLines and added ToggleCommentBlock command

    • :; pairing in CSS mode (danyaPostfactum)

    • Added suppoert for Delete and SelectAll from context menu (danyaPostfactum)

    • Make wrapping behavior optional

    • Selective bracket insertion/skipping
    • Added commands for increase/decrease numbers, sort lines (Vlad Zinculescu)
    • Folding for Markdown, Lua, LaTeX
    • Selective bracket insertion/skipping for C-like languages
  • Many new languages

    • Scheme (Mu Lei)
    • Dot (edwardsp)
    • FreeMarker (nguillaumin)
    • Tiny Mushcode (h3rb)
    • Velocity (Ryan Griffith)
    • TOML (Garen Torikian)
    • LSL (Nemurimasu Neiro, Builders Brewery)
    • Curly (Libo Cannici)
    • vbScript (Jan Jongboom)
    • R (RStudio)
    • ABAP
    • Lucene (Graham Scott)
    • Haml (Garen Torikian)
    • Objective-C (Garen Torikian)
    • Makefile (Garen Torikian)
    • TypeScript (Garen Torikian)
    • Lisp (Garen Torikian)
    • Stylus (Garen Torikian)
    • Dart (Garen Torikian)
  • Live syntax checks

    • PHP (danyaPostfactum)
    • Lua
  • New Themes

    • Chaos
    • Terminal 2012.09.17, Version 1.0.0
  • New Features

  • 20 New language modes

    • Coldfusion (Russ)
    • Diff
    • GLSL (Ed Mackey)
    • Go (Davide Saurino)
    • Haxe (Jason O'Neil)
    • Jade (Garen Torikian)
    • jsx (Syu Kato)
    • LaTeX (James Allen)
    • Less (John Roepke)
    • Liquid (Bernie Telles)
    • Lua (Lee Gao)
    • LuaPage (Choonster)
    • Markdown (Chris Spencer)
    • PostgreSQL (John DeSoi)
    • Powershell (John Kane)
    • Sh (Richo Healey)
    • SQL (Jonathan Camile)
    • Tcl (Cristoph Hochreiner)
    • XQuery (William Candillion)
    • Yaml (Meg Sharkey)

    • Live syntax checks

    • for XQuery and JSON

  • New Themes

  • Many Small Enhancements and Bugfixes

    2011.08.02, Version 0.2.0

  • Split view (Julian Viereck)

    • split editor area horizontally or vertivally to show two files at the same time
  • Code Folding (Julian Viereck)

    • Unstructured code folding
    • Will be the basis for language aware folding
  • Mode behaviours (Chris Spencer)

    • Adds mode specific hooks which allow transformations of entered text
    • Autoclosing of braces, paranthesis and quotation marks in C style modes
    • Autoclosing of angular brackets in XML style modes
  • New language modes

    • Clojure (Carin Meier)
    • C# (Rob Conery)
    • Groovy (Ben Tilford)
    • Scala (Ben Tilford)
    • JSON
    • OCaml (Sergi Mansilla)
    • Perl (Panagiotis Astithas)
    • SCSS/SASS (Andreas Madsen)
    • SVG
    • Textile (Kelley van Evert)
    • SCAD (Jacob Hansson)
  • Live syntax checks

  • New Themes

    • Crimson Editor (iebuggy)
    • Merbivore (Michael Schwartz)
    • Merbivore soft (Michael Schwartz)
    • Solarized dark/light http://ethanschoonover.com/solarized (David Alan Hjelle)
    • Vibrant Ink (Michael Schwartz)
  • Small Features/Enhancements

    • Lots of render performance optimizations (Harutyun Amirjanyan)
    • Improved Ruby highlighting (Chris Wanstrath, Trent Ogren)
    • Improved PHP highlighting (Thomas Hruska)
    • Improved CSS highlighting (Sean Kellogg)
    • Clicks which cause the editor to be focused don't reset the selection
    • Make padding text layer specific so that print margin and active line highlight are not affected (Irakli Gozalishvili)
    • Added setFontSize method
    • Improved vi keybindings (Trent Ogren)
    • When unfocused make cursor transparent instead of removing it (Harutyun Amirjanyan)
    • Support for matching groups in tokenizer with arrays of tokens (Chris Spencer)
  • Bug fixes

    • Add support for the new OSX scroll bars
    • Properly highlight JavaScript regexp literals
    • Proper handling of unicode characters in JavaScript identifiers
    • Fix remove lines command on last line (Harutyun Amirjanyan)
    • Fix scroll wheel sluggishness in Safari
    • Make keyboard infrastructure route keys like []^$ the right way (Julian Viereck)

      2011.02.14, Version 0.1.6

  • Floating Anchors

    • An Anchor is a floating pointer in the document.
    • Whenever text is inserted or deleted before the cursor, the position of the cursor is updated
    • Usesd for the cursor and selection
    • Basis for bookmarks, multiple cursors and snippets in the future
  • Extensive support for Cocoa style keybindings on the Mac https://github.com/ajaxorg/ace/issues/closed#issue/116/comment/767803
  • New commands:
    • center selection in viewport
    • remove to end/start of line
    • split line
    • transpose letters
  • Refator markers
    • Custom code can be used to render markers
    • Markers can be in front or behind the text
    • Markers are now stored in the session (was in the renderer)
  • Lots of IE8 fixes including copy, cut and selections
  • Unit tests can also be run in the browser https://github.com/ajaxorg/ace/blob/master/lib/ace/test/tests.html
  • Soft wrap can adapt to the width of the editor (Mike Ratcliffe, Joe Cheng)
  • Add minimal node server server.js to run the Ace demo in Chrome
  • The top level editor.html demo has been renamed to index.html
  • Bug fixes

    • Fixed gotoLine to consider wrapped lines when calculating where to scroll to (James Allen)
    • Fixed isues when the editor was scrolled in the web page (Eric Allam)
    • Highlighting of Python string literals
    • Syntax rule for PHP comments

      2011.02.08, Version 0.1.5

  • Add Coffeescript Mode (Satoshi Murakami)

  • Fix word wrap bug (Julian Viereck)
  • Fix packaged version of the Eclipse mode
  • Loading of workers is more robust
  • Fix "click selection"
  • Allow tokizing empty lines (Daniel Krech)
  • Make PageUp/Down behavior more consistent with native OS (Joe Cheng)

    2011.02.04, Version 0.1.4

  • Add C/C++ mode contributed by Gastón Kleiman

  • Fix exception in key input

    2011.02.04, Version 0.1.3

  • Let the packaged version play nice with requireJS

  • Add Ruby mode contributed by Shlomo Zalman Heigh
  • Add Java mode contributed by Tom Tasche
  • Fix annotation bug
  • Changing a document added a new empty line at the end