* merged tzach's changes from defunct 3.2.1 branch
* fixed crash clicking in margin of dialog editor
* changed version number to 3.2.2 beta

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@42 198b9858-5f2a-7c4e-a477-5b45ff739df7
* Fixed RGB colour picker not working in 256-col games with colour numbers > 32

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@43 198b9858-5f2a-7c4e-a477-5b45ff739df7
1. Objects, characters and edges can now be moved with the arrows in the room editor.
2. Fix for:
When moving an object after zooming in and out, the floating co-ordinates no longer appear next to the object.

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@46 198b9858-5f2a-7c4e-a477-5b45ff739df7
Modified the built-in SourceControlProvider class to allow the default provider used by AGS to be replaced via a plugin without having to change the default provider in the OS. You can now use the ISourceControlProvider interface to define your own provider via a plugin. -monkey_05_06

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@64 198b9858-5f2a-7c4e-a477-5b45ff739df7
This file wasn't committed when I committed my previous changes. Sorry about that! -monkey_05_06

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@65 198b9858-5f2a-7c4e-a477-5b45ff739df7
Fixed issue with SourceControlFileStatus.Invalid acting as a valid non-controlled file status, and corrected RequiredAGSVersion for IAGSEditor.SourceControlProvider.

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@66 198b9858-5f2a-7c4e-a477-5b45ff739df7
For some reason the ISourceControlProvider.cs is apparently missing from the SVN again. This isn't actually a modified version but I had to change it to make TortoiseSVN commit the file. I will revert the change (comment) and recommit.

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@67 198b9858-5f2a-7c4e-a477-5b45ff739df7
git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@68 198b9858-5f2a-7c4e-a477-5b45ff739df7
This should recommit the file that went missing (ISourceControlProvider.cs), but I'm not even sure when it went missing.

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@69 198b9858-5f2a-7c4e-a477-5b45ff739df7
- Integrated Docking Panel Suite: http://sourceforge.net/projects/dockpanelsuite/
  This required:
  * New icons for new "minimized" layouts: provided by the wonderful AGS forum member cat.
  * New windows menu, that enables controlling all the windows (view/hide)
  * New Layout.xml file that saves the chosen layout when closing the application, and loaded when
    application is started, this does not include saving the documents layout for specific projects.
  Points of interest:
  * Still, only one room can be loaded at all times. This means that when opening a new room, we want to
    open it in the same docking state as the previous room, this is why DockData class was added, in order
    to hold this information.
  * Up until now, a window was only closed from it's tab, which didn't really close it, it would only hide
    it. However, after these changes, a room can be also closed when it's in a 'floating' state, this
    actually closes and disposes the form, which means all the components needed to have the ability to
    recreate disposed forms.
  * All panels were UserControls up until now, they have been changed to be forms that inherit from
    DockContent in order to integrate with the suite. Also, the "properties" and "project" panels, were
    extracted to their own forms, in order for them to be independent dockable panes.
  * TabbedDocumentContainer which was previously a user control holding the tabs, was no longer needed as
    a control, since this was already being looked out for by the Docking Panel Suite. It was replaced by
    TabbedDocumentManager that kept the tab management logic without the presentation.
  * Added two new classes, WindowsLayoutManager that controls saving & loading the layout, and
    WindowsMenuManager that controls the new menu.
  * Since now we can have several forms in the application, if the user focuses on one form and presses on
    the main menu or tool strip he would have to press twice, because by default c# 'eats' the event just
    to activate the form. For this reason, two new classes was added, 'ToolStripExtended' and
    'MenuStripExtended' that change the default behaviour.
    More info here:
    http://blogs.msdn.com/b/rickbrew/archive/2006/01/09/511003.aspx
  * The 'keep project on right side' setting has been made obsolete and removed from GUI.
  * Known issue: When a document is in a 'floating' state, it apparently does not receive 'Key down/up'
    events, and so not all shortcuts are working (though some surprisingly do, though not by our code).

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@70 198b9858-5f2a-7c4e-a477-5b45ff739df7
Fix compilation

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@71 198b9858-5f2a-7c4e-a477-5b45ff739df7
Fixed the following bugs that arisen due to the new layout functionality:

* Add inventory item --> rename --> tab name remains unchanged
* Enter a new object in room --> Change image by number and switch property --> Image is not refreshed
* In cursors --> Change image for cursor --> does not update
* In Gui --> Change label text --> not refreshes
* Move a room in different dockings --> The place of the scrollbar in the document is not saved
* Also 2 crashes that I couldn't reproduce, that were due to scintilla control being already disposed, added validations.

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@72 198b9858-5f2a-7c4e-a477-5b45ff739df7
Fix bug: Find results did not go to the specific line when clicking on one of the found symbols
Fix bug: Bottom panels were not always shown/hidden correctly
New Feature: Find All Usages for global variables

git-svn-id: https://svn.bigbluecup.com:7743/svn/ags/branches/dev/3.2.2@73 198b9858-5f2a-7c4e-a477-5b45ff739df7
Merge branch 'dev/3.2.2' into psp
Merge branch 'main' into refact_preBase