Commit graph

459 commits

Author SHA1 Message Date
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
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
Mihai Sucan
06e11ef374 merge heads 2011-02-13 17:19:31 +02:00
Mihai Sucan
0c959834a8 More fixes.
- Only highlight selected words.
- Highlight selected words by keyboard as well, not just mouse double click.
2011-02-13 17:07:42 +02:00
Fabian Jakobs
f505f97ec1 Add some more default mac keybindings
http://www.hcs.harvard.edu/~jrus/Site/System%20Bindings.hml
2011-02-13 16:07:08 +01:00
Fabian Jakobs
f1d558a3d9 clean up 2011-02-13 16:06:29 +01:00
Fabian Jakobs
e1fef748e8 implement center selection in view port command 2011-02-13 16:06:21 +01:00
Fabian Jakobs
3715e90501 implement remove to line end 2011-02-13 15:55:05 +01:00
Fabian Jakobs
432873ed46 implement split line command 2011-02-13 15:54:21 +01:00
Fabian Jakobs
a0b9140e18 implement transpose letters command 2011-02-13 15:52:29 +01:00
Mihai Sucan
24e1357755 Make sure the current search needle is not lost. 2011-02-13 14:35:19 +02:00
Mihai Sucan
b6e136201d Fix for issue 57: highlight all instances of a selected word. 2011-02-13 14:35:19 +02:00
Mihai Sucan
1b3d7816c5 Make sure the current search needle is not lost. 2011-02-12 20:40:58 +02:00
Mihai Sucan
71c347aacd Fix for issue 57: highlight all instances of a selected word. 2011-02-12 20:26:24 +02:00
Fabian Jakobs
e37dc3f7e4 have two marker layers. One in front and one behind the text. 2011-02-12 15:25:14 +01:00
Fabian Jakobs
428dbeb11d some more IE fixes 2011-02-12 15:03:17 +01:00
Fabian Jakobs
ddccaa75b2 fix copy, cut and past in IE 2011-02-12 15:02:55 +01:00
Fabian Jakobs
61049e9ca2 add browser test runner 2011-02-12 13:16:25 +01:00