[mod] lineAt
This commit is contained in:
parent
8f2368ce7b
commit
5c759eb3f4
8 changed files with 618 additions and 37 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
<input id="iFile" type="url" value="file:///some/file.xml" />
|
||||
<button id="search">🔍</button>
|
||||
<button id="lint">⚠️</button>
|
||||
|
||||
<label for="symbols">Symbols:</label><select id="symbols" disabled="disabled"></select>
|
||||
<button id="sync">🔄</button>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -60,7 +60,7 @@
|
|||
|
||||
</optgroup>
|
||||
</select>
|
||||
|
||||
<label for="symbols">Symbols:</label><select id="symbols" disabled="disabled"></select>
|
||||
</div>
|
||||
|
||||
<div class="col flex-grow-1" style="overflow: auto;">
|
||||
|
|
|
|||
|
|
@ -36,6 +36,12 @@ document.getElementById("lint").onclick = async e => {
|
|||
//await transport.ready;
|
||||
lsp.openLintPanel(view);
|
||||
};
|
||||
|
||||
document.getElementById("sync").onclick = e => {
|
||||
client.sync();
|
||||
console.log("XXXsync");
|
||||
};
|
||||
|
||||
document.getElementById("load").onchange = e => {
|
||||
const url = e.target.value;
|
||||
if(url.length==0)return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue