MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / get_cursor_by_index

Method get_cursor_by_index

DSView/pv/view/view.cpp:1574–1586  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1572}
1573
1574Cursor* View::get_cursor_by_index(int index)
1575{
1576 int dex = 0;
1577 auto &cursors = get_cursorList();
1578
1579 for (auto c : cursors){
1580 if (dex == index){
1581 return c;
1582 }
1583 dex++;
1584 }
1585 return NULL;
1586}
1587
1588void View::UpdateLanguage()
1589{

Callers 1

acceptMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected