pagelayout_editor: fix end of line char in wxStyledTextCtrl (is now always '\n')

Fixes #9806
https://gitlab.com/kicad/code/kicad/issues/9806
This commit is contained in:
jean-pierre charras 2021-11-29 10:26:06 +01:00
parent db41769bb9
commit 054f8ed7bd
1 changed files with 1 additions and 0 deletions

View File

@ -79,6 +79,7 @@ PROPERTIES_FRAME::PROPERTIES_FRAME( PL_EDITOR_FRAME* aParent ) :
m_stcText->SetUseVerticalScrollBar( false );
m_stcText->SetUseHorizontalScrollBar( false );
m_stcText->SetEOLMode( wxSTC_EOL_LF ); // Always use LF as eol char, regardless the platform
m_scintillaTricks = new SCINTILLA_TRICKS( m_stcText, wxT( "{}" ), false );
m_staticTextSizeInfo->SetFont( KIUI::GetInfoFont( this ).Italic() );