Buggy code:
public class TextAreaOptionPane extends AbstractOptionPane { public TextAreaOptionPane ( ) { } public void _init ( ) { font = new FontSelector ( jEdit . getFontProperty ( "view.font" ) ) ; addComponent ( jEdit . getProperty ( "options.textarea.font" ) , font ) ; addComponent ( jEdit . getProperty ( "options.textarea.foreground" ) , ( foregroundColor = new ColorWellButton ( jEdit . getColorProperty ( "view.fgColor" ) ) ) , GridBagConstraints . VERTICAL ) ; addComponent ( jEdit . getProperty ( "options.textarea.background" ) , ( backgroundColor = new ColorWellButton ( jEdit . getColorProperty ( "view.bgColor" ) ) ) , GridBagConstraints . VERTICAL ) ; blinkCaret = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".blinkCaret" ) ) ) ; blinkCaret . setSelected ( jEdit . getBooleanProperty ( "view.caretBlink" ) ) ; blockCaret = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".blockCaret" ) ) ) ; blockCaret . setSelected ( jEdit . getBooleanProperty ( "view.blockCaret" ) ) ; Box caretSettings = new Box ( BoxLayout . X_AXIS ) ; caretSettings . add ( new JLabel ( jEdit . getProperty ( "options.textarea.caret" ) ) ) ; caretSettings . add ( Box . createHorizontalStrut ( 6 ) ) ; caretSettings . add ( blinkCaret ) ; caretSettings . add ( blockCaret ) ; addComponent ( caretSettings , ( caretColor = new ColorWellButton ( jEdit . getColorProperty ( "view.caretColor" ) ) ) , GridBagConstraints . VERTICAL ) ; addComponent ( jEdit . getProperty ( "options.textarea.selection" ) , ( selectionColor = new ColorWellButton ( jEdit . getColorProperty ( "view.selectionColor" ) ) ) , GridBagConstraints . VERTICAL ) ; addComponent ( jEdit . getProperty ( "options.textarea.multipleSelection" ) , ( multipleSelectionColor = new ColorWellButton ( jEdit . getColorProperty ( "view.multipleSelectionColor" ) ) ) , GridBagConstraints . VERTICAL ) ; lineHighlight = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".lineHighlight" ) ) ) ; lineHighlight . setSelected ( jEdit . getBooleanProperty ( "view.lineHighlight" ) ) ; addComponent ( lineHighlight , ( lineHighlightColor = new ColorWellButton ( jEdit . getColorProperty ( "view.lineHighlightColor" ) ) ) , GridBagConstraints . VERTICAL ) ; structureHighlight = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".structureHighlight" ) ) ) ; structureHighlight . setSelected ( jEdit . getBooleanProperty ( "view.structureHighlight" ) ) ; addComponent ( structureHighlight , ( structureHighlightColor = new ColorWellButton ( jEdit . getColorProperty ( "view.structureHighlightColor" ) ) ) , GridBagConstraints . VERTICAL ) ; eolMarkers = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".eolMarkers" ) ) ) ; eolMarkers . setSelected ( jEdit . getBooleanProperty ( "view.eolMarkers" ) ) ; addComponent ( eolMarkers , ( eolMarkerColor = new ColorWellButton ( jEdit . getColorProperty ( "view.eolMarkerColor" ) ) ) , GridBagConstraints . VERTICAL ) ; wrapGuide = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".wrapGuide" ) ) ) ; wrapGuide . setSelected ( jEdit . getBooleanProperty ( "view.wrapGuide" ) ) ; addComponent ( wrapGuide , ( wrapGuideColor = new ColorWellButton ( jEdit . getColorProperty ( "view.wrapGuideColor" ) ) ) , GridBagConstraints . VERTICAL ) ; electricBorders = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".electricBorders" ) ) ) ; electricBorders . setSelected ( ( ! ( "0" . equals ( jEdit . getProperty ( "view.electricBorders" ) ) ) ) ) ; addComponent ( electricBorders ) ; antiAlias = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".antiAlias" ) ) ) ; boolean antiAliasEnabled = jEdit . getBooleanProperty ( "view.antiAlias" ) ; font . setAntiAliasEnabled ( antiAliasEnabled ) ; antiAlias . addActionListener ( new ActionListener ( ) { public void actionPerformed ( ActionEvent evt ) { font . setAntiAliasEnabled ( antiAlias . isSelected ( ) ) ; font . repaint ( ) ; } } ) ; antiAlias . setSelected ( antiAliasEnabled ) ; addComponent ( antiAlias ) ; fracFontMetrics = new JCheckBox ( jEdit . getProperty ( ( "options.textarea" + ".fracFontMetrics" ) ) ) ; fracFontMetrics . setSelected ( jEdit . getBooleanProperty ( "view.fracFontMetrics" ) ) ; addComponent ( fracFontMetrics ) ; <START_BUG> stripTrailingEOL = new JCheckBox ( jEdit . getProperty ( "options.general.stripTrailingEOL" ) ) ; <END_BUG> stripTrailingEOL . setSelected ( jEdit . getBooleanProperty ( "stripTrailingEOL" ) ) ; addComponent ( stripTrailingEOL ) ; } public void _save ( ) { } private FontSelector font ; private ColorWellButton foregroundColor ; private ColorWellButton backgroundColor ; private JCheckBox blinkCaret ; private JCheckBox blockCaret ; private ColorWellButton caretColor ; private ColorWellButton selectionColor ; private ColorWellButton multipleSelectionColor ; private JCheckBox lineHighlight ; private ColorWellButton lineHighlightColor ; private JCheckBox structureHighlight ; private ColorWellButton structureHighlightColor ; private JCheckBox eolMarkers ; private ColorWellButton eolMarkerColor ; private JCheckBox wrapGuide ; private ColorWellButton wrapGuideColor ; private JCheckBox electricBorders ; private JCheckBox antiAlias ; private JCheckBox fracFontMetrics ; private JCheckBox stripTrailingEOL ; }

Fix:
stripTrailingEOL = new JCheckBox ( jEdit . getProperty ( "options.textArea.stripTrailingEOL" ) ) ;