bool DocTabView::activateBuffer(BufferID buffer) { int indexToActivate = getIndexByBuffer(buffer); if (indexToActivate == -1) return false; //cannot activate activateAt(indexToActivate); return true; }
void init() { activateAt(15*SECONDS); }