Roan Kattouw
|
cac9971299
|
Implement the replace operation for the linear model
|
2012-03-08 23:21:20 +00:00 |
|
Roan Kattouw
|
46dbb30b7a
|
Factor the batched splice code out from ve.insertIntoArray() into a
separate function
|
2012-03-08 23:21:18 +00:00 |
|
Roan Kattouw
|
93deba7b5c
|
Add replace operation
|
2012-03-08 23:21:17 +00:00 |
|
Trevor Parscal
|
becb1daa39
|
Added more tests for ve.dm.DocumentSynchronizer and fixed some bugs along the way
|
2012-03-08 19:35:51 +00:00 |
|
Alexandre Emsenhuber
|
62e8312535
|
svn:eol-style native
|
2012-03-08 12:27:02 +00:00 |
|
Trevor Parscal
|
459c4fa271
|
Added some basic tests for resize and insert. Fixed some bugs in both of those code paths along the way.
|
2012-03-08 00:52:30 +00:00 |
|
Trevor Parscal
|
de0f83643b
|
Typo in file name
|
2012-03-07 23:48:58 +00:00 |
|
christian
|
df4f017b21
|
preserve range after applying annotation
|
2012-03-07 23:35:38 +00:00 |
|
Inez Korczynski
|
ab496f7bc9
|
Get rid of showCursorAt method. And replace calls to it with calls to showCursor.
|
2012-03-07 23:33:41 +00:00 |
|
Inez Korczynski
|
8e56acbaca
|
Added getDOMNodeAndOffset and showSelection methods to Surface. Ohhh and little wrapper around it - showCursor.
|
2012-03-07 23:32:26 +00:00 |
|
christian
|
76b7127e29
|
removing usage of rangy anchornode for determining rendering scope - using model and autoRender
|
2012-03-07 21:41:53 +00:00 |
|
Inez Korczynski
|
73f53e89c6
|
Small refactoring. Changed method name, from Surface.getSelection to Surface.getSelectionRange.
|
2012-03-07 21:37:39 +00:00 |
|
christian
|
22ce25dc69
|
replacing cursor after annotating works
|
2012-03-07 21:06:07 +00:00 |
|
Trevor Parscal
|
55cf0c8ada
|
Added sketch for ve.dm.DocumentSynchronizer which is a utility object for queueing up actions to be performed on the model tree such as deletion, insertion, rebuilding, resizing and updating of node. Using this approach, we can collect actions across multiple steps, and then normalize them to avoid duplicate work and mutate the model tree in a single step.
|
2012-03-07 20:21:32 +00:00 |
|
Rob Moen
|
0520e64d97
|
port over annotation methods from ES to CE, remove unused renderDomNode method
|
2012-03-07 19:37:17 +00:00 |
|
Rob Moen
|
73fbbe29ab
|
cleanup whitespace
|
2012-03-07 19:33:00 +00:00 |
|
christian
|
816a6717a6
|
adding autoRender property to SurfaceView to enable/disable automatic rendering of view when model is updated
|
2012-03-07 08:13:12 +00:00 |
|
Trevor Parscal
|
a82ddeae51
|
Fixed some jshint complaints and enforced 100char line endings
|
2012-03-06 23:51:31 +00:00 |
|
Inez Korczynski
|
2e9ab44719
|
Update class names, from ve.es to ve.cs, and update code that uses those classes
|
2012-03-06 22:39:43 +00:00 |
|
Inez Korczynski
|
594a0e6d6c
|
Rename bunch of files from ve.es.* to ve.ce.* (and update references)
|
2012-03-06 22:35:42 +00:00 |
|
Inez Korczynski
|
8dcd638249
|
Copy files from ve/es to ve/ce and update references
|
2012-03-06 22:31:44 +00:00 |
|
Rob Moen
|
809df81282
|
enable CE demo toolbar, added annnotation and renderDomNode methods
|
2012-03-05 22:08:35 +00:00 |
|
Rob Moen
|
da5a148f9c
|
prevent insert for stand alone command key.
|
2012-03-05 17:57:54 +00:00 |
|
Rob Moen
|
714f15cef7
|
minor changes: remove whitespace and add semicolons
|
2012-03-03 00:17:15 +00:00 |
|
Inez Korczynski
|
01e84a558c
|
Improvements to changes polling mechanism
|
2012-03-02 02:07:55 +00:00 |
|
Inez Korczynski
|
90cfb62cb6
|
Added basic support for enter key
|
2012-03-02 01:35:34 +00:00 |
|
christian
|
923e9380cd
|
event binding cleanup
|
2012-03-02 01:12:18 +00:00 |
|
christian
|
3a1ee7e5b9
|
adding paste fixes to cut handler
|
2012-03-02 00:37:01 +00:00 |
|
Inez Korczynski
|
b16a1c3899
|
Fix bug in Chrome when moving cursor with left/right arrow in between <table> and textnode
|
2012-03-02 00:34:31 +00:00 |
|
christian
|
5ec5fb77e6
|
better cut-copy-paste support
|
2012-03-02 00:27:04 +00:00 |
|
Inez Korczynski
|
7de9e98583
|
Fix couple of poll interval bugs in Surface and add new parameter called 'byref' to method getAnnotationsFromOffset which makes it return array references instead of copy of arrays.
|
2012-03-02 00:10:08 +00:00 |
|
christian
|
3f1ed0be6d
|
adding cut-copy-paste
|
2012-03-01 22:27:23 +00:00 |
|
Inez Korczynski
|
8120b0b624
|
Cleanup for JSLint
|
2012-03-01 22:14:14 +00:00 |
|
Inez Korczynski
|
45cd5a11d0
|
Explicitly pass parameter global=true to getOffset method
|
2012-03-01 20:52:22 +00:00 |
|
Inez Korczynski
|
5dc284efaf
|
Added getSelection method to Surface
|
2012-03-01 20:49:21 +00:00 |
|
Inez Korczynski
|
3bb7f81714
|
Migreate text input method from playground to ce and ce demo
|
2012-03-01 01:28:39 +00:00 |
|
Sam Reed
|
fc49422e1d
|
More image compression of extensions with WMF interest
|
2012-02-29 22:02:03 +00:00 |
|
christian
|
13fe37193a
|
re-enabling native browser spellcheck
|
2012-02-28 23:43:38 +00:00 |
|
Rob Moen
|
f6f05241c7
|
fixed my typo follow up r112555
|
2012-02-28 01:37:38 +00:00 |
|
Rob Moen
|
78eedb8c74
|
cleanup previous commit. follow up r112552
|
2012-02-28 00:46:23 +00:00 |
|
Rob Moen
|
37ffc61c19
|
prototype RTL text mode cursor handling. Need to complete the unicode regular expression, and make helper methods for RTL boundary
|
2012-02-28 00:35:17 +00:00 |
|
christian
|
7053e0517c
|
prevent dragging and dropping text - can be removed later if operation supported via model
|
2012-02-27 21:56:56 +00:00 |
|
Rob Moen
|
0575db24f7
|
added a left positioning to input to properly position ime context menu
|
2012-02-27 19:44:02 +00:00 |
|
Rob Moen
|
ed35395ba2
|
fix typo which prevented readInterval from stopping onBlur
|
2012-02-24 17:41:22 +00:00 |
|
Rob Moen
|
dab0396b54
|
minor fixes: removed whitespace, added semicolon
|
2012-02-24 00:49:28 +00:00 |
|
Rob Moen
|
8cf2fe9f33
|
follow up to r112276, fixed bug which prevented word selection
|
2012-02-24 00:32:44 +00:00 |
|
Trevor Parscal
|
7baae71363
|
very minor fixes
|
2012-02-24 00:05:29 +00:00 |
|
Rob Moen
|
26ab5f7408
|
Fixed bug when moving cursor with click. Calling showCursor after input regains focus prevents browser from freakishly scrolling
|
2012-02-24 00:04:21 +00:00 |
|
Rob Moen
|
297d41bb63
|
Rework general input to no longer clear during IME. Polling interval for non keyDown text comparison. Chunked text insertion for all normal keys which makes nice transactions and clears input.
|
2012-02-23 23:20:47 +00:00 |
|
Trevor Parscal
|
7366a22046
|
Added support for respecting new lines in pre-formatted blocks - using Shift+Enter will show this in action!
|
2012-02-23 01:18:01 +00:00 |
|