public:
void set_text(const std::string &);
+ void insert(unsigned, const std::string &);
+ void erase(unsigned, unsigned);
const std::string &get_text() const { return text.get(); }
+ void set_edit_position(unsigned);
+ unsigned get_edit_position() const { return edit_pos; }
+ bool get_selection(unsigned &, unsigned &) const;
+
/** Sets the minimum size of the editing area, in characters and rows. This
only affects autosizing. */
void set_edit_size(unsigned w, unsigned h);