Mercurial > projects > dwt-addons
diff dwtx/jface/text/source/AnnotationModel.d @ 133:7d818bd32d63
Fix ctors to this with gvim regexp
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 01:29:22 +0200 |
parents | c4fb132a086c |
children | 51e6e63f930e |
line wrap: on
line diff
--- a/dwtx/jface/text/source/AnnotationModel.d Sun Aug 24 01:13:39 2008 +0200 +++ b/dwtx/jface/text/source/AnnotationModel.d Sun Aug 24 01:29:22 2008 +0200 @@ -138,7 +138,7 @@ * @param canEndAfter include annotations ending after region * @see IAnnotationModelExtension2 */ - public RegionIterator(Iterator parentIterator, IAnnotationModel model, int offset, int length, bool canStartBefore, bool canEndAfter) { + public this(Iterator parentIterator, IAnnotationModel model, int offset, int length, bool canStartBefore, bool canEndAfter) { fParentIterator= parentIterator; fModel= model; fRegion= new Position(offset, length); @@ -215,7 +215,7 @@ * @param positions positions to iterate over * @param map a map to map positions to annotations */ - public AnnotationsInterator(Position[] positions, Map map) { + public this(Position[] positions, Map map) { fPositions= positions; fIndex= 0; fMap= map; @@ -272,7 +272,7 @@ private Object fCurrentElement; - public MetaIterator(Iterator iterator) { + public this(Iterator iterator) { fSuperIterator= iterator; fCurrent= (Iterator) fSuperIterator.next(); // there is at least one. } @@ -373,7 +373,7 @@ * Creates a new annotation model. The annotation is empty, i.e. does not * manage any annotations and is not connected to any document. */ - public AnnotationModel() { + public this() { fAnnotations= new AnnotationMap(10); fPositions= new IdentityHashMap(10); fAnnotationModelListeners= new ArrayList(2);