aldendaniels
026af74016
Fix render bugs
...
Both were introduced in 2e6f12725b .
2014-01-01 12:04:12 -06:00
aldendaniels
27768230c8
Maintain public API and update coding convention
...
This seeks to keep the public API in-tact while improving method names
within ace by keeping the old methods as wrappers around the new
better-named methods.
For example, document.insert() now simply calls document.insertText()
and warns the caller via a console.log() that they are using a
deprecated method.
I've also updated the coding style of my changes (where I noticed
discrepancies) to match the rest of Ace.
2014-01-01 11:05:27 -06:00
aldendaniels
2e6f12725b
#1744 : Refactor document delta handling
...
Refactor delta handling code to:
- Combine the "insertText" and "insertLines" delta types into a single
"insert" delta type
- Combine the "removeText" and "removeLines" delta types into a single
"remove" delta type
- Make all document mutations in a single applyDelta function.
- Add basic delta validation (more needed . . . see TODOs)
- Rework anchor logic to handle new delta types (also simplified)
- Rename "insert()" to "insertText()" and "remove()" to "removeText()"
- Rename "insertLines()" to "insertFullLines()" and "removeLines()" to
"removeFullLines()"
See related issue for more information. All tests are passing and the
changes appear functional under preliminary testing, but careful review
and testing will be necessary.
2014-01-01 00:41:45 -06:00
Harutyun Amirjanyan
a9d194894e
Merge pull request #1742 from hartman/commas
...
Remove trailing comma's, which break scripts in IE7
2013-12-31 04:16:32 -08:00
Derk-Jan Hartman
1240a04fff
Remove trailing comma's, which break scripts in IE7
2013-12-31 10:12:34 +01:00
Harutyun Amirjanyan
6e46195102
Merge pull request #1728 from desoi/master
...
Updated keywords and functions for PostgreSQL 9.3. Added sub-mode support for JavaScript and Json.
2013-12-29 13:37:10 -08:00
John DeSoi
48cd7f55dc
Updated keywords and functions for PostgreSQL 9.3. Added sub-mode support for JavaScript and Json.
2013-12-29 14:16:38 -06:00
Lennart Kats
c612dac355
Merge pull request #1723 from ajaxorg/misc
...
fix several small bugs
2013-12-25 07:11:00 -08:00
Lennart Kats
890fd39c92
Merge pull request #1725 from ajaxorg/double_tap
...
Double tap regression
2013-12-25 02:09:58 -08:00
Lennart Kats
eda5eaba39
Merge pull request #1715 from ajaxorg/velocity_snippets
...
Support loading snippets for mixed modes
2013-12-25 02:04:31 -08:00
Lennart Kats
191a79245f
Merge pull request #1703 from ajaxorg/highlighting/mixed
...
Do not loose currentState if tokenizer uses combination of next and push
2013-12-25 02:03:04 -08:00
Harutyun Amirjanyan
92dba7d44c
Merge pull request #1730 from danyaPostfactum/autoinsert
...
Add autoinsert feature to the completer.
2013-12-23 03:27:09 -08:00
DanyaPostfactum
ff42a13c4f
Add autoinsert feature to the completer.
2013-12-23 02:52:25 +10:00
nightwing
b6a3a15232
add a test
2013-12-20 18:12:33 +04:00
nightwing
c01725184e
remove setTimeout from startSelect
...
fixes #956 : double tap regression
2013-12-20 17:18:34 +04:00
nightwing
15dd2082f6
cleanup
2013-12-20 15:14:35 +04:00
nightwing
3a864c6056
add support for inline mode in php worker
2013-12-17 00:04:21 +04:00
nightwing
10e2c3049c
add options for theme and mode
2013-12-15 21:20:11 +04:00
nightwing
6285bf5d5a
update cssLint and coffee
2013-12-15 21:18:13 +04:00
nightwing
b7ee15f5d9
fix bug with fixedWidth gutter + firstLineNumber
2013-12-15 02:50:48 +04:00
nightwing
133db3cfe0
fix #1711 Double click on foldWidgets region can paint whole gutter in red.
2013-12-14 23:52:01 +04:00
nightwing
45c4bdcb2e
disable invalid class on ampersands
...
fixes #1655
2013-12-14 19:44:44 +04:00
nightwing
61591eee5d
add tests
2013-12-14 19:41:44 +04:00
nightwing
869e1f86aa
cleanup d mode
2013-12-14 19:37:24 +04:00
Harutyun Amirjanyan
a6c21c6761
Merge pull request #1694 from robik/d-lang-support
...
Improved D Language mode
2013-12-14 07:29:25 -08:00
Harutyun Amirjanyan
3b96539874
Merge pull request #1696 from danyaPostfactum/refactor/scrollbar
...
Refactor ScrollBarV and ScrollBarH classes
2013-12-14 06:25:48 -08:00
DanyaPostfactum
5affb58e40
Add forgotten css overflow:scroll to scrollbars
2013-12-13 16:45:20 +10:00
Harutyun Amirjanyan
710bf4dbe0
Merge pull request #1719 from nbreslow/master
...
Added support for Autodesk Maya MEL
2013-12-12 14:53:27 -08:00
Nicholas Breslow
cde625fde3
Added c-style behavior and fold mode / updated mode syntax.
...
As per Harutyun Amirjanyan's request I made the following two changes:
1) Added c-style behavior and fold mode.
2) Updated mode syntax for mel to current one used by Ace.
2013-12-12 16:47:41 -05:00
Nicholas Breslow
56604c1fa5
Updated project.
2013-12-10 14:03:53 -05:00
Nicholas Breslow
a6c6028f7e
Changed mel.mel example file.
2013-12-10 14:03:23 -05:00
DanyaPostfactum
8ecc94a181
Rename ScrollBarV -> VScrollBar, ScrollBarH -> HScrollBar
2013-12-10 17:41:02 +10:00
nightwing
00df72ee0d
allow inlining multiple text modules
2013-12-09 23:24:43 +04:00
Ryan Griffith
2b10c2071f
Check for possible snippet expansion before attempting to proceed to the next tabstop.
2013-12-09 10:04:38 -05:00
Lennart Kats
24c207191c
Merge pull request #1702 from ajaxorg/themes
...
Themes
2013-12-09 04:03:10 -08:00
Lennart Kats
be2b684b6f
Merge pull request #1716 from ajaxorg/force_ltr
...
force editor text to be ltr
2013-12-09 04:00:23 -08:00
nightwing
5f0012f653
force editor text to be ltr
...
fixes #1429
2013-12-06 23:58:11 +04:00
nightwing
4307aba209
fix #1693 searchbox is broken when creating ace in pre tag
2013-12-06 23:08:51 +04:00
Lennart Kats
f5334ceaa2
Merge pull request #1701 from ajaxorg/static_highlighter
...
use css counter for line number in static_highlighter
2013-12-06 08:21:59 -08:00
Lennart Kats
91d581b12b
Merge pull request #1705 from ajaxorg/autocomplete/hor_scroll
...
fix #1680 Autocomplete box doesn't work with horizontal scrolling
2013-12-06 07:57:38 -08:00
Lennart Kats
e7f412c992
Merge pull request #1688 from ajaxorg/highlighting/apache_conf
...
add apache_conf mode
2013-12-06 07:55:39 -08:00
Lennart Kats
40ea516801
Merge pull request #1700 from ajaxorg/newclient
...
sync with cloud9
2013-12-06 06:44:32 -08:00
nightwing
c2b097b825
add includeScopes for velocity mode
2013-12-05 23:57:18 +04:00
nightwing
a0ab8baa56
add id to all modes
2013-12-05 23:46:16 +04:00
Harutyun Amirjanyan
84bc9b25de
Merge pull request #1712 from hannonhill/velocity-snippets
...
Add snippets for common Velocity directives
2013-12-05 08:19:04 -08:00
nightwing
6b1215bca8
move user-select:none to scroller fixes #1675 on linux
2013-12-05 20:13:37 +04:00
Ryan Griffith
69b144686a
Added snippets for common Velocity directives.
2013-12-04 15:52:40 -05:00
nightwing
5ed4e3eded
reset scroll position
2013-12-03 23:11:54 +04:00
nightwing
af7c370318
fix #1680 Autocomplete box doesn't work with horizontal scrolling
2013-12-02 23:36:27 +04:00
DanyaPostfactum
b58b38d74a
Move setVisible() method to ScrollBar class
2013-12-02 21:09:14 +10:00