[mod] rename
This commit is contained in:
parent
d38467183c
commit
bebbf38686
3 changed files with 5 additions and 5 deletions
|
|
@ -3,7 +3,7 @@
|
|||
@see https://codemirror.net/docs/ref/#state.Text
|
||||
@author andy bunce
|
||||
:)
|
||||
module namespace doci = 'urn:doci';
|
||||
module namespace doci = 'urn:quodatum:text:doci';
|
||||
(: default line seperator if none found in text :)
|
||||
declare variable $doci:default-separator:=file:line-separator();
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
(:tests for doci :)
|
||||
module namespace test = 'test:doci';
|
||||
import module namespace doci = 'urn:doci' at "../src/doci.xqm";
|
||||
import module namespace doci = 'urn:quodatum:text:doci' at "../src/doci.xqm";
|
||||
|
||||
|
||||
(:~ we can create record from file :)
|
||||
|
|
@ -33,7 +33,7 @@ declare %unit:test function test:update-start() {
|
|||
let $_:= test:expected($doci,$doc,1)
|
||||
|
||||
let $change:=test:def-change("*",0,0,0,0)
|
||||
let $doci2:=doci:update($doci,$change)=>trace("US1")
|
||||
let $doci2:=doci:update($doci,$change)
|
||||
let $_:= test:expected($doci2,"*" || $doc,1)
|
||||
|
||||
let $change2:=test:def-change("",0,0,0,1)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import module namespace doci = 'urn:doci' at "../src/doci.xqm";
|
||||
import module namespace doci = 'urn:quodatum:text:doci' at "../src/doci.xqm";
|
||||
|
||||
declare variable $long:=
|
||||
file:read-text("C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\pdfbox.xqm");
|
||||
|
|
@ -19,4 +19,4 @@ doci:TextDocumentContentChangeEvent(
|
|||
|
||||
|
||||
doci:build($text)
|
||||
=>doci:change(local:change("*",0,0,0,0))
|
||||
=>doci:update(local:change("*",0,0,0,0))
|
||||
Loading…
Add table
Reference in a new issue