129
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 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.ITextViewerExtension7;
|
|
14
|
131
|
15 import dwtx.jface.text.IAutoEditStrategy; // packageimport
|
|
16
|
129
|
17 import dwt.dwthelper.utils;
|
|
18
|
|
19
|
|
20 /**
|
|
21 * Extension interface for {@link dwtx.jface.text.ITextViewer}.
|
|
22 * Adds the ability to install tabs to spaces conversion.
|
|
23 *
|
|
24 * @since 3.3
|
|
25 */
|
|
26 public interface ITextViewerExtension7 {
|
|
27
|
|
28 /**
|
|
29 * Sets an auto edit strategy can converts tabs to spaces.
|
159
|
30 *
|
129
|
31 * @param converter the converter or <code>null</code> if none should be used
|
|
32 */
|
|
33 void setTabsToSpacesConverter(IAutoEditStrategy converter);
|
|
34 }
|