lxndio / rydl Goto Github PK
View Code? Open in Web Editor NEWA lua scriptable editor written in Rust.
A lua scriptable editor written in Rust.
At the moment, strange things happen when lines don't fit on the screen.
It needs to be implemented in the buffer drawer (and probably elsewhere) that lines which are to wide for the screen are broken at the end of the first line and continued in the next line (and so on) which a line number only being drawn at the first actual line on screen of the line in buffer.
In the draw_line_numbers()
function in drawer.rs
the line number column width is set kind of responsively at the moment but just for line numbers with up to three digits in length which needs to be fixed for arbitrarily long line numbers.
Correlates with #4.
See the TODO comments
// TODO make + 4 variable depending on the length of the line numbers
in editor.rs
etc.
Currently, the width of the line number column is hard coded as 4 which needs to be responsively adjusted corresponding to the actual width of that column.
Correlates with #5.
Sometimes, the line numbers are flickering when scrolling up or down quickly.
If you enter chars with a visual width different than that of one normal char, the cursor does not move correctly.
This happens, for example, when entering tabs, which are inserted into the buffer correctly but the cursor is only moved one char to the right.
When typing a special char (e.g. äöüß), rydl crashes when typing another character.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.