Commit graph

967 commits

Author SHA1 Message Date
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
c87f10e6d9 Add a vertical line on the gutter to indicate wrapped lines 2011-05-23 19:42:11 +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
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
c-spencer
1319c478bb Assume no state change from previously known state in bgTokenizer (#256) 2011-05-23 11:31:36 +01:00
c-spencer
2351e37230 Merge branch 'master' into mode-transform 2011-05-23 10:58:20 +01:00
c-spencer
53fb2a3562 Merge remote branch 'upstream/master' 2011-05-23 10:50:21 +01: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
bc45a88928 Make behavioural actions easily extensible 2011-05-22 15:27:09 +01:00
c-spencer
deb5a01693 Improved Cstyle behaviour 2011-05-22 13:30:04 +01:00
c-spencer
8e7f4f2716 Allow mode behaviours to be disabled at the editor level 2011-05-22 03:03:48 +01:00
c-spencer
138ec94f53 Style improvements 2011-05-22 02:53:30 +01:00
c-spencer
6fcff0f691 Add C-style behaviours to C/Csharp/Java/PHP 2011-05-22 01:44:12 +01:00
c-spencer
3cdfa37427 Factor out mode transforms into Behaviour 2011-05-22 01:36:09 +01:00
c-spencer
1261c55913 Mode Behaviours 2011-05-21 18:51:25 +01:00
c-spencer
0d9b5dd8b9 Add transformInput and transformRemove hooks into edit modes 2011-05-21 17:26:39 +01: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
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
c-spencer
40eba3a401 Get css tests passing (wrong test start rule) and update jsdom library paths 2011-05-19 19:59:50 +01:00
c-spencer
1036aaa057 Apply matched value to tokenizer token functions. 2011-05-19 18:30:03 +01:00
c-spencer
6b660009ad Simplify backreference adjustment 2011-05-19 13:07:42 +01:00
c-spencer
3a1e9398ca Fix match iteration 2011-05-19 12:45:43 +01:00
c-spencer
c2659f24fe Adjust backreferences within tokenizer rules 2011-05-19 12:19:05 +01:00
Chris Spencer
0ebff3b5c9 Bugfix for consecutively typed tokens. 2011-05-19 03:02:08 -07:00
Chris Spencer
ae5e83ea02 Support for matching groups in tokenizer with arrays of tokens. 2011-05-19 02:36:00 -07:00
Chris Spencer
d1e05468c6 Allow empty line to be a matching state. 2011-05-18 12:26:41 -07:00
Fabian Jakobs
16ab034515 update jshint 2011-05-18 18:29:03 +02:00
Julian Viereck
62f168eb8e Fix bug in EditSession.$updateInternalDataOnChange. Shifting the fold lines on deletion have to use end.row instead of lastRow, as lastRow is "normalized". 2011-05-17 20:28:48 +02:00
Julian Viereck
55e0f8ceff Fix calculation of EditSession.getScreenLength. 2011-05-17 20:19:26 +02:00
Fabian Jakobs
f4a9c1bc78 improve coffee script error messages 2011-05-16 18:03:00 +00:00
Fabian Jakobs
32b255963d add coffee script syntax checking in a worker 2011-05-16 17:22:28 +00:00
Fabian Jakobs
c84dc5debb missing komma made fold and foldStart global 2011-05-16 15:10:12 +00:00
Fabian Jakobs
f65b2d30fc fix #240 2011-05-16 15:00:25 +00:00
Fabian Jakobs
2f906bb2c6 refactor worker creation. Fix issue #245 2011-05-16 14:31:32 +00:00
Fabian Jakobs
40d449ffb4 Merge pull request #233 from probonogeek/master
CSS Sytnax Rule Improvements
2011-05-16 06:26:06 -07:00
Fabian Jakobs
ec986e2f28 Merge pull request #243 from nightwing/pullreq
fixed several annoying bugs
2011-05-16 06:09:07 -07:00
nightwing
5479c69482 fix bug from previous commit, splits is undefined 2011-05-16 18:03:06 +05:00