How do I extend the margin of the Eclipse source formatter?

eclipse, java

Solution

You can find it under Preferences->Java->Code Style->Formatter.

Click on the Edit button next to the currently active profile, go to the Line Wrapping tab and change the Maximum line width setting.

Problem

Whenever I use Source > Format in Eclipse, it wraps the line starting at row 80. But my program has a lot of long lines and I'd like to extend its tolerance to 120. I've tried searching for a setting where I can change this but can't find one. Can this be done?

Original source