| 09-22-2003, 06:54 PM | #31 |
Yikes!! :bgrun: I forgot to turn debugging off. When you open a file, the window title will change to the amount of milliseconds it took to load it. :bangH: Btw I'm still open for suggestions, later versions will probably be released.8)) |
| 09-22-2003, 06:54 PM | #32 |
*trying it right now* |
| 09-22-2003, 09:10 PM | #33 |
hmm, took only 10 minutes to load AMAI common.ai :) Are you sure you can't make it take just a little longer ? :D File: common.ai Format: .txt Size: 342996 bytes Lines: 9624 |
| 09-23-2003, 05:13 PM | #34 |
I did warn you not to try and open huge files. And of course I can make it take longer, before I started optimizing it was 5 minutes just to load the 655 lines ://// I will do whatever I can to optimize it, but I can't guarantee that I can. :bgrun: |
| 09-23-2003, 08:48 PM | #35 |
Your best bet is to not highlight the syntax at load time, but only highlight what is currently appearing on the screen, which is probably about 75 lines or so. |
| 09-24-2003, 05:19 PM | #36 |
Bug report! The save to Trigger Editor feature is pretty buggy. To make it work, you MUST make a slight change the trigger after you load it in or the editor won't save it. |
| 09-26-2003, 09:35 AM | #37 |
Hey, this programm is already very handy, but still needs some work to do. You should really implement multithreading! It already takes some time if you load a 100+ kb file. :bgrun: On my wishlist are two additional features: - full support for ai editing - listings of already set variables (I mean there could be a menuitem "help" where you get access to helpfiles / txt - listings, in which you see which already set values a unit variable could take, ...) And syntax highlightning would be great, but you are alredy implementing it ... Great work althrough! :D |
| 09-26-2003, 11:09 AM | #38 |
Syntax-highlighting is already implemented. I thought about adding the ability of sorting functions by their return value, and constants by their type. That would make it easier to find the ones your are looking for if you don't know the name. As for AI, I will make a tab next to constants and functions if I can make it fast enough. I will try and make it multithreaded, but I've never worked with it before, so don't get your hopes up.:knife: |
| 09-26-2003, 12:59 PM | #39 |
Sorry I mean't syntax checking 0_o (were did I forgot my head? emote_confused ) This sorting feature sounds great! I mentioned the help, because I'm still a newbie to Warcraft 3 editing, I tried around a little bit, but I never created something worthy to release. So all these unit shortcuts are still confusing, and it would be great if you could just look up which unit you want ! 8)) Don't be so worried about this multithreading thing, it couldn't be so hard, when I see what you have yet created with Delphi. I learned Pascal (even for Windows) some years, now C++ and Java, but I still couldn't create such a huge thing! :( I stay tuned for your next release ! :gsmile: |
| 09-26-2003, 01:38 PM | #40 |
After 15 minutes of research and stuff I concluded that it's not even possible to make it multithreaded. The windows components I'm using does not support it. I won't go any deeper into why that is and how it works and stuff, but it can't be done unless I start over, which I don't intend to... (yet). However, syntax checking and return type search is en route for version 1.1. BTW the "shortcuts" you are talking about, is that unit IDs you're talking about? |
| 09-26-2003, 08:21 PM | #41 |
Correction: Syntax Checking will most likely not be in version 1.1. The reason is simple. It doesn't know what functions and globals are declared. Of course if would still be able to check basic syntax but it's not worth the effort. However, it now sorts functions and constants by type and by the keywords at the same time. I will, however, attempt to fix the bug when loading/saving to the Trigger Editor. The attachment shows how easy it is to select the type to sort by. |
| 09-26-2003, 08:23 PM | #42 |
I did it again ://// Why can't you upload attachments by editing a post without one? emote_confused |
| 09-27-2003, 09:58 PM | #43 |
Good news, I managed to fix the bug when loading/saving to the Trigger Editor. Also, I found a way to optimize so it will probably run faster in 1.1 if I can make this new method work (isn't easy, but I should be able to manage it). Look out for version 1.1. ![]() |
| 10-01-2003, 07:43 PM | #44 | |
Quote:
visual C++ and a lot of patience. |
| 10-03-2003, 12:56 AM | #45 |
There's already a syntax checker out there: http://jass.sourceforge.net The source code is there too. You should talk to the other and find someway to integrate it. Less work that way. Additional features I'd like to see: -A line number and character number in the bottom right -Edit->Find -Edit->Goto Line -Until you optimize it, you should have a checkbox for whether or not you want the syntax highlighting on (if that's the feature that's slowing it down). -Being able to set what hotkey goes with what template would be useful. Trying to find a Find option I hit Ctrl+F and it made the function template :P |
