diff --git a/ide/multipastedlg.pas b/ide/multipastedlg.pas index 6fa3fd32cb..0c28ff378d 100644 --- a/ide/multipastedlg.pas +++ b/ide/multipastedlg.pas @@ -85,6 +85,10 @@ var List: THistoryList; begin FContent := TStringList.Create; + {$IF FPC_FULLVERSION >= 30101} + FContent.SkipLastLineBreak := True; + {$ENDIF} + OnShow := @DoWatch; OnActivate := @DoWatch; TxtBeforeLinesComboBox.OnChange := @DoWatch;