[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
|
@see https://codemirror.net/docs/ref/#state.Text
|
||||||
@author andy bunce
|
@author andy bunce
|
||||||
:)
|
:)
|
||||||
module namespace doci = 'urn:doci';
|
module namespace doci = 'urn:quodatum:text:doci';
|
||||||
(: default line seperator if none found in text :)
|
(: default line seperator if none found in text :)
|
||||||
declare variable $doci:default-separator:=file:line-separator();
|
declare variable $doci:default-separator:=file:line-separator();
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
(:tests for doci :)
|
(:tests for doci :)
|
||||||
module namespace test = 'test: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 :)
|
(:~ we can create record from file :)
|
||||||
|
|
@ -33,7 +33,7 @@ declare %unit:test function test:update-start() {
|
||||||
let $_:= test:expected($doci,$doc,1)
|
let $_:= test:expected($doci,$doc,1)
|
||||||
|
|
||||||
let $change:=test:def-change("*",0,0,0,0)
|
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 $_:= test:expected($doci2,"*" || $doc,1)
|
||||||
|
|
||||||
let $change2:=test:def-change("",0,0,0,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:=
|
declare variable $long:=
|
||||||
file:read-text("C:\Users\mrwhe\git\quodatum\basex-lsp\test\sample.docs\pdfbox.xqm");
|
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: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