Maciej Gołaszewski
|
5eb77f6ca4
Fix dangling comma.
|
5 jaren geleden |
Kamil Piechaczek
|
344ec71488
Internal: Bumped the year. [skip ci]
|
6 jaren geleden |
Aleksander Nowodzinski
|
07f6ab7da9
Passed a Locale instance to the bindTwoStepCaretToAttribute() helper instead of a static content direction info.
|
6 jaren geleden |
Aleksander Nowodzinski
|
7421c0cea5
Changed the bindTwoStepCaretToAttribute() util arguments syntax. Code refactoring.
|
6 jaren geleden |
Aleksander Nowodzinski
|
3ed367a3c0
Tests: Removed obsolete describe.only from bindTwoStepCaretToAttribute() tests.
|
6 jaren geleden |
Aleksander Nowodzinski
|
fdab118fe2
Brought support for RTL content in the bindTwoStepCaretToAttribute() helper.
|
6 jaren geleden |
Kamil Piechaczek
|
35aba7b0d6
Internal: Updated the license header. See ckeditor/ckeditor5#1557. [skip ci]
|
6 jaren geleden |
Kamil Piechaczek
|
c7953fd655
Internal: Bumped the year. [skip ci]
|
6 jaren geleden |
Maciej Gołaszewski
|
5d740cc631
Align code to the changes in upcast conversion API.
|
7 jaren geleden |
Maciej Gołaszewski
|
4d500ac4d4
Changed: Make factory methods of model Position protected.
|
7 jaren geleden |
Aleksander Nowodzinski
|
58fe0f8a2b
Fix: The two-step caret movement could handle the single-character-attribute-preceded-by-some-text-at-the-end-of-the-block-case.
|
7 jaren geleden |
Aleksander Nowodzinski
|
1824a8d512
Fix: Jumping over the filler should not be hindered by the two-step caret movement.
|
7 jaren geleden |
Aleksander Nowodzinski
|
b33423b831
Fix: Pressing arrow left/right at the start/end of the block which is the boundary of an attribute should engage the two-step caret movement.
|
7 jaren geleden |
Aleksander Nowodzinski
|
83212eac0f
Fix: Any further view.document#keydown event listeners should not be called if the two-step called movement engages.
|
7 jaren geleden |
Aleksander Nowodzinski
|
94d09a0700
Fix: The bindTwoStepCaretToAttribute helper should listen to keydown with the highest priority.
|
7 jaren geleden |
Aleksander Nowodzinski
|
1b4200c79e
Fix: The filler logic in the renderer should not interfere the 2-step caret movement.
|
7 jaren geleden |
Aleksander Nowodzinski
|
bdfa2dec1a
Tests: Added an additional tests case.
|
7 jaren geleden |
Aleksander Nowodzinski
|
b1e7c21a72
Tests: Added an additional test case.
|
7 jaren geleden |
Aleksander Nowodzinski
|
f39cb43484
Tests: Added tests to verify 2-SCM with multiple attributes.
|
7 jaren geleden |
Aleksander Nowodzinski
|
9580ebb7da
Tests: Added a test to verify 2-SCM acts properly when facing external changes.
|
7 jaren geleden |
Aleksander Nowodzinski
|
9429a42838
Fix: The two step caret movement should not engage when approaching unrelated attributes inside the main attribute.
|
7 jaren geleden |
Aleksander Nowodzinski
|
e302ecde5b
Tests: Refactoring in bindTwoStepCaretToAttribute tests.
|
7 jaren geleden |
Oskar Wróbel
|
67e0f8d786
Prevented from two-steps movement when alt or ctrl key is pressed.
|
7 jaren geleden |
Oskar Wróbel
|
76d13cc63a
Disabled two-steps movement when shift key is pressed.
|
7 jaren geleden |
Oskar Wróbel
|
cbf2530442
Improved checking if caret sticks attribute element bounds.
|
7 jaren geleden |
Oskar Wróbel
|
145288ffa1
Aligned two-steps caret movement helper to new engine/view API.
|
7 jaren geleden |
Oskar Wróbel
|
307ef6eff0
Refactored `bindTwoStepCaretToAttribute()` while moving left.
|
7 jaren geleden |
Oskar Wróbel
|
a1ca7d8958
Fixed invalid import paths.
|
7 jaren geleden |
Oskar Wróbel
|
59acd7f202
Tests: Improved code coverage.
|
7 jaren geleden |
Oskar Wróbel
|
e6a0c0212d
Introduced `bindTwoStepCaretToAttribute()` util.
|
7 jaren geleden |