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


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by LoganDark

  1. I'm working on a new text editor (from scratch) that will do syntax highlighting on Lua code. I have a proper lexer all ready to go and I'm ready to start on the actual application, but I don't want to skimp on one of the best features: syntax highlighting! I'm looking for a quick and efficient way of drawing syntax highlighting, aka multicolored text. I'm not sure if there's anything more efficient than gpu.setForeground then gpu.set repeatedly, but if there is, I'd like to know! And if there isn't, I'd also like to know.
  2. LoganDark

    Efficient way of drawing syntax highlighting

    Okay, thank you! I searched everywhere for some sort of double buffering API, but couldn't find it on the forums. I'll be sure to check it out
  3. LoganDark

    ShEdit - edit.lua, but with syntax highlighting

    Thanks, I'm actually planning on recreating it from scratch soon! ;3
  4. 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 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: ) And probably more in the future if I need them.. Screenshot: Any recommendations or comments are appreciated!
  5. LoganDark

    ShEdit - edit.lua, but with syntax highlighting

    The GPU does have a tough life. Very tough life. 3/10 IGN. you would get rid of tabs? How rude! Tabs are people too, you know! /s
  6. LoganDark

    ShEdit - edit.lua, but with syntax highlighting

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

    ShEdit - edit.lua, but with syntax highlighting

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

Important Information

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