code: private void writeWrappingCode (final Wrapping code) {
      final Preferences docPreferences = CodeStylePreferences.get(this.document).getPreferences();
      docPreferences.put(SimpleValueNames.TEXT_LINE_WRAP, code.getValue());
      try {
        docPreferences.flush();
      }
      catch (BackingStoreException ex) {
        LOGGER.error("Can't write wrapping code", ex);
      }
    }
docs: End of variables declaration//GEN-END:variables