Commit graph

475 commits

Author SHA1 Message Date
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
Julian Viereck
db7575829c Move .css files for tm and eclipse theme into the .js file to make build process easiert. Fix eclipse gutter to be like the other ones. 2011-02-15 21:01:00 +08:00
Eddy Bruel
695a2420a6 Merge branch 'master' of github.com:ajaxorg/ace 2011-02-15 13:17:47 +01:00
Eddy Bruel
7ce9cee990 Reverted some breaking changes with the tests 2011-02-15 13:17:26 +01:00
Fabian Jakobs
ba244bce0a store reference to the matching brace highlight marker in the session 2011-02-15 13:08:55 +01:00
Fabian Jakobs
7633a665ac add semicolon 2011-02-15 12:16:15 +01:00
Fabian Jakobs
40fc8e966a Merge branch 'master' of github.com:ajaxorg/ace 2011-02-15 09:27:06 +01:00
Julian Viereck
73e94d3f97 Add bookmarklet/textarea build 2011-02-15 16:26:41 +08:00
Fabian Jakobs
be33a3515f some minor fixes for highlighting the selected word 2011-02-15 07:56:15 +01:00
Fabian Jakobs
b231b6269e Merge remote branch 'mihaisucan/issue-57'
Conflicts:
	support/pilot
2011-02-15 07:52:36 +01:00
Joe Cheng
66562856c8 Fix PageUp/PageDown commands, which were badly broken on soft-wrapped documents 2011-02-15 14:36:19 +08:00
Mihai Sucan
be0d9a2be7 More fixes for issue 57.
- move the selection highlight code to the Text mode.
- store $selectionOccurrences in the editor session.
- add option to toggle selection highlighting. In demo page as well.
2011-02-14 20:43:54 +02:00
Eddy Bruel
3d1469e330 Made several changes to make ACE work with Concorde 2011-02-14 18:25:55 +01:00
Joe Cheng
01109b3630 Cursor should be I-beam, not pointer 2011-02-14 22:51:53 +08:00
James Allen
d7539ff362 Fixed failing unit test by implementing MockRenderer#scrollToLine 2011-02-14 20:17:59 +08:00
Fabian Jakobs
55478fdb83 have to store the marker ids in the session as well 2011-02-14 08:05:59 +01:00
Fabian Jakobs
52c236cea9 Merge branch 'master' of github.com:ajaxorg/ace 2011-02-14 07:58:03 +01:00
Fabian Jakobs
7206c60dc6 replace all should not change the selection 2011-02-14 07:54:28 +01:00
Fabian Jakobs
635c5d05d5 store markers in the session and not in the renderer 2011-02-13 18:01:00 +01:00
Fabian Jakobs
a17e204e9c more mac keybindings for deleting stuff 2011-02-13 17:21:43 +01:00
Fabian Jakobs
fb49960694 add commands
- remove to line start
 - remove word left
 - remove word right
2011-02-13 17:21:24 +01:00
Fabian Jakobs
c227436dde add option for custom marker renderer 2011-02-13 16:57:55 +01:00
Fabian Jakobs
8ac379a71e fix cursor positioning on enter and indent 2011-02-13 16:57:33 +01:00