Lines 120-125
Link Here
|
120 |
public boolean use_tags; |
120 |
public boolean use_tags; |
121 |
public char[] disabling_tag; |
121 |
public char[] disabling_tag; |
122 |
public char[] enabling_tag; |
122 |
public char[] enabling_tag; |
|
|
123 |
private final static char[] DEFAULT_DISABLING_TAG = "@formatter:off".toCharArray(); //$NON-NLS-1$ |
124 |
private final static char[] DEFAULT_ENABLING_TAG = "@formatter:on".toCharArray(); //$NON-NLS-1$ |
123 |
|
125 |
|
124 |
public boolean indent_statements_compare_to_block; |
126 |
public boolean indent_statements_compare_to_block; |
125 |
public boolean indent_statements_compare_to_body; |
127 |
public boolean indent_statements_compare_to_body; |
Lines 1973-1979
Link Here
|
1973 |
if (tag.length() == 0) { |
1975 |
if (tag.length() == 0) { |
1974 |
this.disabling_tag = null; |
1976 |
this.disabling_tag = null; |
1975 |
} else { |
1977 |
} else { |
1976 |
this.disabling_tag = tag.toCharArray(); |
1978 |
this.disabling_tag = tag.toCharArray(); |
1977 |
} |
1979 |
} |
1978 |
} |
1980 |
} |
1979 |
} |
1981 |
} |
Lines 1990-1996
Link Here
|
1990 |
if (tag.length() == 0) { |
1992 |
if (tag.length() == 0) { |
1991 |
this.enabling_tag = null; |
1993 |
this.enabling_tag = null; |
1992 |
} else { |
1994 |
} else { |
1993 |
this.enabling_tag = tag.toCharArray(); |
1995 |
this.enabling_tag = tag.toCharArray(); |
1994 |
} |
1996 |
} |
1995 |
} |
1997 |
} |
1996 |
} |
1998 |
} |
Lines 2306-2311
Link Here
|
2306 |
this.use_tabs_only_for_leading_indentations = false; |
2308 |
this.use_tabs_only_for_leading_indentations = false; |
2307 |
this.wrap_before_binary_operator = true; |
2309 |
this.wrap_before_binary_operator = true; |
2308 |
this.use_tags = false; |
2310 |
this.use_tags = false; |
|
|
2311 |
this.disabling_tag = DEFAULT_DISABLING_TAG; |
2312 |
this.enabling_tag = DEFAULT_ENABLING_TAG; |
2309 |
} |
2313 |
} |
2310 |
|
2314 |
|
2311 |
public void setEclipseDefaultSettings() { |
2315 |
public void setEclipseDefaultSettings() { |
Lines 2578-2582
Link Here
|
2578 |
this.use_tabs_only_for_leading_indentations = false; |
2582 |
this.use_tabs_only_for_leading_indentations = false; |
2579 |
this.wrap_before_binary_operator = true; |
2583 |
this.wrap_before_binary_operator = true; |
2580 |
this.use_tags = false; |
2584 |
this.use_tags = false; |
|
|
2585 |
this.disabling_tag = DEFAULT_DISABLING_TAG; |
2586 |
this.enabling_tag = DEFAULT_ENABLING_TAG; |
2581 |
} |
2587 |
} |
2582 |
} |
2588 |
} |