ace 0.7.2 ace: ^0.7.2 copied to clipboard
Dart bindings for the Ace code editor.
Ace.dart Changes #
0.7.1+3.4.15 #
- No longer maintained.
0.7.0+3.4.15 #
- Migrated tests to the
unittest
package. - Removed the
ace.pure
library.
0.6.2+3.4.15 #
- Updated to ace-builds version 03.04.15.
0.6.1+3.3.15 #
- Updated to ace-builds version 03.03.15.
0.6.0+24.2.15 #
- Updated to ace-builds version 24.02.15.
- Removed the
ace-builds
js files from thelib/
directory. Many users will not require all of the files (themes, modes, etc...) for their application and currently there is no easy way to exclude these files from an application built withpub build
. Also, some users may need or want to use their own version oface.js
to pull in bug fixes or other modifications. It was therefore decided to use the latestace-builds
in this package for the tests and examples only. Each application is now responsible for including its own copy of the Javascript files it desires.
0.5.10+20.12.14 #
- Suppressed a console warning introduced by ace-builds 20.12.14; it appears that "Automatically scrolling cursor into view after selection change" is deprecated functionality and will be disabled in the next build of ace.js.
0.5.9+20.12.14 #
- Updated to ace-builds version 20.12.14.
- Added the
showFoldWidgets
getter/setter toEditor
. - Added the
isClean
getter and themarkClean
method toUndoManager
.
0.5.8+8.11.14 #
- Updated to ace-builds version 08.11.14.
- Started wiki documentation. (@jackd)
- Added annotations and token information to the
kitchen_sink
example and a newcustom_mode_example
. (@jackd)
0.5.7+9.10.2014 #
- Updated to ace-builds version 09.10.2014.
0.5.6+20.9.2014 #
- Added the
lineHeight
getter and thetextToScreenCoordinates
method toVirtualRenderer
.
0.5.5+20.9.2014 #
- Updated to ace-builds version 20.09.2014.
- Fixed a stack overflow error when calling some getters on a loaded
Theme
.
0.5.4+17.8.2014 #
- Updated to ace-builds version 17.08.2014.
0.5.3+7.9.2014 #
- Added
.glsl
,.frag
, and.vert
to the default mode extension map.
0.5.2+7.9.2014 #
- Updated to ace-builds version 07.09.2014.
- Added a
gh-pages
branch to host the live demo application and added a link to the demo in theREADME
.
0.5.1+7.1.2014 #
- Updated to ace-builds version 07.01.2014.
- Added the
Config
abstract class and theace.config
top-level getter.
0.5.0+6.9.2014 #
- Added
.cmd
,.diff
,.haml
,.jade
, and.proto
to the extension map used by thenew Mode.forFile
factory. - Removed the
Delta
subtypes and madeDelta
a concrete class as an optimization; this is only a breaking change in the case where client code made use of theruntimeType
of a delta (e.g.delta as InsertLinesDelta
).
0.4.1+6.9.2014 #
- Removed API docgen to allow
pub.dartlang.org
to automatically link to the correct API docs for each version atdartdocs.org
.
0.4.0+6.9.2014 #
- Updated to ace-builds version 06.09.2014.
- Added
.vala
to the extension map used by thenew Mode.forFile
factory. - Changed the return type of
screenLength
,screenWidth
,scrollLeft
andscrollTop
fromint
tonum
inEditSession
to support sub-pixel precision. - Added the
scrollToLine
andscrollToRow
methods toEditor
. - Added the
getTokenAt
andgetTokens
methods toEditSession
and theToken
class. - Added linking extension support; multiselect must be turned off: (@umop)
ace.require('ace/ext/linking');
editor.setOptions({'enableMultiselect' : false, 'enableLinking' : true});
- Changed the return type of
Disposable.dispose
fromvoid
toFuture
. - Changed the implementation regarding event streams of proxy objects such that they are created lazily and only attached to the underlying JavaScript object when there is an active stream subscription. This is a significant performance enhancement both in terms of compiled application code size and execution.
0.3.8+4.11.2014 #
- Added the
LanguageTools
,AutoCompleter
andCompletion
classes to support theace/ext/language_tools
extension. An instance ofLanguageTools
is now returned by a call torequire('ace/ext/language_tools')
.
0.3.7+4.11.2014 #
- Updated to ace-builds version 04.11.2014.
- Added the
lastVisibleRow
getter toEditor
andVirtualRenderer
. - Added
.htm
to the extension map used by thenew Mode.forFile
factory.
0.3.6+3.8.2014 #
- Added the
commands
getter and theexecCommand
method toEditor
. - Added the
Command
andCommandManager
classes. - Updated to ace-builds version 03.08.2014.
0.3.5+2.28.2014 #
- Fixed a bug in the
Editor.onPaste
event stream that arrived with a change inace-builds
02.28.2014. - Added the
paste
method toEditor
. - Updated API documentation generation to use the new
docgen
tool. - Added
.as
,.ini
,.pl
,.pm
, and.sass
to the extension map used by thenew Mode.forFile
factory.
0.3.4+2.28.2014 #
- Updated to ace-builds version 02.28.2014.
- Added the
fadeFoldWidgets
getter / setter toEditor
. - Added the
getLineRange
method toSelection
.
0.3.3+1.8.2014 #
- Changed the data carried by a number of 'empty' streams from
this
tonull
for performance reasons.
0.3.2+1.8.2014 #
- Added the
wrapLimit
setter toEditSession
. - Replaced the
EditSession.wrapLimitRange
getter with thegetWrapLimitRange
method.
0.3.1+1.8.2014 #
- Added an
OptionsProvider
implementation to theEditSession
. - Fixed some bugs in
Mode
proxy objects.
0.3.0+1.8.2014 #
- Decoupled the
Implementation
from theace
library by adding anace.proxy
library; the library user is responsible for setting theimplementation
variable prior to making any other calls to theace
library. For example:
import 'package:ace/ace.dart' as ace;
import 'package:ace/proxy.dart';
main() {
ace.implementation = ACE_PROXY_IMPLEMENTATION;
...
}
0.2.0+1.8.2014 #
- Replaced the
EditSession.breakpoints
getter with thegetBreakpoints
method. - Split
EditSession.annotations
getter/setter into thegetAnnotations
andsetAnnotations
methods; this matchesace.js
and helps to clarify their separate behavior. - Added the static
Mode.extensionMap
getter; the user may modify this map to configure thenew Mode.forFile
factory. - Added the
new Mode.named
factory,name
getter, and enumeration constants toMode
. - Added
gotoLine
and theonChangeSelection
event stream toEditor
. - Added the
Marker
class and expose theonChangeBackMarker
,onChangeFrontMarker
,addMarker
,getMarkers
andremoveMarker
members on theEditSession
class. - Added the
Fold
,FoldLine
,Placeholder
andRangeList
classes. - Added the
Folding
abstract class and haveEditSession
implement it. - Added the
onChangeFold
event stream toEditSession
.
0.1.7+1.8.2014 #
- Updated to ace-builds version 01.08.2014.
0.1.6+12.2.2013 #
- Added the
UndoManagerBase
class and implemented theEditSession.undoManager
setter; the argument to this setter must be an object derived fromUndoManagerBase
. - Optimized some list and map conversions on the
dart:js
boundary. - Added the
Annotation
class and expose theonChangeAnnotation
,annotations
, andclearAnnotations
members on theEditSession
class. - Added a new
example/annotations
.
0.1.5+12.2.2013 #
- Added
containerElement
andmouseEventTarget
getters to theVirtualRenderer
. - Added
.lua
,.hs
,.hx
,.scala
, and.svg
to the extension map used by thenew Mode.forFile
factory.
0.1.4+12.2.2013 #
- Updated to ace-builds version 12.02.2013.
- Added
showGutter
,printMarginColumn
, and anOptionsProvider
implementation to theVirtualRenderer
.
0.1.3+10.28.2013 #
- Added the
KeyBinding
andKeyboardHandler
abstract classes and expose theEditor.keyBinding
getter and theEditor.keyboardHandler
getter / setter.
0.1.2+10.28.2013 #
- Added a new
example/autocomplete
. - Added the
require
top-level function. - Added the
OptionsProvider
abstract class and haveEditor
implement it.
0.1.1+10.28.2013 #
- Updated pubspec for Dart 1.0 release as requested.
0.1.0+10.28.2013 #
- Updated to ace-builds version 10.28.2013.
- Updated to SDK 0.8.10_r29803.
- Added documentation and test coverage to a number of public methods; please consult the commit history for details.
0.0.9+10.21.2013 #
- Updated to ace-builds version 10.21.2013.
- Fixed a couple of bugs from the move to
dart:js
.
0.0.8+10.7.2013 #
- Updated to SDK 0.8.5_r28990.
- Removed dependency on
js
package and moved code to use thedart:js
library instead.
0.0.7+10.7.2013 #
- Added several public methods to the
Range
class with documentation and test coverage. - Changed the
noClip
parameter ofAnchor.setPosition
to a named optional parameterclip
which defaults totrue
. - Changed the
dontSelect
parameter ofUndoManager.undo
andredo
to a named optional parameterselect
which defaults totrue
. - Changed the
cursorPos
parameter ofEditor.setValue
to an optional parametercursorPosition
which defaults to0
(select all) and documented the method. - Changed the
times
parameter of theEditor
methodsnavigateDown
,navigateLeft
,navigateRight
, andnavigateUp
to be optional with default value of1
.
0.0.6+10.7.2013 #
- Pub doesn't seem to like a
0
in the version metadata just about anywhere. This is really a pub bug but I'm going to drop the0
to work around the issue.
0.0.5+10.07.2013 #
- Updated to ace-builds version 10.07.2013.
- Changed the
text
parameter of theDocument
constructor from an optional to a named optional.
0.0.4+9.11.2013 #
- Updated to SDK 0.7.6_r28108.
- Added documentation and test coverage to a number of public methods; please consult the commit history for details.
- Fixed
Editor.onChangeSession
stream type toEditSessionChangeEvent
thanks to a bug fix in thejs-interop
package.
0.0.3+9.11.2013 #
- Updated to SDK 0.7.5_r27776.
- Added documentation and test coverage to a number of public methods; please consult the commit history for details.
0.0.2+9.11.2013 #
- Removed leading
0
from the version metadata string as it was being stripped when publishing and that was causing issues. - Added LICENSE and README for ace.js to
lib/src/js
.
0.0.1+09.11.2013 #
- Initial version.