| 10-15-2002, 01:57 AM | #1 |
I have updated this post to refer to the Current Version. BETA .8.0.2 I got the GUI finalized to my specs. If you think something should be added please post it. It will edit .j and .ai files as default, can edit anything notepad can if wanted. It has many features and here they are. BASIC FEATURES - All the features you would expect from a normal editor, yet catered for Script editing. ie cut, copy, paste, find, replace, print, undo, etc ... PREF SAVE - This saves how your editor was setup before you exited. This is so everytime you open it you won't have to set it up how you like before you start editing. ie Main window size and position. TOOLBAR - From this you can click on the button to have it automatically insert frequently used functions. ie function, loop, GetTriggerPlayer. CUSTOM BUTTONS - Lower on the Toolbar there are buttons that you can customize by storing your own code in them. The button cpation will also change. While holding ctrl down and clicking on the button will bring up a box that allows you to enter the button cpation and code for that button. Their you go from now on it will spit out your code unless you click Button Default under the options menu which will set all custom buttons to their default. *Empty* LINE COUNTER - At the bottom of the Toolbar their is a spot to count Total lines in the file. And also most important a Spot that showes what line your cursor is on currently. This is a must for debugging errors since usually they spit out a Line # and I hate counting the lines in my head with my finger on the monitor. Not Included Yet Both of these options will be optional under the Options menu. FILE ASSOCIATION - Working on drag and drop, on icon as well as open application. This should be in the next release. COLOR CODING - At this time it is not in the Current build but here is what I will have it do. It will Color Code all important keywords I believe need to be colorized without over doing it. It will do this on load, paste, and also in real time. INTELLISENSE - At this time it is not in the Current build but here is what I will have it do. It will give you a drop down menu if you enter a certain trigger for example if you type "local " It will give you a drop down list of the variables you can use but not limited to it. These will be set within in an Editable XML file. More on that later SYNTAX CHECKER - This will check the syntax of your file. This will be big work so expect it to take awhile. HISTORY .8.0.3 Fixed some errors andded Dock and Also Tab Size .8.0.2 Fixed some errors and added Pref Save .8.0.1 Fixed some bugs and added a help file .8 First Beta Release Goto my site to get the latest Version, I it will be in the file section, if I get that up tonight maybe check back tomorrow. www.dkslayer.netfirms.com/index.htm PLUS ANYONE THAT THINKS THEY CAN GET THE PARTS, I DON'T HAVE INCLUDED YET, WORKING PLEASE PM ME AND I MIGHT LET YOU HELP ME. It's in VB If you would post the bug or error in this way it would help. I need the Name of it, how to recreate the bug, and also Version number of the Script Editor you are using. Thanks this will make my life easier. Also Feel free to post Ideas, Complaints, and Compliments here. :) |
| 10-15-2002, 02:50 PM | #2 |
Cool!! |
| 10-15-2002, 08:27 PM | #3 |
yes... very tight... wil it have color coding however? ****EDIT**** sry for the above question just read the post |
| 10-22-2002, 02:59 AM | #4 |
Thats awsome, keep up the good work! |
| 10-22-2002, 12:43 PM | #5 |
VERY NICE! LOVE IT :P With the functions as Color coding and Intellisense (same as in Visual Basic from MS i guess? ) It will rock even more ;) Anyway, i found a Bug, When you havent assigned any custom buttons, and then click on Default Custom buttons, (to reset them) it will say file not found. I guess you need to check if it exists :) Btw, is this written in C or in VB? i would guess in C but the error message that says file not found looks familiar :P (from VB) |
| 10-22-2002, 03:13 PM | #6 |
It is done in VB. For this project I couldn't find a real good reason to do in C++, Since I wouldn't require any killer processing and Personally it's quicker for me to program in VB. Thanks for responding, I will get that error tonight as the other ones I have found. I also found one that was caused whenever you move the Main window around, then when you enable the toolbar it would then either cause Tool bar to be far away or hidden by form. And also one that Allowed you to open the Custom Buttons Dialog then move to something else. Thanks again for posting. If I have time I will release a new version. This one including the Prefrence save and bug fixes. |
| 10-22-2002, 05:27 PM | #7 |
seeing as it is done with VB, and i have some experience with it, i though to post my File existing check code ;) here ya go: Code:
If Dir(App.Path & "\update.mdb", vbNormal) = "" Then The App.Path & "\update.mdb" is the path to the file that needs to be checked, and can be any kind of file :P If the Statement here is True then the file doesnt exist. (not sure if it helps ;) ) jsut my 2 cents |
| 10-22-2002, 06:01 PM | #8 |
I was just going to have it, On Error Goto End and that would fix it. Although I should probably not get use to that since It's not good programming practice. Thanks for showing the code. |
| 10-22-2002, 08:36 PM | #9 |
When I try to start your script editor (great idea BTW) an error message pops up complaining about a file named comdlg32.ocx not being registered. Are there other things I have to install before using your editor? |
| 10-22-2002, 08:43 PM | #10 |
That is not good when I get home I will get that file and add it to the zip file. Also I am kind of curious what OS you have and do you have any programming compilers installed on your computer. I know that Visual Basic Installs that .dll if you don't have it on your comp already. Nice to see you though AI Andy have seen some of your posts fomr battle.net I will get that fixed when I get home. 2hrs 45min. from now |
| 10-22-2002, 11:22 PM | #11 |
Guest | Why not just coding syntax-highlitghing for good, exisiting editors, e.G. VIM? |
| 10-23-2002, 12:32 AM | #12 |
Ummm, I don't get what you mean? What existing editor? I would need the source code, you have it? Also I am home now, working on next release and fixing said Errors. Also I am including that file comdlg.ocx . You will need to place this file in your windows \system32 directory. I will be adding the Prfrence Feature in this version. |
| 10-23-2002, 10:43 AM | #13 |
Guest | Vim is (imho) one of the best editors at the moment. It's comfortable an comes with over 200 different Syntax-Colorings. You can choose between PHP, HTML, Smarty Templates or whatever. And due to the fact that it is Open Source, it is possible to create those syntax files. Concluding: Just creating a syntax file for VIM would do the community better than creating a new editor. Anyway it is your project, and if you want to create a new editor, I should not flame you for that, due to the fact that I wouldn't even make a syntax-highlithing for JASS, because I don't know anything about that stuff. But if you're interested...check it out ;). |
| 10-23-2002, 03:21 PM | #14 |
There are two reasons, I am not going to do it in VIM. First I didn't know there was even such a thing, I don't do programming using unix, and last but not least. I know every inch of my program, therefore adding stuff to it is easy, and finding bugs likewise. VIM I am guessing would take awhile to figure out all the code that I could use with it, cause I have more features I am working on. It would take longer for me to patch. Cool thing though. I am taking friday off guys. Expect a Beta release with Color Code and limited Intellisense then. After I get a solid Script Editor Release I plan on pausing, excpet for bug fixes and finishing The Commander. |
| 10-23-2002, 03:59 PM | #15 |
I got your editor running now. It requested another file but I had it somewhere on my harddisk. I am using ME and there are no compilers installed. Your program is really nice. One thing I missed is the possibility to use SendTo or drag and drop on the exe to open a file. AFAIK you just have to open a file name given as first parameter on program startup to allow that. One bug I found is if you try to use Center Main while the program is maximized you cause a runtime error and the program terminates. |
