50    wxCHECK( !sheets.empty(),  );
 
   58        if( std::find( sheets.begin(), sheets.end(), *entry ) != sheets.end() )
 
   61            if( ( entry != 
m_navHistory.begin() ) && ( *entry == *std::prev( entry ) ) )
 
 
   92            if( sheet.GetPageNumber() == destPage )
 
   99        m_frame->ShowInfoBarError( wxString::Format( 
_( 
"Page '%s' not found." ), destPage ) );
 
  105        menu.Append( 1, wxString::Format( 
_( 
"Open %s" ), href ) );
 
  107        if( 
m_frame->GetPopupMenuSelectionFromUser( menu ) == 1 )
 
 
  131        m_frame->DisplayCurrentSheet();
 
 
  152        m_frame->DisplayCurrentSheet();
 
 
  167        int targetSheet = 
m_frame->GetCurrentSheet().GetVirtualPageNumber() - 1;
 
 
  183        int targetSheet = 
m_frame->GetCurrentSheet().GetVirtualPageNumber() + 1;
 
 
  209    std::vector<SCH_SHEET*> topLevelSheets = 
m_frame->Schematic().GetTopLevelSheets();
 
  211    for( 
SCH_SHEET* top_sheet : topLevelSheets )
 
  213        if( 
m_frame->GetCurrentSheet().Last() == top_sheet )
 
 
  223    return m_frame->GetCurrentSheet().GetVirtualPageNumber() > 1;
 
 
  229    if( !
m_frame->Schematic().IsValid() )
 
  232    return m_frame->GetCurrentSheet().GetVirtualPageNumber()
 
  233           < (int) 
m_frame->Schematic().Hierarchy().size();
 
 
  253    if( selection.GetSize() == 1 )
 
 
  316    m_frame->GetScreen()->m_LastZoomLevel = 
m_frame->GetCanvas()->GetView()->GetScale();
 
  321    m_frame->Schematic().SetCurrentSheet( aPath );
 
  322    m_frame->DisplayCurrentSheet();
 
 
static TOOL_ACTION cancelInteractive
 
static TOOL_ACTION selectionClear
Clear the current selection.
 
static bool IsGotoPageHref(const wxString &aHref, wxString *aDestination=nullptr)
Check if aHref is a valid internal hyperlink.
 
static TOOL_ACTION navigateBack
 
static TOOL_ACTION leaveSheet
 
static TOOL_ACTION navigateNext
 
static TOOL_ACTION navigateForward
 
static TOOL_ACTION navigatePrevious
 
static TOOL_ACTION changeSheet
 
static TOOL_ACTION enterSheet
 
static TOOL_ACTION navigateUp
 
A container for handling SCH_SHEET_PATH objects in a flattened hierarchy.
 
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
 
void push_back(SCH_SHEET *aSheet)
Forwarded method from std::vector.
 
void pop_back()
Forwarded method from std::vector.
 
Sheet symbol placed in a schematic, and is the entry point for a sub schematic.
 
const wxString ResolveUriByEnvVars(const wxString &aUri, const PROJECT *aProject)
Replace any environment and/or text variables in URIs.
 
bool GetAssociatedDocument(wxWindow *aParent, const wxString &aDocName, PROJECT *aProject, SEARCH_STACK *aPaths, std::vector< EMBEDDED_FILES * > aFilesStack)
Open a document (file) with the suitable browser.
 
This file is part of the common library.
 
std::vector< FAB_LAYER_COLOR > dummy