Mercurial > projects > dwt-addons
diff dwtx/jface/text/DefaultLineTracker.d @ 159:7926b636c282
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 01:57:58 +0200 |
parents | 75302ef3f92f |
children |
line wrap: on
line diff
--- a/dwtx/jface/text/DefaultLineTracker.d Tue Aug 26 02:46:34 2008 +0200 +++ b/dwtx/jface/text/DefaultLineTracker.d Wed Aug 27 01:57:58 2008 +0200 @@ -170,15 +170,16 @@ public class DefaultLineTracker : AbstractLineTracker { /** The predefined delimiters of this tracker */ - public const static String[] DELIMITERS= { "\r", "\n", "\r\n" }; //$NON-NLS-3$ //$NON-NLS-1$ //$NON-NLS-2$ + public const static String[] DELIMITERS= [ "\r", "\n", "\r\n" ]; //$NON-NLS-3$ //$NON-NLS-1$ //$NON-NLS-2$ /** A predefined delimiter information which is always reused as return value */ - private DelimiterInfo fDelimiterInfo= new DelimiterInfo(); + private AbstractLineTracker_DelimiterInfo fDelimiterInfo; /** * Creates a standard line tracker. */ public this() { + fDelimiterInfo= new AbstractLineTracker_DelimiterInfo(); } /* @@ -191,7 +192,7 @@ /* * @see dwtx.jface.text.AbstractLineTracker#nextDelimiterInfo(java.lang.String, int) */ - protected DelimiterInfo nextDelimiterInfo(String text, int offset) { + protected AbstractLineTracker_DelimiterInfo nextDelimiterInfo(String text, int offset) { char ch; int length= text.length();