Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
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

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 

Link to post
Share on other sites

Known bugs (I may update this list with new comments):

  1. Special colours (comments for ex.) will be forgotten if their corresponding character is offscreen (this was really funny the first time I found this).
  2. Tabulations are written to the screen as "HT", are not highlighted when selected, and cannot be added in.

Suggested additions:

  • A way to change the colours associated with keywords without going through the code and changing it (maybe in the config file?)
Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.