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

Modified editor (Syntax highlighting and linejump)

Recommended Posts

A modified version of edit.lua that I made for personal use. It has syntax highlighting and when you open a file you can specify which line to jump to.

It has a few issues where it misses cases, but generally works quite well. The colors are easily modifiable near the top of the file.

I don't think it has any breaking bugs right now. A bit performance heavy perhaps, but that's it.

Download:

pastebin get LYy2u6HL edit.lua

link

Share this post


Link to post
Share on other sites

I wasn't really trying to mimic it, it happened to be the scheme I was using so I just nabbed most (all?) of the colors from it.
I'm rewriting it all now though, so I'm going to add it in.

Share this post


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

I wasn't really trying to mimic it, it happened to be the scheme I was using so I just nabbed most (all?) of the colors from it.
I'm rewriting it all now though, so I'm going to add it in.

If you're going to be rewriting it, my honest feedback would be I prefer the original Monokai colors, your editor looks like the colors are close enough but not quite :P 

Share this post


Link to post
Share on other sites

To be honest I actually just screenshotted my editor and colorpicked hahahahha
There's the issue with having to change the palette if you want the exact color, though.

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

×