129
|
1 /*******************************************************************************
|
|
2 * Copyright (c) 2000, 2008 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.DefaultAutoIndentStrategy;
|
|
14
|
|
15 import dwt.dwthelper.utils;
|
|
16
|
|
17
|
|
18 /**
|
|
19 * Default implementation of {@link dwtx.jface.text.IAutoIndentStrategy}.
|
|
20 * This strategy always copies the indentation of the previous line.
|
|
21 * <p>
|
|
22 * This class is not intended to be subclassed.</p>
|
|
23 *
|
|
24 * @deprecated since 3.1 use {@link dwtx.jface.text.DefaultIndentLineAutoEditStrategy} instead
|
|
25 * @noextend This class is not intended to be subclassed by clients.
|
|
26 */
|
|
27 public class DefaultAutoIndentStrategy : DefaultIndentLineAutoEditStrategy , IAutoIndentStrategy {
|
|
28
|
|
29 /**
|
|
30 * Creates a new default auto indent strategy.
|
|
31 */
|
|
32 public DefaultAutoIndentStrategy() {
|
|
33 }
|
|
34 }
|