mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
Merge pull request #62 from hexedtech/chore/tweaks
Some checks failed
test / build (java, macos-latest, beta) (push) Has been cancelled
test / build (luajit, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
test / build (java, macos-latest, stable) (push) Has been cancelled
test / build (java, ubuntu-latest, beta) (push) Has been cancelled
test / build (java, ubuntu-latest, stable) (push) Has been cancelled
test / build (java, windows-latest, beta) (push) Has been cancelled
test / build (java, windows-latest, stable) (push) Has been cancelled
test / build (js, macos-latest, beta) (push) Has been cancelled
test / build (js, macos-latest, stable) (push) Has been cancelled
test / build (js, ubuntu-latest, beta) (push) Has been cancelled
test / build (js, ubuntu-latest, stable) (push) Has been cancelled
test / build (js, windows-latest, beta) (push) Has been cancelled
test / build (js, windows-latest, stable) (push) Has been cancelled
test / build (lua54, macos-latest, beta) (push) Has been cancelled
test / build (lua54, macos-latest, stable) (push) Has been cancelled
test / build (lua54, ubuntu-latest, beta) (push) Has been cancelled
test / build (lua54, ubuntu-latest, stable) (push) Has been cancelled
test / build (lua54, windows-latest, beta) (push) Has been cancelled
test / build (lua54, windows-latest, stable) (push) Has been cancelled
test / build (luajit, macos-latest, beta) (push) Has been cancelled
test / build (luajit, macos-latest, stable) (push) Has been cancelled
test / build (luajit, ubuntu-latest, stable) (push) Has been cancelled
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
Some checks failed
test / build (java, macos-latest, beta) (push) Has been cancelled
test / build (luajit, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, ubuntu-latest, stable) (push) Has been cancelled
test / build (py, windows-latest, stable) (push) Has been cancelled
test / test (beta) (push) Has been cancelled
test / test (stable) (push) Has been cancelled
test / build (java, macos-latest, stable) (push) Has been cancelled
test / build (java, ubuntu-latest, beta) (push) Has been cancelled
test / build (java, ubuntu-latest, stable) (push) Has been cancelled
test / build (java, windows-latest, beta) (push) Has been cancelled
test / build (java, windows-latest, stable) (push) Has been cancelled
test / build (js, macos-latest, beta) (push) Has been cancelled
test / build (js, macos-latest, stable) (push) Has been cancelled
test / build (js, ubuntu-latest, beta) (push) Has been cancelled
test / build (js, ubuntu-latest, stable) (push) Has been cancelled
test / build (js, windows-latest, beta) (push) Has been cancelled
test / build (js, windows-latest, stable) (push) Has been cancelled
test / build (lua54, macos-latest, beta) (push) Has been cancelled
test / build (lua54, macos-latest, stable) (push) Has been cancelled
test / build (lua54, ubuntu-latest, beta) (push) Has been cancelled
test / build (lua54, ubuntu-latest, stable) (push) Has been cancelled
test / build (lua54, windows-latest, beta) (push) Has been cancelled
test / build (lua54, windows-latest, stable) (push) Has been cancelled
test / build (luajit, macos-latest, beta) (push) Has been cancelled
test / build (luajit, macos-latest, stable) (push) Has been cancelled
test / build (luajit, ubuntu-latest, stable) (push) Has been cancelled
test / build (luajit, windows-latest, beta) (push) Has been cancelled
test / build (luajit, windows-latest, stable) (push) Has been cancelled
test / build (py, macos-latest, beta) (push) Has been cancelled
test / build (py, macos-latest, stable) (push) Has been cancelled
test / build (py, ubuntu-latest, beta) (push) Has been cancelled
test / build (py, windows-latest, beta) (push) Has been cancelled
chore: lua annotations, cargo fmt
This commit is contained in:
commit
adb9c1c1d8
3 changed files with 2 additions and 9 deletions
6
dist/lua/annotations.lua
vendored
6
dist/lua/annotations.lua
vendored
|
@ -377,9 +377,6 @@ local BufferUpdate = {}
|
||||||
function TextChange:apply(other) end
|
function TextChange:apply(other) end
|
||||||
|
|
||||||
---@param change TextChange text change to broadcast
|
---@param change TextChange text change to broadcast
|
||||||
---@return NilPromise
|
|
||||||
---@async
|
|
||||||
---@nodiscard
|
|
||||||
---update buffer with a text change; note that to delete content should be empty but not span, while to insert span should be empty but not content (can insert and delete at the same time)
|
---update buffer with a text change; note that to delete content should be empty but not span, while to insert span should be empty but not content (can insert and delete at the same time)
|
||||||
function BufferController:send(change) end
|
function BufferController:send(change) end
|
||||||
|
|
||||||
|
@ -438,9 +435,6 @@ local CursorController = {}
|
||||||
---@field sel Selection selected region for this user
|
---@field sel Selection selected region for this user
|
||||||
|
|
||||||
---@param cursor Selection cursor position to broadcast
|
---@param cursor Selection cursor position to broadcast
|
||||||
---@return NilPromise
|
|
||||||
---@async
|
|
||||||
---@nodiscard
|
|
||||||
---update cursor position by sending a cursor event to server
|
---update cursor position by sending a cursor event to server
|
||||||
function CursorController:send(cursor) end
|
function CursorController:send(cursor) end
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,6 @@ impl BufferController {
|
||||||
self.ack(version);
|
self.ack(version);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Remove registered buffer callback
|
/// Remove registered buffer callback
|
||||||
#[napi(js_name = "clearCallback")]
|
#[napi(js_name = "clearCallback")]
|
||||||
pub fn js_clear_callback(&self) {
|
pub fn js_clear_callback(&self) {
|
||||||
|
|
Loading…
Reference in a new issue