void Ide::EndBuilding(bool ok) { console.EndGroup(); console.Wait(); Vector<String> errors = console.PickErrors(); CreateHost(false)->DeleteFile(errors); if(!errors.IsEmpty()) ok = false; PutConsole(""); PutConsole((ok ? "OK. " : "There were errors. ") + GetPrintTime(build_time)); SetIdeState(EDITING); if(GetTopWindow()->IsOpen()) { if(ok) BeepMuteInformation(); else BeepMuteExclamation(); } ShowConsole(); }
void Ide::FindString(bool back) { if(!editor.FindString(back)) BeepMuteExclamation(); }