Commit graph

1,560 commits

Author SHA1 Message Date
nightwing
833f12cd86 call getComputedStyle once 2011-05-30 11:26:06 +05:00
Fabian Jakobs
832707a82b update packaged ace 2011-05-27 10:52:07 +02:00
nightwing
8fc9dac030 same for the horizontal scrollbar 2011-05-27 10:01:54 +02:00
nightwing
64a55719b2 eliminate scrollbar jitter while typing at the bottom of screen 2011-05-27 10:01:27 +02:00
nightwing
6464a3852b do not call dom functions if possible 2011-05-27 10:00:24 +02:00
nightwing
baf69381ea allow ace_line divs to be sized automatically 2011-05-27 09:57:37 +02:00
nightwing
4787744645 faster documentToScreenPosition 2011-05-27 09:55:19 +02:00
nightwing
f86b91463e creating array for each call to getLine is too expensive
if getLines is modified it's better to override getLine too
2011-05-27 09:51:05 +02:00
Fabian Jakobs
75c73ece6e Merge pull request #272 from jviereck/fixes
Set DEBUG to false in state_handler.js again
2011-05-27 00:48:18 -07:00
Fabian Jakobs
13d88cbc9e Merge pull request #268 from jviereck/split
Implementing split views, closes issue #35
2011-05-27 00:48:05 -07:00
Fabian Jakobs
a41092adff Merge pull request #270 from jviereck/folding
Add support for unfolding folds using the mouse. Add hints on the gutter for wrapped lines.
2011-05-27 00:46:05 -07:00
Fabian Jakobs
56b28d4ca7 Merge pull request #273 from jpallen/master
Small change to let Ace work with useWrapMode = true in Cloud9
2011-05-27 00:44:27 -07:00
James Allen
d58ac71ad8 Use doc.getLength() to be compatible with ProxyDocument in Cloud9 2011-05-24 19:55:54 +01:00
Julian Viereck
6a7ed1e6b8 Set DEBUG to false in state_handler.js again 2011-05-24 18:56:29 +02:00
Fabian Jakobs
b17382fd17 update packaged ace 2011-05-24 17:16:58 +02:00
Fabian Jakobs
032009501c Merge pull request #271 from jviereck/fixes
Use compressed Ace version in bookmarklet build
2011-05-24 07:56:47 -07:00
Julian Viereck
f6a6726c4f Fix a bug in keyboard_state_handler such that the emacs keymapping is working again 2011-05-24 16:15:02 +02:00
Julian Viereck
e3f71e22c2 Use compressed Ace version in bookmarklet build 2011-05-24 15:16:40 +02:00
Julian Viereck
c87f10e6d9 Add a vertical line on the gutter to indicate wrapped lines 2011-05-23 19:42:11 +02:00
Julian Viereck
50aac69d56 Fold on selection - dont expand in the demo. Otherwise it's hard to test nested folding 2011-05-23 19:42:11 +02:00
Julian Viereck
6cc2453f8b Demo: Fold comments if the cursor is inside of a comment block 2011-05-23 19:39:20 +02:00
Julian Viereck
fe4465fe23 Select folds as the user clicks on it and expand them on double clicking 2011-05-23 19:39:10 +02:00
Fabian Jakobs
9e021d21d9 Merge pull request #269 from jviereck/activeline
Fixes the "active line" to be updated in some edge cases.
2011-05-23 08:32:17 -07:00
Julian Viereck
5af76c310c Call updateHighlightActiveLine in onSelectionChange instead to catch all edge cases. 2011-05-23 17:16:19 +02:00
Julian Viereck
f332e2b900 Fix handling of undo/redo stack in splits do the right thing. 2011-05-23 17:14:30 +02:00
Julian Viereck
ffeda1ae05 Add setFontSize on Split 2011-05-23 17:14:30 +02:00
Julian Viereck
cb6a93a8ce Add storing second session back again 2011-05-23 17:14:30 +02:00
Julian Viereck
3f78f87f6e Add missing return to Editor.getTheme(). 2011-05-23 17:14:30 +02:00
Julian Viereck
4f06e21070 Reuse the editor instance in Split. Don't like that, but as the Editor is not destroyed completly, this is the base thing to do at the moment in case of memoery usage 2011-05-23 17:14:29 +02:00
Julian Viereck
87003ac4ed Reuse former session of second split. Add destroy function that stops some timeouts. 2011-05-23 17:14:29 +02:00
Julian Viereck
55328f3690 Add oriantation to Split and demo option 2011-05-23 17:14:29 +02:00
Julian Viereck
c38ddf3245 More work on Split. Update the demo UI on changes 2011-05-23 17:14:29 +02:00
Julian Viereck
0ddbfa66ef First pass of split implementation 2011-05-23 17:14:29 +02:00
Julian Viereck
811ba3ee11 Update the activeLine on fold changes. 2011-05-23 17:12:25 +02:00
Fabian Jakobs
7bb2cd9792 Merge pull request #265 from fivesixty/master
Add standard mode/highlight delegation into base Text Mode/Highlighter
2011-05-23 06:19:47 -07:00
c-spencer
1319c478bb Assume no state change from previously known state in bgTokenizer (#256) 2011-05-23 11:31:36 +01:00
c-spencer
53fb2a3562 Merge remote branch 'upstream/master' 2011-05-23 10:50:21 +01:00
Julian Viereck
95a9744c53 Remove no longer needed Makefile.dryice.textarea.js 2011-05-23 11:11:55 +02:00
Julian Viereck
e0cec5a073 Style the Ace Bookmarklet Build page 2011-05-23 11:11:47 +02:00
Julian Viereck
14faa36a51 Update build_support for the bm build 2011-05-23 11:11:31 +02:00
Julian Viereck
2bf1429118 Merge build process for normal and bookmarklet build 2011-05-23 11:11:13 +02:00
Julian Viereck
bc93a71771 Update Readme. Make static.py serve on port 8888 like static.js does. 2011-05-23 11:07:56 +02:00
Fabian Jakobs
e3ccca3663 update packeged ace 2011-05-23 09:00:21 +00:00
Fabian Jakobs
abd3ee2d54 remove debug message 2011-05-23 08:57:48 +00:00
Fabian Jakobs
17c1d1b1ae Merge pull request #257 from fivesixty/master
Fixes for #240/#249 and #255
2011-05-23 01:51:45 -07:00
Fabian Jakobs
0e4993f015 fix tokenizer caching. Fixes #256 2011-05-23 08:45:33 +00:00
c-spencer
e9ddafe9ee Add standard way to embed other mode/highlighters 2011-05-21 12:40:11 +01:00
c-spencer
cb9bdd120c Fixes for #240 and #255 2011-05-21 00:22:15 +01:00
Fabian Jakobs
6de1e4f5f5 update packaged ace 2011-05-20 15:23:33 +02:00
Fabian Jakobs
51d2a348c7 Don't access private $lines array of the document.
There are document implementations, which don't have this.
2011-05-20 15:23:20 +02:00