comparison dwtx/jface/text/projection/ProjectionTextStore.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents 51e6e63f930e
children
comparison
equal deleted inserted replaced
161:f8d52b926852 162:1a5b8f8129df
81 /** The master document */ 81 /** The master document */
82 private IDocument fMasterDocument; 82 private IDocument fMasterDocument;
83 /** The document information mapping */ 83 /** The document information mapping */
84 private IMinimalMapping fMapping; 84 private IMinimalMapping fMapping;
85 /** Internal region used for querying the mapping. */ 85 /** Internal region used for querying the mapping. */
86 private ReusableRegion fReusableRegion= new ReusableRegion(); 86 private ReusableRegion fReusableRegion;
87 87
88 88
89 /** 89 /**
90 * Creates a new projection text store for the given master document and 90 * Creates a new projection text store for the given master document and
91 * the given document information mapping. 91 * the given document information mapping.
92 * 92 *
93 * @param masterDocument the master document 93 * @param masterDocument the master document
94 * @param mapping the document information mapping 94 * @param mapping the document information mapping
95 */ 95 */
96 public this(IDocument masterDocument, IMinimalMapping mapping) { 96 public this(IDocument masterDocument, IMinimalMapping mapping) {
97 fReusableRegion= new ReusableRegion();
97 fMasterDocument= masterDocument; 98 fMasterDocument= masterDocument;
98 fMapping= mapping; 99 fMapping= mapping;
99 } 100 }
100 101
101 private void internalError() { 102 private void internalError() {