Commit e2abaa81 authored by CHARRAS's avatar CHARRAS

Display filename and full sheet name ("sheet path") in sheet references

parent 4d9ea908
......@@ -229,7 +229,7 @@ int UpperLimit = VARIABLE_BLOCK_START_POSITION;
msg += screen->m_Revision;
break;
case WS_LICENCE:
case WS_KICAD_VERSION:
msg += g_ProductName;
break;
......@@ -241,6 +241,18 @@ int UpperLimit = VARIABLE_BLOCK_START_POSITION;
msg << screen->m_ScreenNumber << wxT("/") << screen->m_NumberOfScreen;
break;
case WS_FILENAME:
{
wxString fname, fext;
wxFileName::SplitPath(screen->m_FileName, (wxString*)NULL, &fname, &fext);
msg << fname << wxT(".") << fext;
}
break;
case WS_FULLSHEETNAME:
// msg += GetScreenDesc();
break;
case WS_COMPANY_NAME:
msg += screen->m_Company;
if ( ! msg.IsEmpty() )
......
This diff is collapsed.
......@@ -95,7 +95,7 @@ typedef struct ListLabel
{
int m_LabelType;
void * m_Label;
char m_SheetPath[32];
char m_SheetPath[64];
} ListLabel;
typedef struct ListComponent
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment