rename to ListCursor

This commit is contained in:
Kevin Jahns
2022-07-19 14:49:46 +02:00
parent efcfe4b483
commit a3b97d941b
6 changed files with 23 additions and 23 deletions

View File

@@ -14,7 +14,7 @@ import {
typeListSlice,
useSearchMarker,
UpdateDecoderV1, UpdateDecoderV2, UpdateEncoderV1, UpdateEncoderV2, Doc, ContentType, Transaction, Item, YXmlText, YXmlHook, Snapshot, // eslint-disable-line
ListWalker
ListCursor
} from '../internals.js'
import * as error from 'lib0/error'
@@ -254,7 +254,7 @@ export class YXmlFragment extends AbstractType {
*/
toString () {
if (this.doc != null) {
return transact(this.doc, tr => new ListWalker(this).map(tr, xml => xml.toString()).join(''))
return transact(this.doc, tr => new ListCursor(this).map(tr, xml => xml.toString()).join(''))
}
return ''
}