![]() |
|
[C#] ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [C#] ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 (/showthread.php?tid=5991114) |
ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Skofos - Jul 18, 2019 so you know im so bored so i make this tool. just for fun right. basically why i made this? cuz this section so quite if you're Batch Script coder please use this and i will be happy for this :D this project was uploaded on GitHub so take it easy Spoiler (Click to View) Here the Source Code Here The Release Version Donate me BTC if you're rich: 3GBbVr59Z6FG31DJMymqN6WZVs82YDAEx7 Attention Required! | Cloudflare Credits: SharpDevelop - Text Editor RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - gigajew - Jul 18, 2019 You should add some syntax highlighting to it RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Skofos - Jul 18, 2019 (Jul 18, 2019 08:53 PM)gigajew Wrote: You should add some syntax highlighting to it yea i was thinking to add syntax highlighting but idk how to code it lol RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - DNA - Jul 23, 2019 (Jul 18, 2019 09:08 PM)Skofos Wrote: yea i was thinking to add syntax highlighting but idk how to code it lol You can do this by using String.Contains and/or parsing in a constant loop RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Skofos - Jul 25, 2019 (Jul 23, 2019 09:54 PM)Jelly Wrote: You can do this by using String.Contains and/or parsing in a constant loop k maybe next time ill update this shit code editor XD RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - DNA - Jul 25, 2019 (Jul 25, 2019 08:11 PM)Skofos Wrote: k maybe next time ill update this shit code editor XD I'm gonna check it out after I finish my universal bot, looks good dude RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Skofos - Jul 25, 2019 (Jul 25, 2019 08:26 PM)Jelly Wrote: I'm gonna check it out after I finish my universal bot, looks good dude nice to see another programmer in this forum 🤗 RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - DNA - Jul 25, 2019 (Jul 25, 2019 09:15 PM)Skofos Wrote: nice to see another programmer in this forum 🤗 The more the merrier, we all have knowledge of things that others may not. As my signature says aha RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Fhack - Jul 25, 2019 (Jul 18, 2019 09:08 PM)Skofos Wrote: yea i was thinking to add syntax highlighting but idk how to code it lol Just use scintilla.net lib it's open source ! RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Skofos - Jul 26, 2019 (Jul 25, 2019 09:38 PM)Jelly Wrote: The more the merrier, we all have knowledge of things that others may not. lol, nice words (Jul 25, 2019 11:12 PM)Fhack Wrote: Just use scintilla.net lib it's open source ! thank you for sharing this lib. but i have no time to update it XD RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - X-Warz - Aug 4, 2019 nice project that you made! keep it up RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - Skofos - Aug 8, 2019 (Aug 4, 2019 01:05 AM)X-Warz Wrote: nice project that you made! keep it up thank you man RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - 0xDEAD10CC - Aug 10, 2019 (Jul 23, 2019 09:54 PM)Jelly Wrote: You can do this by using String.Contains and/or parsing in a constant loop This would be the naive way to do it. Language syntax is much more than just word parsing. Context plays a role in the highlighting as well, so this task is usually done by lexical parsing/analysis. You might also want to consider Regex if you're not willing to do all of that manually; this may solve basic language syntax highlighting problems as a minimum viable product approach. RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - DNA - Aug 10, 2019 (Aug 10, 2019 03:49 PM)0xDEAD10CC Wrote: This would be the naive way to do it. Language syntax is much more than just word parsing. Context plays a role in the highlighting as well, so this task is usually done by lexical parsing/analysis. You might also want to consider Regex if you're not willing to do all of that manually; this may solve basic language syntax highlighting problems as a minimum viable product approach. Regex is probably slow and inefficient in this case and I was only mentioning Contains and Parsing in order to pick out particulars, i.e variables and other expressions being highlighted differently RE: ReterBatch Editor | A Batch Windows Script Text Editor | C# | 0.1 - 0xDEAD10CC - Aug 10, 2019 (Aug 10, 2019 05:30 PM)Jelly Wrote: Regex is probably slow and inefficient in this case and I was only mentioning Contains and Parsing in order to pick out particulars, i.e variables and other expressions being highlighted differently Slow by what measure? Who writes Mb's worth of batch scripting? It'll be far more versatile than what you've suggested. Additionally SublimeText uses Regex for their language definitions for the syntax highlighting. Contains() also won't be based on word boundaries, meaning it will catch keywords within other text which is probably not what you want, so Regex is already a more appropriate suggestion. Your suggestion was flawed from the start. The only real way to achieve this though is through lexical analysis. |