Commit graph

497 commits

Author SHA1 Message Date
Mihai Sucan
b261c4e4dd changes for Mozilla Workspace. work in progress, definitely not ready for pull requests! ;) 2011-02-21 20:26:02 +02:00
Fabian Jakobs
e064fe4dc2 Merge branch 'master' of github.com:ajaxorg/ace 2011-02-21 12:55:21 +01:00
Fabian Jakobs
8c06c538ee use proper AMD style 2011-02-21 12:41:48 +01:00
Fabian Jakobs
527fcff5f5 add option to turn off workers 2011-02-21 10:10:57 +01:00
Fabian Jakobs
c0c02e8e3f fix unit tests 2011-02-21 09:21:07 +01:00
Fabian Jakobs
9027485ddb only skip clipping if the new position came from a change event 2011-02-21 09:20:37 +01:00
Fabian Jakobs
2fa9b5aa12 don't clip on setting the position 2011-02-21 08:27:35 +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
Eddy Bruel
40b2c0cced Added ignore property to deltas for local undo 2011-02-20 14:10:57 +01:00
Fabian Jakobs
707f38ff9d Merge branch 'issue-42' 2011-02-20 13:20:31 +01:00
Fabian Jakobs
387e282029 fix triple click 2011-02-20 13:18:27 +01:00
Fabian Jakobs
e641c7f487 quad click selects all 2011-02-19 14:31:12 +01:00
Fabian Jakobs
b01e4c8640 reset undo stack after setValue() calls 2011-02-19 11:36:58 +01:00
Fabian Jakobs
389d33acac some more mouse handler fixes 2011-02-19 11:20:47 +01:00
Fabian Jakobs
3489f5be89 user jshint instead of braindead jslint 2011-02-19 10:24:30 +01:00
Mihai Sucan
c6b4fc93f2 added hold-mousedown delay to enable selection drag 2011-02-18 19:56:08 +02:00
Fabian Jakobs
966181fcf8 mend 2011-02-18 15:47:46 +01:00
Fabian Jakobs
fbff87f0b2 only do dom operations in the update function 2011-02-18 15:46:15 +01:00
Fabian Jakobs
e2ee67f5fc Merge branch 'master' of github.com:ajaxorg/ace 2011-02-18 15:44:56 +01:00
Fabian Jakobs
caad347a39 clip the cursor before rendering 2011-02-18 15:44:37 +01:00
Julian Viereck
4d2744db86 Fix test messages 2011-02-18 22:28:36 +08:00
Julian Viereck
15f9392643 Fix find next/previous keymapping on mac: Use Cmd-G instead of Cmd-K 2011-02-18 22:28:36 +08: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
Mihai Sucan
471188c669 selection must be draggable after triple click as well 2011-02-18 14:17:14 +02:00
Mihai Sucan
3f24b7a553 Completed work. Selected text is now draggable. 2011-02-18 14:17:14 +02:00
Mihai Sucan
f79e4a3111 Started work on fixing issue 42.
Code's not working as desired, yet. Work in progress. :)
2011-02-18 14:17:14 +02:00
Fabian Jakobs
0099165a85 fix formatting 2011-02-18 11:56:25 +01:00
Matt Pardee
0a28309db5 Adding user styles to theme files 2011-02-18 02:40:28 -08:00
Matt Pardee
f6f4dda67f Updated themes 2011-02-17 22:42:37 -08:00
Mihai Sucan
f517bf9717 Minimal UI for Find+Replace, issue 56.
The API is there, the shortcut is there as well (Ctrl-R) but the command does
not exist, so added a minimal implementation, just Find has one.
2011-02-18 14:26:23 +08:00
Julian Viereck
848e29912c Fix bug that prevented moveWordLeft/Right to move behind || or [ 2011-02-18 13:55:36 +08:00
Fabian Jakobs
537209da57 explicitly update cursor on enter 2011-02-17 18:00:57 +01:00
Fabian Jakobs
8e3c1e6096 let the document act as anchor factory 2011-02-17 16:11:03 +01:00
Fabian Jakobs
3b0e49539b fix undo cursor regression 2011-02-17 15:38:40 +01:00
Julian Viereck
bf33db7e3e Make worker_client.$guessBasePath look for ace-uncompressed.js as well 2011-02-17 21:10:56 +08:00
Fabian Jakobs
e99e4cc632 fix scroll cursor into view if the editor is not visible 2011-02-17 11:05:11 +01:00
Fabian Jakobs
0cbaa4cbd9 Merge remote branch 'jcheng5/tmp-blankline-alternate-fix'
Conflicts:
	lib/ace/document.js
2011-02-17 10:56:54 +01:00
Joe Cheng
95d3a2ada7 Fix error with setValue("\nfoo") when wrap mode is on 2011-02-17 17:48:28 +08:00
Joe Cheng
14ebde8b24 Show horizontal scrollbar only when needed 2011-02-17 17:46:20 +08:00
Joe Cheng
4d8e4b29ab Fix scrollbar in Safari 4 2011-02-17 17:43:40 +08:00
Fabian Jakobs
a7a7dc06f3 disable auto indent for pasted code 2011-02-17 10:37:35 +01:00
Fabian Jakobs
bf88abd8d9 take into account that undos can have inserts and removes mixed 2011-02-17 10:37:20 +01:00
Joe Cheng
831ef0745a Simplify document.insert 2011-02-17 02:51:33 -05:00
Mihai Sucan
bea0289a77 bug fixes and tests 2011-02-17 01:54:31 +08:00
Mihai Sucan
1ce0f187b3 test for issue 57. not working yet. 2011-02-17 01:54:31 +08:00
Fabian Jakobs
7ad2e99db4 add perl mode to the makefiles and convert tabs to spaces 2011-02-15 14:11:52 +01:00
Panagiotis Astithas
2d1dda867a Add a Perl syntax highlighting mode. 2011-02-15 21:06:01 +08:00
Julian Viereck
39c7c652d9 Fix highlighter rules to not become global objects 2011-02-15 21:01:02 +08:00
Julian Viereck
b66b1f914d Fix typo in session.setUseWrapMode 2011-02-15 21:01:01 +08:00
Julian Viereck
b4d107284d On font size change, call onResize on the renderer to force update of scrollbars/wrap data 2011-02-15 21:01:01 +08:00