Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/DefaultContent.d @ 9:950d84783eac
Removing direct tango deps.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 09 Mar 2009 14:26:40 +0100 |
parents | 4c0057e71936 |
children | d46287db17ed |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/DefaultContent.d Thu Mar 05 15:12:35 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/custom/DefaultContent.d Mon Mar 09 14:26:40 2009 +0100 @@ -12,6 +12,8 @@ *******************************************************************************/ module org.eclipse.swt.custom.DefaultContent; +import java.lang.all; + import org.eclipse.swt.SWT; import org.eclipse.swt.SWTException; import org.eclipse.swt.internal.Compatibility; @@ -21,13 +23,9 @@ import org.eclipse.swt.custom.StyledTextEvent; import org.eclipse.swt.custom.StyledTextListener; import org.eclipse.swt.custom.StyledText; -import java.lang.all; - -static import tango.io.model.IFile; -static import tango.text.Text; class DefaultContent : StyledTextContent { - private final static String LineDelimiter = tango.io.model.IFile.FileConst.NewlineString; + private final static String LineDelimiter = "\r\n"; StyledTextListener[] textListeners; // stores text listeners for event sending char[] textStore; // stores the actual text