What is the correct way to check whether a buffer is hidden? I am currently doing the following bool const hidden = !(guiApp->currentView() && guiApp->currentView()->workArea(*b));
which works fine but I'm not sure if it's the right way. Thanks, Scott