Changeset 255:f6dba57ef627 for dwt

Show
Ignore:
Timestamp:
07/12/08 11:45:46 (4 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Add real copy ctor to StyleRange?, this fixes the clone() impl.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/custom/StyleRange.d

    r246 r255  
    7474 * @since 3.4 
    7575 */ 
     76public this(StyleRange style) { 
     77    this( cast(TextStyle)style); 
     78    this.start = style.start; 
     79    this.length = style.length; 
     80    this.fontStyle = style.fontStyle; 
     81} 
    7682public this(TextStyle style) { 
    7783    super(style);