Implement a much better implementation of phase highlighting with credits to @Mitch528!
Fix a couple of newly introduced issues by the phase highlighting re-implementation
Don't colorize events with phasemask 0, they are defaulted to white
Fix an issue where the AIName of the creature_template and gameobject_template would target the guid of the creature/gameobject instead of the entry
Add an item to the TODO.txt
Remove three items from the TODO.txt (whereas one of them was finished and two are things I wouldn't do anyway)
When duplicating a line of SAI, also scroll to it and select it
Only colourize the backcolor of listviewitems when the setting is turned on
Fix an exception thrown after unchecking or checking the setting to enable/disable phase highlighting, as the selection would be lost
Fix a minor logic flaw that broke generating UPDATE *_template queries to set the AIName
When generating SQL for multiple creatures and/or gameobjects, we now update the ainames inline for all creatures and gameobjects
Fix a logic flaw which made it impossible to list entries of an actionlist that is called by multiple sourcetypes. Means we now got rid of the TimedActionListOrEntries struct and replaced it by a List of the EntryOrGuidAndSourceType struct.
Generate an unique 'DELETE FROM `smart_scripts` WHERE ...' line for each source_type
Add a warning messagebox when generating SQL for a guid and this guid is not spawned in the database, meaning it therefore can't update the gameobject_template/creature_template
Add a form state check when the menu item to generate SQL is triggered (which can happen from login form using shortcut keys)
Fix an exception thrown when attempting to open the SqlOutputForm while scripting a guid
Add a lot of items to the TODO.txt
Fix an exception thrown when using the 'Test connection' button after switching from a non-DB session to a DB session but without saving the settings
Clean up some code by creating a method to get the decrypted string from the settings
Fix compile after last commit