Piotr Jasiun
|
cbec15cc09
Removed createFromPositionAndShift, use Range.createFromPositionAndOffset instead.
|
10 years ago |
Piotr Jasiun
|
3c09e6fac7
Tests for createFromPositionAndShift.
|
10 years ago |
Szymon Cofalik
|
b302bab944
Position.getTransformedByMove introduced, Position.getCombined become protected method.
|
10 years ago |
Szymon Cofalik
|
afb71297ef
Tests: new and changed tests for Position.
|
10 years ago |
Szymon Cofalik
|
0dae255cfa
Position.parentPath to Position.getParentPath().
|
10 years ago |
Szymon Cofalik
|
b50a72b50c
JSCS and JSHint errors.
|
10 years ago |
Szymon Cofalik
|
dedf77e561
Position.getCombined(), .getTransformedByInsertion() and .getTransformedByDeletion() introduced.
|
10 years ago |
Szymon Cofalik
|
9ac4296aa7
Position.compareWith() introduced.
|
10 years ago |
Szymon Cofalik
|
59fa1fe849
Changes in Position: constructor may throw error, setter for .offset, .getParentPath() to .parentPath, introduced .clone()
|
10 years ago |
Piotrek Koszuliński
|
5ecd6d8705
Use arrow functions.
|
10 years ago |
Piotrek Koszuliński
|
29abb5eac9
Tests: Replaced remaining var with let.
|
10 years ago |
Piotrek Koszuliński
|
0cb38cff40
Tests: Use const for classes.
|
10 years ago |
Piotrek Koszuliński
|
9a84a27b6a
Tests: Use const for modules.
|
10 years ago |
Piotr Jasiun
|
8f7170af41
Introduced Position.getParentPath.
|
10 years ago |
Szymon Cofalik
|
f901920eb9
Code style corrections for tests.
|
10 years ago |
Szymon Cofalik
|
ecbe34b609
Fixed tests for Position, PositionIterator, Range and Text.
|
10 years ago |
Piotr Jasiun
|
4bcfbebec3
Rename makePosition* to create*.
|
10 years ago |
Piotr Jasiun
|
6ee121fe42
makePositionFromParentAndOffset, makePositionBefore and makePositionAfter do not need root as a parameter. Added node.root getter property.
|
10 years ago |
Piotr Jasiun
|
3e96198449
Removed nodeList.push. Introduced element.insertChildren. Element can be created with children. Parent is added automatically when node is inserted.
|
10 years ago |
Piotr Jasiun
|
4a04fe28de
Introduced NodeList class.
|
10 years ago |
Piotr Jasiun
|
6318ccdd8d
Position use root + path instead of doc + path.
|
10 years ago |
Piotr Jasiun
|
ed86d8d9f4
Use CKEditorError.
|
10 years ago |
Piotr Jasiun
|
6a536f4d91
Fixed broken position test.
|
10 years ago |
Piotr Jasiun
|
64139d67fe
Use path to describe position instead of node + offset. Minor changes.
|
10 years ago |
Piotr Jasiun
|
f31254456d
Introduces Range and RangeIterator. Changed position from path to node and offset.
|
10 years ago |
Piotr Jasiun
|
17667b5f07
Introduced position.
|
10 years ago |