Daniel Imms
7048f6edf7
Add some tests, fix app keypad mode bug
2016-08-04 18:34:04 -07:00
Daniel Imms
0a34885fbc
Fix line-height after rowContainer moved out of viewport
2016-08-03 18:27:43 -07:00
Daniel Imms
61201525a8
Remaining jsdoc
2016-08-03 18:27:19 -07:00
Daniel Imms
1b886a4420
Disable the scroll bar when in application keypad mode
2016-08-03 18:12:44 -07:00
Daniel Imms
6f70984ab6
Drop support for old mouse wheel APIs
...
All browsers have supported the WheelEvent (onwheel) for sometime now, since
Firefox does not support onmousewheel which is also non-standard but works with
the standard interface, it makes sense to drop support now.
2016-08-03 13:41:55 -07:00
Daniel Imms
38fa2d78da
Support DOMMouseScroll event (Firefox)
2016-08-03 13:00:07 -07:00
Daniel Imms
fe905bace5
Prevent the page from scrolling when the terminal scrolls
2016-08-03 12:49:12 -07:00
Daniel Imms
e7e1434293
Clean up, refresh sizes when font-size changes
2016-08-03 12:47:36 -07:00
Daniel Imms
363c647a5f
Sync scroll bar on more sensible events
2016-08-03 11:27:16 -07:00
Daniel Imms
aac60eb029
Add support for WheelEvent.deltaMode
2016-08-03 10:16:08 -07:00
Daniel Imms
06ca03ae9c
Get it working
2016-08-02 18:36:24 -07:00
Daniel Imms
ff927b8e79
Implement basic scroll bar
2016-08-02 16:59:50 -07:00
Daniel Imms
670b0d58c7
Add base viewport, set line height
...
Fixes #149
2016-08-02 12:42:13 -07:00
Daniel Imms
d62bd5f748
Get rid of rogue whitespace
2016-07-28 11:15:20 -07:00
Daniel Imms
e6fd1381ce
Hide textarea off-screen when not composing
...
Fixes #209
2016-07-28 11:13:24 -07:00
Daniel Imms
495b2d7fbb
Merge remote-tracking branch 'upstream/master' into 118_support_custom_keydown_handler
2016-07-22 05:12:52 -07:00
Daniel Imms
892db98c96
Correct blur/focus delegation
...
Focus and blur events on the Terminal object are delegated to the textarea
which handles everything.
2016-07-22 04:14:05 -07:00
Paris Kasidiaris
10fbf0dccc
Merge pull request #175 from Tyriar/124_add_textarea_back
...
Add textarea back and support IMEs
2016-07-22 11:50:23 +03:00
Daniel Imms
4595a18197
Tidy up blur/focus handlers
2016-07-21 10:51:43 -07:00
Daniel Imms
577a3d81e5
Use explicit boolean comparison
2016-07-21 10:32:20 -07:00
Jörg Breitbart
ec7130b46f
fixing arrow key sequences
2016-07-21 12:39:36 +02:00
Daniel Imms
0010a5a109
Explicitly return from keydown
2016-07-15 16:33:30 -07:00
Daniel Imms
9cb5b005bb
Add tests
2016-07-15 16:31:57 -07:00
Daniel Imms
06a3aa6cf8
Merge remote-tracking branch 'upstream/master' into 118_support_custom_keydown_handler
2016-07-15 16:21:06 -07:00
Daniel Imms
d4e9d34d2d
Allow custom keydown handler to be attached
...
Fixes #118
2016-07-15 16:16:37 -07:00
Daniel Imms
fedc1fd325
Fix keydown conditional
2016-07-15 10:17:29 -07:00
Daniel Imms
11d5f51e67
Merge remote-tracking branch 'upstream/master' into 124_add_textarea_back
2016-07-15 10:13:56 -07:00
Daniel Imms
534a9e7f5a
Big clean up
...
Move keydown event to CompositionHelper
Move call in refresh to be handled with an event
2016-07-13 21:50:00 -07:00
Daniel Imms
89d29bbc10
Fix non-composition char input after composition char + test
2016-07-13 21:02:43 -07:00
Daniel Imms
ac8db6e8ec
jsdoc handleAnyTextareaChanges
2016-07-13 20:52:55 -07:00
Daniel Imms
0a7c1bfd98
Position the textarea below the cursor during a composition
...
This will position any IME helper in the correct position
2016-07-13 20:46:43 -07:00
Daniel Imms
4efb8d24ac
Don't wrap multi-character compositions
2016-07-13 20:34:55 -07:00
Daniel Imms
38d08873bc
Don't finalize composition on modifier key presses
2016-07-13 20:34:43 -07:00
Daniel Imms
8074d754d3
Only position composition view if a cursor is visible
2016-07-13 20:12:49 -07:00
Daniel Imms
e1c1b07a0b
Add test cases for Korean
2016-07-13 08:37:24 -07:00
Paris
42ec3b492a
Clarify isThirdLevelShift
2016-07-13 17:53:33 +03:00
Daniel Imms
c18794f202
Merge remote-tracking branch 'upstream/master' into 124_add_textarea_back
2016-07-13 07:14:14 -07:00
Paris
0862fd1f59
Fix thirdLevelKey clause
2016-07-13 17:10:45 +03:00
Paris
3e8bb98197
Fix #169
2016-07-13 16:35:57 +03:00
Paris
11a7cd6983
Fix all leading whitespaces (eliminate tabs)
2016-07-13 13:24:53 +03:00
Paris
7d904e455d
Fix leading whitespaces (eliminate tabs)
2016-07-13 13:22:51 +03:00
Paris
c3cf6a22e9
Document all public methods
2016-07-13 13:14:02 +03:00
Paris
12a150a438
Document more public methods and transform comments to JSDoc compatible
2016-07-13 13:03:40 +03:00
Daniel Imms
8b46e84263
Use correct .terminal-cursor for composition view
2016-07-12 21:42:10 -07:00
Daniel Imms
8faea59e31
Handle non-composition input when IME is active
2016-07-12 20:51:55 -07:00
Daniel Imms
cab79c473f
jsdoc and tidy up
2016-07-12 20:26:18 -07:00
Daniel Imms
c656ed04b0
Use handler not write, fix other edge cases
2016-07-12 20:19:26 -07:00
Daniel Imms
29000fb79e
Refactor into CompositionHelper object
2016-07-12 19:14:56 -07:00
Daniel Imms
03fa017d4a
Re-hide the textarea
2016-07-12 18:49:37 -07:00
Daniel Imms
26af6ffd4d
Get IMEs working
2016-07-12 18:48:08 -07:00