Piotr Jasiun
|
355bceba49
Removed createFromPositionAndShift, use Range.createFromPositionAndOffset instead.
|
10 years ago |
Piotr Jasiun
|
7e2cfc5d70
Tests for createFromPositionAndShift.
|
10 years ago |
Szymon Cofalik
|
e695e90c51
Position.getTransformedByMove introduced, Position.getCombined become protected method.
|
10 years ago |
Szymon Cofalik
|
b1748f2537
Tests: new and changed tests for Position.
|
10 years ago |
Szymon Cofalik
|
e894065a1c
Position.parentPath to Position.getParentPath().
|
10 years ago |
Szymon Cofalik
|
9ea00683c3
JSCS and JSHint errors.
|
10 years ago |
Szymon Cofalik
|
f6b672e468
Position.getCombined(), .getTransformedByInsertion() and .getTransformedByDeletion() introduced.
|
10 years ago |
Szymon Cofalik
|
e6cc261b3e
Position.compareWith() introduced.
|
10 years ago |
Szymon Cofalik
|
869749bb4e
Changes in Position: constructor may throw error, setter for .offset, .getParentPath() to .parentPath, introduced .clone()
|
10 years ago |
Piotrek Koszuliński
|
9dcf1d29c1
Use arrow functions.
|
10 years ago |
Piotrek Koszuliński
|
912c4c8e73
Tests: Replaced remaining var with let.
|
10 years ago |
Piotrek Koszuliński
|
b1e8aa2c25
Tests: Use const for classes.
|
10 years ago |
Piotrek Koszuliński
|
3818bea86e
Tests: Use const for modules.
|
10 years ago |
Piotr Jasiun
|
bdb481f6f1
Introduced Position.getParentPath.
|
10 years ago |
Szymon Cofalik
|
b4d0ca1716
Code style corrections for tests.
|
10 years ago |
Szymon Cofalik
|
3baccd70c8
Fixed tests for Position, PositionIterator, Range and Text.
|
10 years ago |
Piotr Jasiun
|
5e237482a1
Rename makePosition* to create*.
|
10 years ago |
Piotr Jasiun
|
ffd871bc3f
makePositionFromParentAndOffset, makePositionBefore and makePositionAfter do not need root as a parameter. Added node.root getter property.
|
10 years ago |
Piotr Jasiun
|
9c1b9fd2de
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
|
cac4f40ddf
Introduced NodeList class.
|
10 years ago |
Piotr Jasiun
|
de701d6838
Position use root + path instead of doc + path.
|
10 years ago |
Piotr Jasiun
|
7190f6f302
Use CKEditorError.
|
10 years ago |
Piotr Jasiun
|
21639c412d
Fixed broken position test.
|
10 years ago |
Piotr Jasiun
|
0507f422e0
Use path to describe position instead of node + offset. Minor changes.
|
10 years ago |
Piotr Jasiun
|
fc8227c0ab
Introduces Range and RangeIterator. Changed position from path to node and offset.
|
10 years ago |
Piotr Jasiun
|
d2115de0ed
Introduced position.
|
10 years ago |