Trevor Parscal
|
45634a8208
|
Added support for inserting tab and newline characters
|
2011-12-07 01:10:25 +00:00 |
|
Trevor Parscal
|
f0c20d7a51
|
Fixed cut - now cut copy and paste work
|
2011-12-07 00:51:26 +00:00 |
|
Trevor Parscal
|
b1f54c5ae5
|
Refactored annotation of content - now there's an annotate method in surface view
|
2011-12-06 23:48:47 +00:00 |
|
Neil Kandalgaonkar
|
dbe4890ed6
|
Simplified transaction model, introduced isPartial for some deletes
|
2011-12-06 01:52:38 +00:00 |
|
Neil Kandalgaonkar
|
e3fc95f41a
|
Revert r104884 "no longer track selections in states. Also makes the 'combine' parameter obsolete"
This reverts git-svn commit e4e3468605c97bd5e611fdf8fc80c04e034e4eb4.
This reverts svn commit r104884
|
2011-12-06 01:52:34 +00:00 |
|
Inez Korczynski
|
a22eadee54
|
Fix toolbar for IE8 and IE9. Fix mouse button detection for IE8 and IE9.
|
2011-12-05 22:01:06 +00:00 |
|
Inez Korczynski
|
5be5d276a4
|
Removed empty lines
|
2011-12-05 20:46:53 +00:00 |
|
Trevor Parscal
|
8d5c83d87b
|
Prevent inserting unless there was an effective input, such as text being typed - this is done by checking the length of the range of the selection - if it's non-zero then there wasn't any input (because selecting text in the editor fill the input and selects it)
|
2011-12-05 20:40:35 +00:00 |
|
Inez Korczynski
|
0938f24c5b
|
Use getContentText method to get text of selection
|
2011-12-05 20:32:05 +00:00 |
|
Trevor Parscal
|
07af0cab63
|
* Moved getContent and getText from leaf nodes to document model nodes
* Renamed getContent to getContentData
* Renamed getText to getContentText
* Added getElementData
|
2011-12-05 19:41:04 +00:00 |
|
Inez Korczynski
|
78451cb00a
|
Added partial support for copying functionality
|
2011-12-03 01:30:44 +00:00 |
|
Inez Korczynski
|
1f3604a959
|
Optimization for toolbarView. Count data for all toolbars (currently two) once, and do it not more often than 50ms.
|
2011-12-02 23:01:21 +00:00 |
|
Trevor Parscal
|
ef87d55317
|
Made context icon not appear while dragging selection
|
2011-12-01 23:00:35 +00:00 |
|
Trevor Parscal
|
00d62c5ebd
|
Update context menu on scroll and resize
|
2011-12-01 22:50:55 +00:00 |
|
Trevor Parscal
|
7a5eccea44
|
Using unique event for cursor state changes - this also fixes the infinite loop that occurred when selections were made
|
2011-12-01 21:44:46 +00:00 |
|
Neil Kandalgaonkar
|
c8aa352cb0
|
misc fixes to pass jslint - catch default cases, make sure callbacks whose values are checked always return them, etc.
|
2011-12-01 19:08:32 +00:00 |
|
Neil Kandalgaonkar
|
71542b45d7
|
no longer track selections in states. Also makes the 'combine' parameter obsolete
|
2011-12-01 19:08:28 +00:00 |
|
Inez Korczynski
|
7bc84d8cf4
|
getIndexOfAnnotation is method of DocumentModel. not DocumentView
|
2011-12-01 01:10:38 +00:00 |
|
Trevor Parscal
|
f9ad5bed54
|
Pick up annotations from the character on the left of the cursor
|
2011-12-01 00:58:51 +00:00 |
|
Trevor Parscal
|
f098a24c8a
|
Moved things around - only doing insertion annotation loading when needed
|
2011-12-01 00:55:33 +00:00 |
|
Inez Korczynski
|
a5fdfffc3b
|
Seperate ClearButtonTool from AnnotationButtonTool
|
2011-12-01 00:37:17 +00:00 |
|
Trevor Parscal
|
7c7583fcd6
|
Fixed invalid symbol
|
2011-12-01 00:24:57 +00:00 |
|
Trevor Parscal
|
b3790de52d
|
Filter out insertion annotations that aren't textStyle or link
|
2011-12-01 00:21:59 +00:00 |
|
Trevor Parscal
|
18681cb758
|
Added insertion annotation functionality
|
2011-12-01 00:16:50 +00:00 |
|
Trevor Parscal
|
3a6220e922
|
Fixed selection update on resize
|
2011-11-30 23:36:44 +00:00 |
|
Trevor Parscal
|
dc575227f6
|
Fixed a typo
|
2011-11-30 23:33:07 +00:00 |
|
Trevor Parscal
|
306ebb936a
|
Made context icon update with selection updates
|
2011-11-30 23:19:56 +00:00 |
|
Trevor Parscal
|
d2d73166a8
|
Removed soft undo stuff
|
2011-11-30 22:06:19 +00:00 |
|
Trevor Parscal
|
9d34341beb
|
Added es.ContextView
|
2011-11-29 23:29:02 +00:00 |
|
Inez Korczynski
|
ffdf68c50b
|
Put $input (textarea) in the same place where cursor is (so it can follow its position nicely)
|
2011-11-29 21:32:41 +00:00 |
|
Inez Korczynski
|
dc7e601ef0
|
Make toolbar float nicely in demo and in MediaWiki sandbox special page.
|
2011-11-29 00:58:40 +00:00 |
|
Inez Korczynski
|
77486cf8f2
|
Support select all (ctrl/metakey + a) on mac
|
2011-11-28 23:54:22 +00:00 |
|
Inez Korczynski
|
6a1bd05703
|
Support for select all (ctrl+a)
|
2011-11-28 22:47:07 +00:00 |
|
Inez Korczynski
|
6e36c7c439
|
Put cursor directly in body element. This way it still can be positioned absolutly but without risk that some other element using position other than "static" (like #bodyContent) will change positioning context.
|
2011-11-28 21:58:46 +00:00 |
|
Trevor Parscal
|
111ce5ada3
|
Initial MediaWiki Integration
|
2011-11-28 20:28:28 +00:00 |
|
Trevor Parscal
|
30ede21d46
|
No need to fallback to zero, delay must be non-zero for the setTimeout to be run
|
2011-11-24 00:01:11 +00:00 |
|
Trevor Parscal
|
1b633ede21
|
Took time-buffered actions out of a timeout if delay is undefined or 0
|
2011-11-23 23:57:54 +00:00 |
|
Trevor Parscal
|
b8b3ed57e2
|
Added time-buffer to emitting updates
|
2011-11-23 23:42:41 +00:00 |
|
Trevor Parscal
|
22c70e0154
|
* Added node updates for annotation+retain transactions
* Added time-buffered updates for selection/cursor
|
2011-11-23 22:21:46 +00:00 |
|
Trevor Parscal
|
fc17703f01
|
Added combine arguments where needed
|
2011-11-23 22:00:01 +00:00 |
|
Trevor Parscal
|
ed463eb075
|
Added soft undo/redo
|
2011-11-23 00:59:57 +00:00 |
|
Trevor Parscal
|
9beda20191
|
Routed selection through the SurfaceModel
|
2011-11-23 00:36:46 +00:00 |
|
Trevor Parscal
|
20da830a26
|
Rewrite of undo/redo - now completely implemented in es.SurfaceModel
|
2011-11-22 22:59:05 +00:00 |
|
Inez Korczynski
|
1186949675
|
Fix bug in deletion: callback for traverseUpstream should get parent of current node, not of the node from which traversal started.
|
2011-11-22 20:11:23 +00:00 |
|
Inez Korczynski
|
2d8440132e
|
Fix setInterval bug in IE (in IE setInterval doesn't take 3rd parameter)
|
2011-11-22 19:59:18 +00:00 |
|
Inez Korczynski
|
b60a82c50e
|
Make toolbar float when scrolling the page
|
2011-11-22 07:17:08 +00:00 |
|
Inez Korczynski
|
0fef27aae7
|
Fix bug with selecting words
|
2011-11-22 02:23:39 +00:00 |
|
Trevor Parscal
|
56d05ce855
|
Reverted an issue in r103873 - fall through was intentional
|
2011-11-22 01:25:15 +00:00 |
|
Trevor Parscal
|
5bb01d20ef
|
Backing out history integration for now
|
2011-11-22 00:26:50 +00:00 |
|
Trevor Parscal
|
ee12891dbe
|
Added support for meta key (mac command key) for undo/redo
|
2011-11-21 23:54:57 +00:00 |
|