When generating comments, the quest title of SMART_ACTION_KILLED_MONSTER must be placed within two quotes instead of one
Fix generating comments when the setting is turned on
Add a new context menu item to the listviewitems to generate comments for the selected script. Shortcut key is Ctrl + G
Add a notification when creating a revert query
When the checkbox to list actionlists too is checked, we no longer get rid of local changes by replacing old data. Instead we now simply add the actionlist items to the listview. Also looks slightly better! :)
Loading a script with the Show Basic Information option turned on now looks a lot better. Instead of constantly reinitializing the properties to exclude evertyime we load a script
When adding a new line, we now properly (finally) select the newly added line (no matter what order)
Get rid of some commented out lines
Enable the Create Script button even if there are already items in the listview. In addition, the user is now prompted if he's sure he wants to overwrite the current script or not
When using the Create Script button on an entryorguid that already has SAI, add an option to load the script
When attemtping to create a script on an entryorguid that does not have its AIName set properly but DOES have one or more entries in the smart_scripts table, we now also prompt the user if he'd like to load the scripts
Set the first value of `id` to 0 instead of -1 if the id is locked
If a new script is created, select the first item instead of some id; there's no point to use the `id` value as an indicator as it's always the first (and only) item in the listview
Enable the Create Script button after using it
When loading a script instantly after selecting an entry from the SearchForEntryForm and this entry turning out to not have any SAI to load, we now also prompt the user if he wants to create a new script for the given source. This depends, of course, on the setting whether or not the user wants to automatically load selected scripts on selection.
Fix an issue where columns of the tables we are touching would be replaced by @ENTRY/@GUID pre-fixes. For example if you're scripting entry 1, event_param1 would become event_param@ENTRY
Fix an issue where an exception was thrown when opening the Generate Sql option while GetSmartScriptsForEntryAndSourceType returned null on initialization
The Generate Sql button and menu item are no longer enabled by default after loading a script, even if there were no scripts returned
Don't reset the static information (entryorguid and source_type) when the last row is deleted from the listview unless 'Change Static Information' is turned on
Use the FastColoredTextBox dll in the SQL output form. Looks like this: http://i.imgur.com/LLe3bVC.png