Increase a possible right margin when aligning to CodeStyleSettings.MAX_RIGHT_MARGIN

This commit is contained in:
Rustam Vishnyakov
2015-09-17 19:29:57 +03:00
parent ac7428edd0
commit 2aea82967a

View File

@@ -732,7 +732,7 @@ public class FormatProcessor {
BlockAlignmentProcessor.Context context = new BlockAlignmentProcessor.Context(
myDocument, alignment, myCurrentBlock, myAlignmentMappings, myBackwardShiftedAlignedBlocks,
getIndentOptionsToUse(myCurrentBlock, myDefaultIndentOption), myRightMargin
getIndentOptionsToUse(myCurrentBlock, myDefaultIndentOption), CodeStyleSettings.MAX_RIGHT_MARGIN
);
BlockAlignmentProcessor.Result result = alignmentProcessor.applyAlignment(context);
final LeafBlockWrapper offsetResponsibleBlock = alignment.getOffsetRespBlockBefore(myCurrentBlock);