6 #include <gtkmm/textview.h>
7 #include <gtkmm/separator.h>
24 CodeInput(DTree::iterator, Glib::RefPtr<Gtk::TextBuffer>,
double scale,
int font_step);
30 CodeInput(DTree::iterator,
const std::string&,
double scale,
int font_step);
36 exp_input_tv(DTree::iterator, Glib::RefPtr<Gtk::TextBuffer>,
double scale);
38 virtual bool on_draw(
const Cairo::RefPtr<Cairo::Context>&)
override;
40 virtual void on_show()
override;
71 void handle_insert(
const Gtk::TextIter& pos,
const Glib::ustring& text,
int bytes);
78 void handle_erase(
const Gtk::TextIter& start,
const Gtk::TextIter& end);
88 void slice_cell(std::string& before, std::string& after);
95 Glib::RefPtr<Gtk::TextBuffer>
buffer;
100 void init(
int font_step);