| 2389 | Fl::check(); |
| 2390 | } |
| 2391 | void CsvApplication::insertLoopButtonCB(Fl_Widget *, void *data) { |
| 2392 | std::tuple<Fl_Text_Buffer *, Fl_Text_Display *, Fl_Text_Editor *> *widgets = (std::tuple<Fl_Text_Buffer *, Fl_Text_Display *, Fl_Text_Editor *> *) data; |
| 2393 | int pos = (std::get<2>(*widgets))->insert_position(); |
| 2394 | ((Fl_Text_Buffer *) std::get<0>(*widgets))->insert(pos, "for( r = 0; r<_ROWS; ++r) {\n}"); |
| 2395 | } |
| 2396 | |
| 2397 | |
| 2398 |