Comments (6)
Hey, great! I just noticed this myself as well and i'm guessing that xi has changed the protocol a bit since it was implemented in kod. That's the reason why it works in the screenshot.
Would be awesome if you wanted to take a peek at it @emigr2k1 ! 😄
from kod.
Checking the log, it looks like Kod is not handling the method "scroll_to" which was an op of "update" before.
I'll send a PR tomorrow if I can :)
from kod.
Awesome!
from kod.
Have you guys ever gotten this to work again? I'm still experiencing it...
from kod.
@sixtyfive Not yet, but @emigr2k1 has figured out the root cause. It worked in the past but xi-editor is under development and API changes from time to time so kod doesn't handle it correctly with the latest version of xi-core.
from kod.
How should the scroll be handled?
Do you have any idea on how to do this?
Should we simulate scrolling just replacing the lines in the viewport or render all the lines and actually scroll the viewport (I don't know if that'a possible)?
I have an almost working version of scrolling just rendering the lines in the viewport but I'm having problems when there's an update of invalidBefore in linecache, I could do a hack to fix it but it would look dirty.
from kod.
Related Issues (20)
- Closing with Ctrl+Q makes the terminal glitch HOT 5
- feat: user configs HOT 2
- Editor crashes when a file is saved and cursor is not in viewport HOT 5
- Doesn't build as per the README's instructions HOT 2
- Right-to-left languages seem to be unhandled HOT 4
- Need some sort of file handling interface HOT 1
- update kod to set config_dir in order to load syntect HOT 1
- support writing golang in it? HOT 3
- Add license
- Separate default keybinds per platform HOT 2
- Cannot do go build HOT 2
- Line numbers should start on 1 not on 0
- Some runes use more than 8bytes and is rendered with a space after HOT 6
- Keybindings HOT 1
- Change to bufio.NewReader(c.rw) instead of bufio.NewScanner(c.rw) in connection.go
- bump tcell to v1.1.0 HOT 1
- Only partial text gets pasted HOT 1
- stupid question HOT 1
- still being maintained/worked on? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kod.