Commit graph

149 commits

Author SHA1 Message Date
Fabian Jakobs
0c956185e3 outdent python after 'pass', 'raise', 'return', 'break' and 'continue'
fix #382
2011-08-18 13:04:54 +02:00
Fabian Jakobs
573f532a07 textinput fixes for IE 2011-08-16 11:48:40 +02:00
Fabian Jakobs
40d5191bb7 fix delete last line 2011-08-12 09:55:37 +02:00
Fabian Jakobs
9505a85237 emit events on copy, cut and paste 2011-08-12 09:51:43 +02:00
Fabian Jakobs
a09141a723 search and replace caused an exception if the
search term was not found.
2011-08-02 15:12:38 +02:00
Fabian Jakobs
a39ab0d607 change "delete last line" behavior to match vim 2011-08-01 10:31:12 +02:00
nightwing
85ce847fab fix editor.removelines on last line 2011-08-01 10:27:52 +02:00
Fabian Jakobs
4f3719d27a enable behaviors by default to give this code better
testing coverage.
2011-07-29 11:13:18 +02:00
Fabian Jakobs
b8c0563d62 fix problem with the row cache 2011-07-28 16:52:00 +02:00
Fabian Jakobs
4012c32a55 properly tonekize regexp literals in JavaScript.
fix #140
2011-07-26 16:26:56 +02:00
Fabian Jakobs
4dfe33655e when a click causes the editor to be focused ignore
it. fix #168
2011-07-23 20:32:02 +02:00
Fabian Jakobs
09c9aa81df Update desired column on insert text 2011-07-22 10:23:02 +02:00
Fabian Jakobs
cf5f5a4e4b Merge pull request #347 from Gozala/bugs/paddings-342
Fixing render glitches #342
2011-07-20 14:15:15 -07:00
Irakli Gozalishvili
b34d97f240 Adding marker type background that ignores padding. 2011-07-20 18:22:24 +02:00
Fabian Jakobs
aef91c2d31 merge julians's key handler changes 2011-07-15 08:50:13 +00:00
Trent Ogren
e5a5ea97a1 changed misleading argument name: row -> column 2011-07-10 12:07:26 -07:00
Fabian Jakobs
b1b22e2827 add setFontSize method to the editor. fix #315 2011-06-29 08:44:32 +00:00
nightwing
e32a760ef1 editor.setSession must update wraplimit 2011-06-26 15:07:13 +05:00
Julian Viereck
874349515f Make keyboard infrastructure route keys like []^$ the right way. 2011-06-15 21:07:18 +02:00
Fabian Jakobs
8d45513f62 cleanups 2011-06-08 15:26:16 +00:00
Chris Wanstrath
e26d408a0c On a Mac, Ctrl+K at line's end removes the \n 2011-06-07 20:55:46 +02:00
Fabian Jakobs
5718f2dc5f Merge pull request #274 from fivesixty/mode-transform
Mode Behaviours
2011-05-30 00:33:53 -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
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
5af76c310c Call updateHighlightActiveLine in onSelectionChange instead to catch all edge cases. 2011-05-23 17:16:19 +02:00
Julian Viereck
3f78f87f6e Add missing return to Editor.getTheme(). 2011-05-23 17:14:30 +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
c38ddf3245 More work on Split. Update the demo UI on changes 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
bc45a88928 Make behavioural actions easily extensible 2011-05-22 15:27:09 +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
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
nightwing
577ee94011 remove some of redundant scrollCursorIntoView calls
(cursor was scrolling into view before changing)
2011-05-09 15:19:25 +05:00
Julian Viereck
ccfe285bab Implement EditSession.removeFold. 2011-04-28 21:39:20 +02:00
Julian Viereck
88f55c958a Fix active line highlighter in folded row 2011-04-28 21:39:18 +02:00
Julian Viereck
c010348eae First iteration of code folding - not much working yet. 2011-04-28 21:37:31 +02:00
Fabian Jakobs
9162d81b72 fix typo 2011-04-27 07:56:19 -07:00
Fabian Jakobs
f9bf9bfc9a move background tokenizer from the editor to the edit session 2011-04-26 10:39:27 +02:00
Irakli Gozalishvili
915c1be533 Fixing bug in editor.setOverwrite #issue/204 2011-04-07 17:38:00 +08:00
Fabian Jakobs
fb85c5790d Merge branch 'master' of github.com:ajaxorg/ace 2011-03-09 09:36:59 +01:00
Fabian Jakobs
a5bf0bc0be make jshint happy 2011-03-09 09:36:50 +01:00
Fabian Jakobs
8f2949ffb6 don't timeout focus in IE 2011-03-09 08:35:44 +00:00
Fabian Jakobs
79ab9acb4a remove debugger statement 2011-02-24 15:48:55 +01:00
Fabian Jakobs
7a607ba621 fix demo for the textile mode 2011-02-23 13:59:19 +01:00
Fabian Jakobs
c0c02e8e3f fix unit tests 2011-02-21 09:21:07 +01:00
Fabian Jakobs
9e8b49224f - don't store state in the cursor layer
- move overwrite setting to the session
2011-02-21 08:24:58 +01:00
Mihai Sucan
44846b4983 rebased the branch, moved the moveText() from Document to EditSession, and removed the 'move' change event, which is no longer needed given the fixes in UndoManager. 2011-02-18 14:53:44 +02:00