Siegfried88 3 Posted August 4, 2013 Report Share Posted August 4, 2013 Hey everyone, Been trying to see if there is a simplified way to edit/update Ubot code for some time now in its text version. Personally, I find this is useful to ensure that I don't miss a single instance of any updates I have (e.g. turning a list into a table, etc.). I have found the following links, but wanted to see if anyone else had a better solution. While I have found that the Ubot editor in general helps by color coding and displaying text code, it does not allow for advanced functions like 1) hi-light all instances of a found search term, 2) replace all instances of a text, 3) folding of code, etc. I know most here have there own preferred text editor, but was trying to set up a defined language for Notepad++ that would allow for this. Problem is, I haven't really had a lot of time to set it up. I just wondered if anyone else had any interest in this arena and if so, would they be willing to help out. Better yet, if anyone already has a defined Ubot language file, I'd really appreciate it! I am leaving links to what I have found so far below... SourceForge (Pre-Defined Languages): http://sourceforge.net/apps/mediawiki/notepad-plus/?title=User_Defined_Language_FilesSourceForge (Defining Languages): http://sourceforge.net/apps/mediawiki/notepad-plus/index.php?title=User_Defined_LanguagesTutorial on how to define your own language: http://udl20.weebly.com/folding-in-code.html Quote Link to post Share on other sites
Marton 48 Posted August 4, 2013 Report Share Posted August 4, 2013 Really good idea! Or maybe Ubot 5 will have a better editor Quote Link to post Share on other sites
UBotDev 276 Posted August 4, 2013 Report Share Posted August 4, 2013 I was also thinking to do that, since I regularly use Notepad++ when I work with UBot, but I didn't find time for it. However, as Urban mentioned, we might wait for v5 too see if features like search and replace will be available in code view...the problem is that if you use image recognition you need to take care what you copy to Notepad++, since images from code view won't get copied. If this won't be available I'm willing to help with this project. Quote Link to post Share on other sites
Siegfried88 3 Posted August 5, 2013 Author Report Share Posted August 5, 2013 Got some work done This is WOEFULLY underdone. So a few things... 1) I am colorblind, so either deal with it or format it to your taste 2) Comments that span multiple lines are not recognized. It has something to do with the settings in "Folder & Default" I think. If not there, then probably "Operators & Deliminators"3) I had issues with having keywords show up when next to "(". For instance, "set" was easy to spot, but not "set table cell(" since it was next to an "(". I was able to fix this by specifying a "Folding in comment style" under the "Folder & Default" tab. I suspect it may also be doable from the "Operators & Deliminators" tab as well, but am not certain4) Numbers are not showing up in a different color. I cannot figure out how to set them to grey or something similar5) Other default operations beyond the basics I use are not specified, so you'll have to enter them in under "Keywords List", separated by spaces and "s6) I have not created a "Keyword List" for Ubot Functions in a different color.7) I have delineated between keywords that are folding (i.e. loop, loop while, and define) to help them stand out more. If you think of others, just let me know. Let me know what you think. You'll have to import under "Language">"Define your Language" from within Ubot. Grab the attached file, import, and see what you think. I'd appreciate any feedback on how to either improve some of the above comments. That or feel fee to export on your own and re-upload. UBOT 4 - Notepad++ CODE View.xml 2 Quote Link to post Share on other sites
the_way 52 Posted August 19, 2013 Report Share Posted August 19, 2013 thats great thanks for your effort with this, as i much prefer notepad++ over anything. (including sex outdoors) Quote Link to post Share on other sites
Siegfried88 3 Posted August 26, 2013 Author Report Share Posted August 26, 2013 Hopefully the new 5.0 will have a more user friendly interface. In the meantime, we have this. Quote Link to post Share on other sites
Sirfrank 17 Posted August 26, 2013 Report Share Posted August 26, 2013 thanks bud! Quote Link to post Share on other sites
Pete_UK 9 Posted September 2, 2014 Report Share Posted September 2, 2014 (edited) Sharing my language file. Not perfect but something you can add to.ubot Edited September 2, 2014 by Pete_UK Quote Link to post Share on other sites
HelloInsomnia 1103 Posted September 2, 2014 Report Share Posted September 2, 2014 Nice!This will work hand-in-hand with my Ubot to TXT converter (just right click and select open in notepad ) http://www.ubotstudio.com/forum/index.php?/topic/16137-free-ubot-to-txt-converter/ 1 Quote Link to post Share on other sites
arunner26 51 Posted September 3, 2014 Report Share Posted September 3, 2014 Thanks for all the downloads! Quote Link to post Share on other sites
CTSchmidt 1 Posted September 12, 2014 Report Share Posted September 12, 2014 awesome! thanks for this thread and especially for Pete_UK the cool txt. You saved me a lot of time Quote Link to post Share on other sites
Pete_UK 9 Posted September 12, 2014 Report Share Posted September 12, 2014 Here is an updated file. ubot.txt Quote Link to post Share on other sites
UBotBuddy 331 Posted September 12, 2014 Report Share Posted September 12, 2014 I actually use Note Tab Pro. In one file alone I can have many sub-text areas much like a library. More flexible that Notetab++ but it does cost a few bucks. Buddy Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted June 28, 2017 Report Share Posted June 28, 2017 Anyone have the same thing for sublime text editor? Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.