Commit graph

713 commits

Author SHA1 Message Date
c-spencer
e153f53852 Move deepCopy into pilot/lang 2011-05-27 10:48:28 +01:00
c-spencer
5d1abb6bfc Remove hasOwnProperty style iteration 2011-05-27 10:29:11 +01:00
c-spencer
97c4e880fe Escape from all js/css embedded inside html 2011-05-25 23:14:17 +01:00
c-spencer
58cf406fbd squash text highlighter console 2011-05-25 22:50:14 +01:00
c-spencer
c26f375d26 Add license to xml behaviour 2011-05-25 21:17:53 +01:00
c-spencer
0bad27ff92 Update modes to use new embed syntax 2011-05-25 20:58:45 +01:00
c-spencer
d9e7970d2a Improve string behaviour, start on Xml behaviours, disable behaviours by default 2011-05-25 16:56:40 +01:00
c-spencer
bbb4648ebe Merge remote branch 'upstream/master' into mode-transform 2011-05-25 16:02:17 +01: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
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
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
nightwing
03a88d3fcf faster screenToDocumentPosition, and right clamping for wrapped mode 2011-05-15 23:34:46 +05:00
nightwing
02f8faee55 fix $setUndoSelection for multiline deltas 2011-05-15 22:08:15 +05:00