Comments (1)
Yes, definitely a problem. After playing with it a bit, I think this is because update_viewport
is often not being called when it should, so core has an inaccurate model of the viewport and thus fails to keep visible lines up to date. At the least, a call to EditView::size
should update the viewport.
As partial explanation, this probably got broken when the EditView was reimplemented as a widget for xi-win-ui, rather than directly on top of the shell. But I haven't checked the code history; it's possible it never worked correctly, though I do see efforts to update the viewport on, for example, scrolling through mousewheel and ctrl-up/down.
Thanks for looking into it!
from xi-win.
Related Issues (20)
- Figure out presentation strategy HOT 2
- Please help test smooth window resizing logic HOT 19
- additional character deleted after pressing backspace or delete HOT 1
- ETW Tracing using rusttrace crate HOT 2
- Incorrect extraction of the mouse Y coordinate for mouse move HOT 1
- Alternative solution to "fn layout needs to mut borrow several nodes"
- Development is temporarily moved
- CLA still necessary? HOT 2
- Rework xi-win to be on top of xi-win-ui HOT 9
- Logging (Core errors are ignored) HOT 1
- Build issue HOT 5
- Doesnโt handle astral plane characters
- Issues with Ctrl + C etc.
- [Question] Would a dark mode / light mode be wanted?
- problem building on Windows HOT 2
- Building in windows seems to require gcc?
- File Opening & saving seems to crash on windows 7
- Give Instruction of installation and run command in readme File
- release 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 xi-win.