LOCRDT editeng: adapt to yrs v0.23.4 API change
Change-Id: I957cdaa770f34c48ca1283f6d0f3b89d66064f8c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186902 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ First, build yrs C FFI bindings:
|
|||||||
```
|
```
|
||||||
git clone https://github.com/y-crdt/y-crdt.git
|
git clone https://github.com/y-crdt/y-crdt.git
|
||||||
cd y-crdt
|
cd y-crdt
|
||||||
git checkout v0.23.1
|
git checkout v0.23.5
|
||||||
cargo build -p yffi
|
cargo build -p yffi
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -2770,7 +2770,7 @@ bool EditDoc::YrsWriteEECursor(YTransaction *const pTxn, Branch const& rArray,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Weak const*const pWeak{ytext_quote(yw.pText, pTxn, start, end, Y_FALSE, Y_TRUE)};
|
Weak const*const pWeak{ytext_quote(yw.pText, pTxn, &start, &end, Y_FALSE, Y_TRUE)};
|
||||||
::std::vector<YInput> positions;
|
::std::vector<YInput> positions;
|
||||||
positions.push_back(yinput_string(m_CommentId.getStr()));
|
positions.push_back(yinput_string(m_CommentId.getStr()));
|
||||||
positions.push_back(yinput_weak(pWeak));
|
positions.push_back(yinput_weak(pWeak));
|
||||||
|
|||||||
Reference in New Issue
Block a user