Refactoring and adding a method to clamp a region.

git-svn-id: https://svn.code.sf.net/p/genoviz/code/trunk@15069 80d5a9c2-7d8c-4c9f-9369-4e03bca4d2bd
Minor refactoring in clamp to view action.

git-svn-id: https://svn.code.sf.net/p/genoviz/code/trunk@15070 80d5a9c2-7d8c-4c9f-9369-4e03bca4d2bd
Merge remote-tracking branch 'upstream'