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

rjw rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 05:50:30 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit ebc7c9db29f4a85ef3770db36af70acd54edc1f5
Author: rjw <rjw at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Oct 16 22:04:06 2001 +0000

    Fixed comments, again.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@333 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/kwq/KWQTextArea.mm b/WebCore/kwq/KWQTextArea.mm
index 2701d93..30abf5d 100644
--- a/WebCore/kwq/KWQTextArea.mm
+++ b/WebCore/kwq/KWQTextArea.mm
@@ -32,7 +32,7 @@
     It has a small set of features required by the definition of the <TEXTAREA>
     element.  
     
-    It support the three wierd WRAP modes:
+    It supports the three wierd <TEXTAREA> WRAP attributes:
     
               OFF - Text is not wrapped.  It is kept to single line, although if
                     the user enters a return the line IS broken.  This emulates
@@ -42,6 +42,9 @@
                          
     kde expects a line based widget.  It uses a line API to convert text into multiple lines
     when wrapping is set to HARD.  To support kde with implement [textLine] and [numLines].
+    
+    If the wrap mode HARD kde will repeatedly call textForLine: (via emulated API in KWQTextEdit)
+    to construct the text with inserted \n.
 */
 
 
@@ -84,6 +87,7 @@ const float LargeNumberForText = 1.0e7;
     if (f == wrap)
         return;
         
+    // This widget may have issues toggling back and forth between WRAP=YES and WRAP=NO.
     NSDictionary *attr;
     NSMutableParagraphStyle *style = [[[NSMutableParagraphStyle alloc] init] autorelease];
     
diff --git a/WebCore/src/kwq/KWQTextArea.mm b/WebCore/src/kwq/KWQTextArea.mm
index 2701d93..30abf5d 100644
--- a/WebCore/src/kwq/KWQTextArea.mm
+++ b/WebCore/src/kwq/KWQTextArea.mm
@@ -32,7 +32,7 @@
     It has a small set of features required by the definition of the <TEXTAREA>
     element.  
     
-    It support the three wierd WRAP modes:
+    It supports the three wierd <TEXTAREA> WRAP attributes:
     
               OFF - Text is not wrapped.  It is kept to single line, although if
                     the user enters a return the line IS broken.  This emulates
@@ -42,6 +42,9 @@
                          
     kde expects a line based widget.  It uses a line API to convert text into multiple lines
     when wrapping is set to HARD.  To support kde with implement [textLine] and [numLines].
+    
+    If the wrap mode HARD kde will repeatedly call textForLine: (via emulated API in KWQTextEdit)
+    to construct the text with inserted \n.
 */
 
 
@@ -84,6 +87,7 @@ const float LargeNumberForText = 1.0e7;
     if (f == wrap)
         return;
         
+    // This widget may have issues toggling back and forth between WRAP=YES and WRAP=NO.
     NSDictionary *attr;
     NSMutableParagraphStyle *style = [[[NSMutableParagraphStyle alloc] init] autorelease];
     

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list