comparison dwtx/jface/text/templates/GlobalTemplateVariables.d @ 147:000f9136b8f7

final
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 22:35:05 +0200
parents 7d818bd32d63
children 1a5b8f8129df
comparison
equal deleted inserted replaced
146:75302ef3f92f 147:000f9136b8f7
47 * @since 3.0 47 * @since 3.0
48 */ 48 */
49 public class GlobalTemplateVariables { 49 public class GlobalTemplateVariables {
50 50
51 /** The type of the selection variables. */ 51 /** The type of the selection variables. */
52 public static final String SELECTION= "selection"; //$NON-NLS-1$ 52 public static const String SELECTION= "selection"; //$NON-NLS-1$
53 53
54 /** 54 /**
55 * The cursor variable determines the cursor placement after template edition. 55 * The cursor variable determines the cursor placement after template edition.
56 */ 56 */
57 public static class Cursor : SimpleTemplateVariableResolver { 57 public static class Cursor : SimpleTemplateVariableResolver {
58 58
59 /** Name of the cursor variable, value= {@value} */ 59 /** Name of the cursor variable, value= {@value} */
60 public static final String NAME= "cursor"; //$NON-NLS-1$ 60 public static const String NAME= "cursor"; //$NON-NLS-1$
61 61
62 /** 62 /**
63 * Creates a new cursor variable 63 * Creates a new cursor variable
64 */ 64 */
65 public this() { 65 public this() {
73 * lines selection. 73 * lines selection.
74 */ 74 */
75 public static class WordSelection : SimpleTemplateVariableResolver { 75 public static class WordSelection : SimpleTemplateVariableResolver {
76 76
77 /** Name of the word selection variable, value= {@value} */ 77 /** Name of the word selection variable, value= {@value} */
78 public static final String NAME= "word_selection"; //$NON-NLS-1$ 78 public static const String NAME= "word_selection"; //$NON-NLS-1$
79 79
80 /** 80 /**
81 * Creates a new word selection variable 81 * Creates a new word selection variable
82 */ 82 */
83 public this() { 83 public this() {
96 * lines. 96 * lines.
97 */ 97 */
98 public static class LineSelection : SimpleTemplateVariableResolver { 98 public static class LineSelection : SimpleTemplateVariableResolver {
99 99
100 /** Name of the line selection variable, value= {@value} */ 100 /** Name of the line selection variable, value= {@value} */
101 public static final String NAME= "line_selection"; //$NON-NLS-1$ 101 public static const String NAME= "line_selection"; //$NON-NLS-1$
102 102
103 /** 103 /**
104 * Creates a new line selection variable 104 * Creates a new line selection variable
105 */ 105 */
106 public this() { 106 public this() {