diff --git a/pkg/document/crdt/text.go b/pkg/document/crdt/text.go index 24d7171e0..a5fd4702a 100644 --- a/pkg/document/crdt/text.go +++ b/pkg/document/crdt/text.go @@ -224,7 +224,11 @@ func (t *Text) CreatePosRange(from, to int) (*RGATreeSplitNodePos, *RGATreeSplit } // CreateBoundaryRange returns a pair of RGATreeSplitNodeBoundary of the given pos. -func (t *Text) CreateBoundaryRange(from, to *RGATreeSplitNodePos, editedAt *time.Ticket) (*RGATreeSplitNodeBoundary, *RGATreeSplitNodeBoundary, error) { +func (t *Text) CreateBoundaryRange( + from, + to *RGATreeSplitNodePos, + editedAt *time.Ticket, +) (*RGATreeSplitNodeBoundary, *RGATreeSplitNodeBoundary, error) { _, fromRight, err := t.rgaTreeSplit.findNodeWithSplit(from, editedAt) if err != nil { return nil, nil, err