Giter Site home page Giter Site logo

goncharov's Introduction

Goncharov

What is it?

Goncharov is a Rust-based, cross-platform, CLI text editor. It is still in pre-alpha status as it is missing a few key features, such as being able to load a file, save a file, or use the backspace key...

How to run it?

  1. Clone this github repo
  2. cd into the new directory
  3. Execute cargo run

Open Tasks

  • Add code to increment/decrement line_offset in the EditorState updater
  • Figure out the right interactions between cursor_state.y and line_offset, then make all their appearances in the code consistent
  • Need to clean up update_editor_state, make it more consistent in using editor_state.display_buffer or similar if possible

Roadmap

Already Implemented

  1. Implementing the piece table data structure to allow for efficiently tracking insertions and deletions on large documents, with infinite undo and redo potential at zero cost
  2. Displaying typed text
  3. Inserting text into arbitrary positions
  4. Breaking the editor state out into a struct for better debugging
  5. Left cursor movement
  6. Right cursor movement
  7. Up cursor movement
  8. Down cursor movement

Upcoming features

  1. Pagination
  2. Loading files
  3. Saving files
  4. Deleting text
  5. Find-replace functionality
  6. CLI arguments
  7. LSP support, potentially
  8. Scripting support

goncharov's People

Contributors

bsinglet avatar

Watchers

 avatar  avatar

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.