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)
LoganDark

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.

Features:

  • 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..

Screenshot:

f7041247ca.png

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
On 12/7/2017 at 9:10 AM, Slamakans said:

7j0Qqtx.png 

u've got some tabs there :o

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

pastebin run

to develop ShEdit :P 

Edited by LoganDark
Probably...

Share this post


Link to post
Share on other sites

Honestly, I haven't seen too many programs like this for OpenComputers. It seems really cool.The funny part is, for any Linux users your program could also mean Shell Editor (just a fun tip).

Share this post


Link to post
Share on other sites

This is pretty amazing!

Surely all the colors mean the GPU has a tough life, but this is 200% better than the default editor :)

I actually like it showing tabs as special characters, allows me to manually get rid of them :D

Share this post


Link to post
Share on other sites
3 hours ago, ManIkWeet said:

This is pretty amazing!

Surely all the colors mean the GPU has a tough life, but this is 200% better than the default editor :)

I actually like it showing tabs as special characters, allows me to manually get rid of them :D

The GPU does have a tough life. Very tough life. 3/10 IGN.

:o you would get rid of tabs? How rude! Tabs are people too, you know! /s

Share this post


Link to post
Share on other sites
14 hours ago, rater193 said:

this is sick! this is probably one of the most useful editors for oc yet! :D

Thanks, I'm actually planning on recreating it from scratch soon! ;3

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

×