aldendaniels
810e196cc6
Use console.warn for deprecated methods
...
console.warn makes better sense than console.log and matches similar
warnings in ace (see gutter.js for example).
2014-01-01 12:06:19 -06:00
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
nightwing
ccc7d6dda8
add more sites
2013-12-31 16:17:01 +04: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
DanyaPostfactum
0b1630d6fa
Refactor tooltip to separate class.
2013-12-30 20:13:00 +10:00
nightwing
425404ff29
fix #1737 reset padding only if previous theme had custom padding
2013-12-30 02:05:57 +04:00
nightwing
3cc3043951
update js highlighter test
2013-12-30 01:56:58 +04:00
nightwing
9a5bd3cd65
include error_marker addon in the build
2013-12-30 01:42:12 +04: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
nightwing
edee507fd9
update site
2013-12-29 21:13:44 +04:00
nightwing
714e1a592c
fix resize issues
2013-12-29 20:07:08 +04:00
nightwing
90b2a6cd77
fix multiselect mouse interaction issues
2013-12-29 20:05:23 +04:00
nightwing
37b3dc1efd
tweak modes
2013-12-29 20:03:08 +04:00
nightwing
b6a4a34fd2
togglecomment should not scroll if part of the selection is visible
2013-12-29 20:02:14 +04:00
nightwing
5b151a3db4
fix scrolling speed on firefox ux
2013-12-29 19:59:16 +04:00
nightwing
3f7f325777
return removed folds from removeFolds
2013-12-29 19:57:49 +04:00
nightwing
6e254f25a1
fix wrap option getter
2013-12-29 19:57:00 +04:00
nightwing
4c4ab09870
add goToNextError command
2013-12-29 19:56:29 +04: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