The automatically generated menu only produces fields for boolean, string, and number. It will produce a checkbox for boolean, a text input for strings and numbers, or a selection element if there are options specified in `lib/ace/ext/add_editor_menu_options`. In order to set soft wrapping through the menu I need a function that takes a single argument. The wrapping setting reads the value of `getWrapLimit` sees a number and produces a text field when it finds the corresponding `setWrapLimit`. Without the `setWrapLimit` function the option won't show up in the menu. Around line 104 or so I've got a list of functions that get ignored when generating the menu, `setWrapLimitRange` is in this list because `getWrapLimitRange` returns an object. I could probably write in a special case for this and provide a min and max field for setting the range but it would make things more complicated and harder to maintain. Adding the `setWrapLimit` function takes 3 lines of code to solve the problem and gives the user a single, easy to understand, setting. Writing in the special case to specify min and max for the range would take quite a lot more code to solve the same problem. In the textarea and kitchen sink demo I believe their settings had fixed wrap limits of `40`, `80`, and `free` that would make a call to `setWrapLimitRange` specifying the min and max as the same number. This is pretty much the same thing only it will allow the user to specify an arbitrary limit instead of a fixed one.