Giter Club home page Giter Club logo

Comments (6)

linde12 avatar linde12 commented on August 17, 2024 2

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.

emigr2k1 avatar emigr2k1 commented on August 17, 2024 2

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.

linde12 avatar linde12 commented on August 17, 2024

Awesome!

from kod.

sixtyfive avatar sixtyfive commented on August 17, 2024

Have you guys ever gotten this to work again? I'm still experiencing it...

from kod.

linde12 avatar linde12 commented on August 17, 2024

@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.

emigr2k1 avatar emigr2k1 commented on August 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.