Updated for 1.2.0.4

This commit is contained in:
Gerald Schmidt 2009-01-17 23:04:22 +00:00
parent 0d77b3b0c7
commit 3b87da43c5
2 changed files with 3 additions and 1 deletions

View File

@ -41,5 +41,5 @@
"License along with this program; if not, write to the Free\n"\ "License along with this program; if not, write to the Free\n"\
"Software Foundation, Inc., 59 Temple Place, Suite 330,\n"\ "Software Foundation, Inc., 59 Temple Place, Suite 330,\n"\
"Boston, MA 02111-1307 USA.") "Boston, MA 02111-1307 USA.")
#define ABOUT_VERSION _T("1.2.0.3") #define ABOUT_VERSION _T("1.2.0.4")
#define XMLCE_VAR _T("XMLCE_VAR") #define XMLCE_VAR _T("XMLCE_VAR")

View File

@ -354,6 +354,7 @@ void XmlCtrl::handleDelete ( wxKeyEvent& event )
startLine = LineFromPosition ( start ); startLine = LineFromPosition ( start );
endLine = LineFromPosition ( end ); endLine = LineFromPosition ( end );
/* commented out: redundant as covered by shift-tab
// add test so range unindentation only happens when caret is flush with left margin // add test so range unindentation only happens when caret is flush with left margin
int column = GetColumn ( GetCurrentPos() ); int column = GetColumn ( GetCurrentPos() );
@ -381,6 +382,7 @@ void XmlCtrl::handleDelete ( wxKeyEvent& event )
return; return;
} }
} }
*/
if ( !canMoveRightAt ( GetCurrentPos() ) && if ( !canMoveRightAt ( GetCurrentPos() ) &&
GetSelectionStart() == GetSelectionEnd() ) GetSelectionStart() == GetSelectionEnd() )