129
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2007 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.IRepairableDocument;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17
|
|
18 /**
|
|
19 * Tagging interface to be implemented by
|
|
20 * {@link dwtx.jface.text.IDocument} implementers that offer a line
|
|
21 * repair method on the documents.
|
|
22 * <p>
|
|
23 * In order to provide backward compatibility for clients of
|
|
24 * <code>IRepairableDocument</code>, extension interfaces are used to provide
|
|
25 * a means of evolution. The following extension interfaces exist:
|
|
26 * <ul>
|
|
27 * <li> {@link dwtx.jface.text.IRepairableDocumentExtension} since version 3.4
|
|
28 * adds the ability to query whether the repairable document needs to be repaired.</li>
|
|
29 * </ul>
|
|
30 *
|
|
31 *
|
|
32 * @see dwtx.jface.text.IDocument
|
|
33 * @see dwtx.jface.text.IRepairableDocumentExtension
|
|
34 * @since 3.0
|
|
35 */
|
|
36 public interface IRepairableDocument {
|
|
37
|
|
38 /**
|
|
39 * Repairs the line information of the document implementing this interface.
|
|
40 */
|
|
41 void repairLineInformation();
|
|
42 }
|