Camillo Schenone
7db877622d
switched to more solid (but uglier) way to check for input focus.
...
Changed how to get from a sublime view to a virtual buffer by means of tags. (maybe slow)
added some syntactic sugar
Former-commit-id: 2003fe0838af7e47258c6d10d84e2142dfa3da1b
2024-02-23 17:49:26 +01:00
Camillo Schenone
11e76248c0
chore: cleaned up old comments, refactored code into separate files, used dictionaries for buffer bookkeeping internally.
...
Former-commit-id: fd646cf6dc08e29167ce048705d51c01e06fd6ae
2024-02-23 13:25:01 +01:00
Camillo Schenone
a986aa18c6
Major code refactor, to support v0.6 codemp. Should work, minor details to go through, like internal buffer mappings.
...
Former-commit-id: 3602917d52fd33e9eb77fb5a9fe9a87010e94a03
2024-02-21 23:59:49 +01:00
Camillo Schenone
2d8fb97166
Fix: Ignore cursor events for unknown buffers, print a warn
...
Former-commit-id: fb53518d4bba645283edcf349ce9eda9dc081b7d
2023-12-18 22:09:24 +01:00
Camillo Schenone
d96acdde48
fix: made the detaching of buffers on view close a sync function, to keep a reference to the window.
...
Former-commit-id: 69d58868687fb402232b97eb90de223161292ca3
2023-12-02 22:18:54 +01:00
Camillo Schenone
5741a91ce2
feat: updated how the textchange is handled python side. No longer splatted, added access to type methods.
...
Former-commit-id: 5eb0f10d187d5e9c97781c46cd8d24c919b52e04
2023-12-02 22:16:41 +01:00
Camillo Schenone
4152ad41d8
fix: detach on close works properly, fixed multicursor not showing if more than 2.
...
Former-commit-id: ad5c5b09e7c60b4a7cb371ad8f0dad32dc066fc6
2023-11-28 18:34:41 +01:00
Camillo Schenone
0c3334b827
added content binding, minor refactor.
...
Former-commit-id: dc1e3bea591646a6a7c215a83a498dc40add2a07
2023-11-24 10:36:06 +01:00
Camillo Schenone
dd5f8cdf92
added initial automatic cursor color assignment, minor code refactor, and a disconnect client command.
...
Former-commit-id: 6c4c5761b8b810be24ce8c3d1c0f9f2d8a45e1b4
2023-11-24 10:19:03 +01:00
Camillo Schenone
280d6314c9
it works, (minor touches still needed)
...
Former-commit-id: edfad18103da76426b4eb3f62174a9654e8595d8
2023-11-23 17:15:16 +01:00
Camillo Schenone
36085c0639
added buffer disconnection, sending of cursor and buffer events working, to test the receiving part
...
Former-commit-id: cf82de64bc329fca8786e3d1cf724fd816885975
2023-11-23 14:36:33 +01:00
Camillo Schenone
9a964a099b
Rearranged some code. Implemented a python buffer class to abstract the differences between buffers on the server and on the editor. Switched to a single event listener that we move around.
...
Former-commit-id: 836dfe91f89bf25fa408cc3be8ecc4e0679e10d1
2023-09-05 16:07:22 +02:00
Camillo Schenone
4005d9bd86
Finished migrating to v0.4. removed spammy debug messages.
...
Former-commit-id: e62a0f488b8e7a8ef2ba6df2f09c67da7363da4d
2023-09-04 17:08:43 +02:00
Camillo Schenone
029be23fe7
Added callback logic to buffer event. Fixed double send. Improved docs a bit.
...
Former-commit-id: cd4407bad42657f0886b59fd816e2c9f396215a9
2023-09-04 17:01:04 +02:00
Camillo Schenone
fd528237b3
completed the text change compression to send a single operation to delta. Minor refactor, added stubs for further development
...
Former-commit-id: 83d6457ac959585d459d5b9af3e948e623bb6b8d
2023-08-29 23:38:39 +02:00
Camillo Schenone
6fe5effb68
Minor fixes in the lib, finished the python objects wrappers. Started working on plugin.py.
...
Former-commit-id: 3a5e587b1ba019bb9a263478cd2e08b9b532322e
2023-08-25 14:29:11 +02:00
Camillo Schenone
1ab1ac36be
initial commit
...
Former-commit-id: fbb58155042cd05b869941cdbdd83819b7c1907e
2023-08-17 18:39:47 +02:00