← Back to team overview

linuxdcpp-team team mailing list archive

[Branch ~dcplusplus-team/dcplusplus/trunk] Rev 2139: Don't clear multiline boxes with Ctrl+Alt+A

 

------------------------------------------------------------
revno: 2139
committer: poy <poy@xxxxxxxxxx>
branch nick: repo
timestamp: Mon 2010-05-10 17:48:54 +0200
message:
  Don't clear multiline boxes with Ctrl+Alt+A
modified:
  changelog.txt
  dwt/src/widgets/TextBox.cpp
  win32/RichTextBox.cpp


--
lp:dcplusplus
https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk

Your team Dcplusplus-team is subscribed to branch lp:dcplusplus.
To unsubscribe from this branch go to https://code.launchpad.net/~dcplusplus-team/dcplusplus/trunk/+edit-subscription
=== modified file 'changelog.txt'
--- changelog.txt	2010-05-09 22:34:42 +0000
+++ changelog.txt	2010-05-10 15:48:54 +0000
@@ -1,5 +1,3 @@
-* [L#253398] Better highlight color for content changes in tabs (poy)
-* [L#226975] Don't re-organize tab rows when the selected tab changes (poy)
 * Stability improvement related to menus (poy)
 * [L#539992] Shell menus for directories when browsing own file list (poy)
 * Parse separators in titles of user command param boxes (poy)
@@ -19,6 +17,7 @@
 * [L#550300] Fix a possible file corruption (thanks bigmuscle)
 * [L#551184] Fix unnecessary move of downloaded filelists (emtee)
 * [L#556853] Fix sharing a whole drive (root folder) was impossible in random cases (emtee)
+* [L#559544] Don't clear multiline boxes with Ctrl+Alt+A (poy)
 
 -- 0.761 2010-03-14 --
 * [L#533840] Fix crashes with themed menus (poy)

=== modified file 'dwt/src/widgets/TextBox.cpp'
--- dwt/src/widgets/TextBox.cpp	2010-03-28 17:50:53 +0000
+++ dwt/src/widgets/TextBox.cpp	2010-05-10 15:48:54 +0000
@@ -250,7 +250,7 @@
 }
 
 bool TextBox::handleKeyDown(int c) {
-	if(c == 'A' && isControlPressed()) {
+	if(c == 'A' && isControlPressed() && !isAltPressed()) {
 		setSelection();
 		return true;
 	}

=== modified file 'win32/RichTextBox.cpp'
--- win32/RichTextBox.cpp	2010-03-26 21:55:05 +0000
+++ win32/RichTextBox.cpp	2010-05-10 15:48:54 +0000
@@ -36,7 +36,7 @@
 		case 'E': case 'J': case 'L': case 'R':
 		case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9':
 			// these don't play well with DC++ since it is sometimes impossible to revert the change
-			if(isControlPressed())
+			if(isControlPressed() && !isAltPressed())
 				return true;
 		}
 	}