LoganDark 8 Posted December 6, 2017 Share Posted December 6, 2017 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! rater193, AR2000AR, ZefTheFox and 4 others 7 Quote Link to post Share on other sites
TuxMan20 0 Posted December 7, 2017 Share Posted December 7, 2017 Like it! reminds me of Atom default scheme I'll install it and give it a go for sure! Quote Link to post Share on other sites
LoganDark 8 Posted December 7, 2017 Author Share Posted December 7, 2017 1 minute ago, TuxMan20 said: Like it! reminds me of Atom default scheme I'll install it and give it a go for sure! It's just the Monokai color scheme, originally from Sublime Text. Quote Link to post Share on other sites
Slamakans 1 Posted December 7, 2017 Share Posted December 7, 2017 I guess that there's competition now... Time to polish my editor, I'll be taking inspiration from your code Quote Link to post Share on other sites
LoganDark 8 Posted December 7, 2017 Author Share Posted December 7, 2017 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 Quote Link to post Share on other sites
Slamakans 1 Posted December 7, 2017 Share Posted December 7, 2017 u've got some tabs there Quote Link to post Share on other sites
LoganDark 8 Posted December 7, 2017 Author Share Posted December 7, 2017 (edited) On 12/7/2017 at 9:10 AM, Slamakans said: u've got some tabs there 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 Edited December 22, 2017 by LoganDark Probably... Quote Link to post Share on other sites
jhagrid77 4 Posted January 3, 2018 Share Posted January 3, 2018 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). Quote Link to post Share on other sites
ManIkWeet 0 Posted January 29, 2018 Share Posted January 29, 2018 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 Quote Link to post Share on other sites
LoganDark 8 Posted January 29, 2018 Author Share Posted January 29, 2018 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 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 Quote Link to post Share on other sites
rater193 1 Posted February 12, 2018 Share Posted February 12, 2018 this is sick! this is probably one of the most useful editors for oc yet! Quote Link to post Share on other sites
LoganDark 8 Posted February 12, 2018 Author Share Posted February 12, 2018 14 hours ago, rater193 said: this is sick! this is probably one of the most useful editors for oc yet! Thanks, I'm actually planning on recreating it from scratch soon! ;3 Quote Link to post Share on other sites
23Link89 0 Posted January 27, 2019 Share Posted January 27, 2019 Now all it needs is an autocomplete like Visual Studio then I can dump notepad++ for this Quote Link to post Share on other sites
LordMZTE 0 Posted January 31, 2019 Share Posted January 31, 2019 Love it! but PLEASE add auto complete it would make programming so much easier Quote Link to post Share on other sites
LoganDark 8 Posted January 31, 2019 Author Share Posted January 31, 2019 3 hours ago, LordMZTE said: Love it! but PLEASE add auto complete it would make programming so much easier I would, but I have a long list of features I'd like to add. AST generation would be nice, but first I'd like to do some other stuff. Sorry I haven't gotten around to it yet! Quote Link to post Share on other sites
EderV 0 Posted February 26, 2019 Share Posted February 26, 2019 I can't instal this editor. I put the line "pastebin get ZnwyunqL /bin/shedit.lua" but nothing happen the code shows this: Usages: pastebin put [-f] <file> pastebin get [-f] <id> <file> pastebin get [-f] <id> [<arguments>] And nothing more happen. Could you please help? thanks Quote Link to post Share on other sites
LoganDark 8 Posted February 26, 2019 Author Share Posted February 26, 2019 2 hours ago, EderV said: I can't instal this editor. I put the line "pastebin get ZnwyunqL /bin/shedit.lua" but nothing happen the code shows this: Usages: pastebin put [-f] <file> pastebin get [-f] <id> <file> pastebin get [-f] <id> [<arguments>] And nothing more happen. Could you please help? thanks That's certainly not right. It says right in the usage "pastebin get <id> <file>". Are you sure your install isn't messed up? Quote Link to post Share on other sites
EderV 0 Posted February 26, 2019 Share Posted February 26, 2019 5 minutes ago, LoganDark said: That's certainly not right. It says right in the usage "pastebin get <id> <file>". Are you sure your install isn't messed up? I don't know, I'm pretty new with this mod of Open Computer. I just copy paste this in a simple computer. Should I've done something before trying to install this? Quote Link to post Share on other sites
LoganDark 8 Posted February 26, 2019 Author Share Posted February 26, 2019 Just now, EderV said: I don't know, I'm pretty new with this mod of Open Computer. I just copy paste this in a simple computer. Should I've done something before trying to install this? Have you installed OpenOS first? Quote Link to post Share on other sites
EderV 0 Posted February 26, 2019 Share Posted February 26, 2019 I already install OS from Floppy Disc I writed "/tmp# pastebin get ZnwyunqL /bin/shedit.lua" and It has downloaded yet but now I don't know hot to create a script that includes that editor How can I create that? Quote Link to post Share on other sites
LoganDark 8 Posted February 26, 2019 Author Share Posted February 26, 2019 Just now, EderV said: I already install OS from Floppy Disc I writed "/tmp# pastebin get ZnwyunqL /bin/shedit.lua" and It has downloaded yet but now I don't know hot to create a script that includes that editor How can I create that? After running that command you should be able to just run `shedit <file>` and be brought to the editor, just like `edit`. Quote Link to post Share on other sites
EderV 0 Posted February 26, 2019 Share Posted February 26, 2019 Thankyou so much. Now it's working. Do you continue improving this "pluging" or you abandoned it? PD: Nice job with this Quote Link to post Share on other sites
LoganDark 8 Posted February 26, 2019 Author Share Posted February 26, 2019 Just now, EderV said: Thankyou so much. Now it's working. Do you continue improving this "pluging" or you abandoned it? PD: Nice job with this Unfortunately I haven't worked on it in almost 2 years. I have a future editor planned but I also have a busy schedule. I understand this is a really nice thing to have and I'd love to continue it, I just don't have the time or motivation at the moment. Feel free to use it in its current state though, or modify/improve it! Quote Link to post Share on other sites
Dev1lroot 0 Posted February 14, 2020 Share Posted February 14, 2020 Please use unicode.len and unicode.sub instead of string sub and len i found something wrong near integers after unicode string when you write: "цвет&9синий" you got on screen: "цвет& [ margin about 5 characters before int ] 9синий" but its only visual bug and sure please implement `select all` and `clear` funcs Quote Link to post Share on other sites
T0biasCZe 1 Posted August 1, 2022 Share Posted August 1, 2022 Hi how to disable Finding? On czech keyboard, [] and {} is wroten with Alt + BN and Alt FG, and with shedit it triggers search. On the normal edit, you could remove the key binding in /etc/edit.cfg matejB 1 Quote Link to post Share on other sites