Mercurial > projects > dwt-addons
comparison dwtx/jface/text/projection/ProjectionDocumentManager.d @ 140:26688fec6d23
Following dsss compile errors
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sun, 24 Aug 2008 03:23:46 +0200 |
parents | b6bad70d540a |
children | f70d9508c95c |
comparison
equal
deleted
inserted
replaced
139:93a6ec48fd28 | 140:26688fec6d23 |
---|---|
101 * | 101 * |
102 * @param master the document | 102 * @param master the document |
103 * @return <code>true</code> if the given document is a master document known to this manager | 103 * @return <code>true</code> if the given document is a master document known to this manager |
104 */ | 104 */ |
105 private bool hasProjection(IDocument master) { | 105 private bool hasProjection(IDocument master) { |
106 return (fProjectionRegistry.get(master) instanceof List); | 106 return (cast(List)fProjectionRegistry.get(master) ); |
107 } | 107 } |
108 | 108 |
109 /** | 109 /** |
110 * Returns an iterator enumerating all projection documents registered for the given document or | 110 * Returns an iterator enumerating all projection documents registered for the given document or |
111 * <code>null</code> if the document is not a known master document. | 111 * <code>null</code> if the document is not a known master document. |