[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

cblu cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:04:29 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 704bb20b9b3fb3a1741a6ded3b2739ce3dac93e4
Author: cblu <cblu at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Nov 20 02:52:30 2002 +0000

    	Fixed: 3106061 - REGRESSION: Copy in text view copies all text not just selection
    
            * Misc.subproj/WebSearchableTextView.m:
            (-[WebSearchableTextView copy:]):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2773 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 3c0420c..9d0f407 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,12 @@
 2002-11-19  Chris Blumenberg  <cblu at apple.com>
 
+	Fixed: 3106061 - REGRESSION: Copy in text view copies all text not just selection
+
+        * Misc.subproj/WebSearchableTextView.m:
+        (-[WebSearchableTextView copy:]):
+
+2002-11-19  Chris Blumenberg  <cblu at apple.com>
+
 	Fixed: 3092588 - redraw errors in QT controller if window is in background
 
 	We need to send update events after we activate/deactivate after all.
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 3c0420c..9d0f407 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,12 @@
 2002-11-19  Chris Blumenberg  <cblu at apple.com>
 
+	Fixed: 3106061 - REGRESSION: Copy in text view copies all text not just selection
+
+        * Misc.subproj/WebSearchableTextView.m:
+        (-[WebSearchableTextView copy:]):
+
+2002-11-19  Chris Blumenberg  <cblu at apple.com>
+
 	Fixed: 3092588 - redraw errors in QT controller if window is in background
 
 	We need to send update events after we activate/deactivate after all.
diff --git a/WebKit/Misc.subproj/WebSearchableTextView.m b/WebKit/Misc.subproj/WebSearchableTextView.m
index cc4e35b..b6f7649 100644
--- a/WebKit/Misc.subproj/WebSearchableTextView.m
+++ b/WebKit/Misc.subproj/WebSearchableTextView.m
@@ -48,7 +48,7 @@
         [super copy:sender];
     }else{
         //Convert CRLF to LF to workaround: 3105538 - Carbon doesn't convert text with CRLF to LF
-        NSMutableString *string = [[self string] mutableCopy];
+        NSMutableString *string = [[[self string] substringWithRange:[self selectedRange]] mutableCopy];
         [string replaceOccurrencesOfString:@"\r\n" withString:@"\n" options:0 range:NSMakeRange(0, [string length])];
 
         NSPasteboard *pasteboard = [NSPasteboard generalPasteboard];

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list