This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Jummit's profile picture

Atom text editor clone

Started by Jummit, 05 August 2018 - 02:32 PM
Jummit #1
Posted 05 August 2018 - 04:32 PM
This is my first text editor, with syntax highlighting and a file explorer like atom has. I am not working on this anymore, so just expect unexpected updates.
Download:
pastebin get WeQgf8A7 atom
Screenshot:

WARNING:
Files you edit in this editor will be modified instantly and there is no undo! Use with caution!
How to use:
file explorer:
n: create new file
f2 or r: rename file
f: create new folder
delete: deletes a folder or file
Edited on 08 August 2018 - 08:08 PM
Sewbacca #2
Posted 08 August 2018 - 06:18 PM
The program has a quite nice design, but there are some bugs i have noticed:
  • Keywords are highlighted, even if they are a part of a word (for example: color (at the end: or))
  • Comments encapsulated in strings are highlighted (e. g. "–")
  • There is no horizontal scroll
  • you can't open a folder
  • It flickers when there are many changes per second

pastebin get WeQgf8A7

The download command is not complete: you've forgotten "atom".

Nevertheless, the idea sounds good.
Jummit #3
Posted 08 August 2018 - 10:10 PM
The program has a quite nice design, but there are some bugs i have noticed:
  • Keywords are highlighted, even if they are a part of a word (for example: color (at the end: or))
  • Comments encapsulated in strings are highlighted (e. g. "–")
  • There is no horizontal scroll
  • you can't open a folder
  • It flickers when there are many changes per second
pastebin get WeQgf8A7

The download command is not complete: you've forgotten "atom".

Nevertheless, the idea sounds good.
Thanks for the reply! Yes, horizontal scroll would be extremely helpful and actually super easy to implement, but I just don't have the inspiration to work on it, but if there where people would really use it then I would do it.