diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index 207d08d9f7..6f25874723 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -1380,6 +1380,10 @@ void SIM_PLOT_FRAME::onShowNetlist( wxCommandEvent& event ) text->StyleSetBackground( wxSTC_STYLE_LINENUMBER, wxColour( 220, 220, 220 ) ); text->SetMarginType( MARGIN_LINE_NUMBERS, wxSTC_MARGIN_NUMBER ); + wxFont font = wxFont( wxNORMAL_FONT->GetPointSize(), wxFONTFAMILY_TELETYPE, + wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false, wxEmptyString ); + text->StyleSetFont( wxSTC_STYLE_DEFAULT, font ); + text->SetWrapMode( wxSTC_WRAP_WORD ); text->SetText( source );