Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • Announcements

    • Lizzy Trickster

      Latest Stable OpenComputers Version   11/26/16

      The latest released version of OpenComputers is version 1.7.1 for MC 1.7.10, 1.10.2, 1.11.2 & 1.12.1. See more information here! Beta/Dev builds can be found at the Jenkins Build Server (ci.cil.li)

ShEdit - edit.lua, but with syntax highlighting

Recommended Posts

I decided to make an editor with syntax highlighting, just for the fun of it.

The name stands for "syntax highlighting editor", it's very unoriginal, but I'm bad at names :P

To use it, run this command on OpenOS: pastebin get ZnwyunqL /bin/shedit.lua

The color scheme was (sorta, I redid it later) copied from this paste.


  • Syntax highlighting!
  • Indent on enter
  • Line numbers
  • Jump to line
  • Hex colors are highlighted with the color they refer to (example: image.png.22be056833d7a7c6610d723fbd5a2be6.png)

And probably more in the future if I need them..



Any recommendations or comments are appreciated!

Share this post

Link to post
Share on other sites
1 minute ago, TuxMan20 said:

Like it! reminds me of Atom default scheme :D 

I'll install it and give it a go for sure!

It's just the Monokai color scheme, originally from Sublime Text.

Share this post

Link to post
Share on other sites
14 minutes ago, Slamakans said:

I guess that there's competition now... Time to polish my editor, I'll be taking inspiration from your code ;)

Good luck :P

Share this post

Link to post
Share on other sites
47 minutes ago, Slamakans said:


u've got some tabs there :o

I prefer working with tabs. Tab character support is on my to-do list, actually, it'll be implemented soon. For now, I just use Atom, an unlisted pastebin, and

pastebin run

to develop ShEdit :P 

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now