MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / insertLoopButtonCB

Method insertLoopButtonCB

src/csvapplication.cpp:2391–2395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2389 Fl::check();
2390}
2391void 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

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected