| 5705 | } |
| 5706 | |
| 5707 | void ShaderViewer::ShowErrors(const rdcstr &errors) |
| 5708 | { |
| 5709 | if(m_Errors) |
| 5710 | { |
| 5711 | m_Errors->setReadOnly(false); |
| 5712 | SetTextAndUpdateMargin0(m_Errors, errors); |
| 5713 | m_Errors->setReadOnly(true); |
| 5714 | |
| 5715 | if(!errors.isEmpty()) |
| 5716 | ToolWindowManager::raiseToolWindow(m_Errors); |
| 5717 | } |
| 5718 | |
| 5719 | updateEditState(); |
| 5720 | } |
| 5721 | |
| 5722 | void ShaderViewer::AddWatch(const rdcstr &variable) |
| 5723 | { |
no test coverage detected