Mercurial > projects > dwt-addons
annotate dwtx/jface/text/projection/IMinimalMapping.d @ 200:eb3414669eb0 default tip
fix for dmd 1.041 and tango 0.99.8
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Sat, 28 Mar 2009 03:09:57 +0100 |
parents | 93a6ec48fd28 |
children |
rev | line source |
---|---|
129 | 1 /******************************************************************************* |
2 * Copyright (c) 2000, 2005 IBM Corporation and others. | |
3 * All rights reserved. This program and the accompanying materials | |
4 * are made available under the terms of the Eclipse Public License v1.0 | |
5 * which accompanies this distribution, and is available at | |
6 * http://www.eclipse.org/legal/epl-v10.html | |
7 * | |
8 * Contributors: | |
9 * IBM Corporation - initial API and implementation | |
10 * Port to the D programming language: | |
11 * Frank Benoit <benoit@tionex.de> | |
12 *******************************************************************************/ | |
13 module dwtx.jface.text.projection.IMinimalMapping; | |
14 | |
131 | 15 import dwtx.jface.text.projection.ProjectionMapping; // packageimport |
16 import dwtx.jface.text.projection.ChildDocumentManager; // packageimport | |
17 import dwtx.jface.text.projection.SegmentUpdater; // packageimport | |
18 import dwtx.jface.text.projection.Segment; // packageimport | |
19 import dwtx.jface.text.projection.ProjectionDocument; // packageimport | |
20 import dwtx.jface.text.projection.FragmentUpdater; // packageimport | |
21 import dwtx.jface.text.projection.ProjectionDocumentEvent; // packageimport | |
22 import dwtx.jface.text.projection.ChildDocument; // packageimport | |
23 import dwtx.jface.text.projection.Fragment; // packageimport | |
24 import dwtx.jface.text.projection.ProjectionTextStore; // packageimport | |
25 import dwtx.jface.text.projection.ProjectionDocumentManager; // packageimport | |
26 | |
27 | |
129 | 28 import dwt.dwthelper.utils; |
29 | |
30 | |
31 import dwtx.jface.text.BadLocationException; | |
32 import dwtx.jface.text.IRegion; | |
33 | |
34 | |
35 /** | |
36 * Internal interface for defining the exact subset of | |
37 * {@link dwtx.jface.text.projection.ProjectionMapping} that the | |
38 * {@link dwtx.jface.text.projection.ProjectionTextStore} is allowed to | |
39 * access. | |
40 * | |
41 * @since 3.0 | |
42 */ | |
43 interface IMinimalMapping { | |
44 | |
45 /* | |
46 * @see dwtx.jface.text.IDocumentInformationMapping#getCoverage() | |
47 */ | |
48 IRegion getCoverage(); | |
49 | |
50 /* | |
51 * @see dwtx.jface.text.IDocumentInformationMapping#toOriginRegion(IRegion) | |
52 */ | |
139
93a6ec48fd28
Regexp throws removal in interfaces
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
53 IRegion toOriginRegion(IRegion region) ; |
129 | 54 |
55 /* | |
56 * @see dwtx.jface.text.IDocumentInformationMapping#toOriginOffset(int) | |
57 */ | |
139
93a6ec48fd28
Regexp throws removal in interfaces
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
58 int toOriginOffset(int offset) ; |
129 | 59 |
60 /* | |
61 * @see dwtx.jface.text.IDocumentInformationMappingExtension#toExactOriginRegions(IRegion) | |
62 */ | |
139
93a6ec48fd28
Regexp throws removal in interfaces
Frank Benoit <benoit@tionex.de>
parents:
131
diff
changeset
|
63 IRegion[] toExactOriginRegions(IRegion region) ; |
129 | 64 |
65 /* | |
66 * @see dwtx.jface.text.IDocumentInformationMappingExtension#getImageLength() | |
67 */ | |
68 int getImageLength(); | |
69 } |