u/CatalinMihaiSafta

LCARS app progress: text editor
▲ 2 r/raylib

LCARS app progress: text editor

This is the continuation in the series of LCARS app development:

This time I focused on implementing a text editor from scratch in Raylib.

This is for something like the personal log / Captain’s log use-case.

Works better in the full screen version available here

Features

  • Mouse over text area to allow editing text
  • Insert text - only at the end for now… Will work on a gab buffer or something in the future to allow moving the cursor and edit text anywhere.
  • Text selection forwards and backwards with mouse click and drag
  • Delete from the end with backspace key - holding down backspace will delete text with a delay
  • Delete selected text with backspace or delete key
  • Copy paste with Ctrl+C and Ctrl+V
  • Using the native app (not for web yet), saving text into a local DB (sqlite)
    • restarting the app, retains the saved text
  • Rotating Earth, before it was just a sphere wireframe.

These feature may seem basic (for the text editor for instance), but remember I’m implementing this from scratch in Raylib, so it’s a start…

Works best on desktop. Did not look into making it mobile friendly yet.

mihai-safta.dev
u/CatalinMihaiSafta — 10 hours ago