Thanks to visit codestin.com
Credit goes to github.com

Skip to content

kristensala/slate

Repository files navigation

Slate Editor

Current state of the editor

Demo

Roadmap

  • Migrate from SDL2 to SDL3
  • Render/draw only visible lines
  • Scrolling
  • Cursor
  • Delete text
  • Status line for vim mode (NORMAL, VISUAL, INSERT)
  • Add an FPS cap
  • Open and read files (partially done; currently no ability to open a file while running the program)
  • Use command line to edit editor appearance (font, font size, colors, etc) and to open new files
  • Color code block comment (/**/)
  • Jump to line
  • Search in file
  • Copy/Paste
  • Highlight text
  • Save/Save as
  • Vim motions (a, w, b, ciw, viw, dd, gg, ^, %, etc)
  • Show current file name
  • Mouse support (maybe? Who uses a mouse?)
  • LSP support
  • Indenting (probably with LSP support?)``
  • Look into 'Gap buffer' & 'Rope (data strucutre)' to work with text, because storing text as char array is expensive

Running on Linux

  • Install SDL3 core and SDL ttf (instructions are provided by SDL under SDL repo)
    • error while loading shared libraries: libSDL3.so.0: cannot open shared object file: No such file or directory to solve it, run sudo ldconfig

Known errors/bugs

  • On linux, when using picom there might be some flickering (not sure why atm)

About

Text editor in Odin with SDL3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages