Variable substitution framework.

This implements editing of variables and moving SCH_FIELDs,
TEXTE_MODULEs, TEXTE_PCB and worksheet items over to the new
framework.
This commit is contained in:
Jeff Young
2020-03-30 14:15:59 +01:00
parent 9c2a260a27
commit 4990d1e7b2
79 changed files with 1609 additions and 651 deletions
+2 -2
View File
@@ -314,10 +314,10 @@ bool BRDITEMS_PLOTTER::PlotAllTextsModule( MODULE* aModule )
if( !m_layerMask[textLayer] )
continue;
if( textModule->GetText() == wxT( "%R" ) && !GetPlotReference() )
if( textModule->GetText() == wxT( "${REFERENCE}" ) && !GetPlotReference() )
continue;
if( textModule->GetText() == wxT( "%V" ) && !GetPlotValue() )
if( textModule->GetText() == wxT( "${VALUE}" ) && !GetPlotValue() )
continue;
PlotTextModule( textModule, getColor( textLayer ) );