Text Editor Program

by wdstudios_llc121
See Code Download Embed
A text editor (like VIM):

Commands:

:save [filename] — Saves a file with the specified filename to the user's disk.
:load — Opens up a file dialog window for you to pick and choose from whatever file you would like to edit into the editor.
:quit — Stops the program.
:url [urloffile] — Gets a file from the internet and loads it into the editor. (REQUIRES INTERNET CONNECTION)
:runjs — Runs the current file (in the editor) as JavaScript.
:savedb [key]  — Saves the file in the editor to localStorage with the specified key.
:loaddb [key]  — Retrieves the file from localStorage with the specified key and loads it into the editor.
:clear — Clears the editor
:putex [name] — Uploads your file to the cloud as an example.
:example [name] — Does the exact same thing as the url command.

Created October 7, 2022

Last updated November 20, 2023

Published October 21, 2022