Mercurial > projects > dwt-addons
comparison dwtx/jface/text/ListLineTracker.d @ 162:1a5b8f8129df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 08 Sep 2008 00:51:37 +0200 |
parents | 7926b636c282 |
children |
comparison
equal
deleted
inserted
replaced
161:f8d52b926852 | 162:1a5b8f8129df |
---|---|
175 * @since 3.2 | 175 * @since 3.2 |
176 */ | 176 */ |
177 abstract class ListLineTracker : ILineTracker { | 177 abstract class ListLineTracker : ILineTracker { |
178 | 178 |
179 /** The line information */ | 179 /** The line information */ |
180 private const List fLines= new ArrayList(); | 180 private const List fLines; |
181 /** The length of the tracked text */ | 181 /** The length of the tracked text */ |
182 private int fTextLength; | 182 private int fTextLength; |
183 | 183 |
184 /** | 184 /** |
185 * Creates a new line tracker. | 185 * Creates a new line tracker. |
186 */ | 186 */ |
187 protected this() { | 187 protected this() { |
188 fLines= new ArrayList(); | |
188 } | 189 } |
189 | 190 |
190 /** | 191 /** |
191 * Binary search for the line at a given offset. | 192 * Binary search for the line at a given offset. |
192 * | 193 * |