PreviousNextTracker indexSee it online !

(100/211) 3693 - doubleBracketIndent does not work for ages

I spent half an hour testing this property. Then I discovered it's not in the current code. It used to work in r4423. If no-one will step up to bring this functionality back, I'll commit the patch removing all references to doubleBracketIndent from the source. That is from the users-guide and many mode files. Only 2 mode files (factor and lua) were trying to set it to true. Others just copied the default "false" setting. However individuals trying to get it working may get misleaded.

Submitted jarekczek - 2012-05-06 08:24:31 Assigned
Priority 4 Labels
Status open Group None
Resolution None

Comments

2012-05-06 08:25:16
jarekczek

patch file removing doubleBracketIndent references

doublebracket.patch (14.4Kio)

2012-05-13 11:56:51
jarekczek

In OpenBracketIndentRule.java there is code like this:

boolean multiple = buffer.getBooleanProperty("multipleBracketIndent");
IndentAction increase = new IndentAction.Increase(multiple ? prevOpenBracketCount : 1);

So maybe restoring double bracket functionality requires only using correct words (double vs multiple). A note for someone willing to fix it.

2012-05-30 08:01:22
jarekczek

It seems that the code is providing the functionality, although there is a mismatch between the doc, the samples and the actual property name. So I will not remove anything, but I unassign myself.

2012-05-30 08:01:22
jarekczek

- **priority**: 6 --> 4
- **assigned_to**: jarekczek --> nobody