Skip to content

Commit 1907d1b

Browse files
committed
Fix typos in comments
In FmSnippetsEditorDlg.FrActiveTextEditor.pas
1 parent aa5f8db commit 1907d1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/FmSnippetsEditorDlg.FrActiveTextEditor.pas

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ function TSnippetsActiveTextEdFrame.ActiveTextToPlainText(
129129
begin
130130
// NOTE: we use IActiveText.ToString here, because there may be text not in
131131
// blocks and we want to see that: usual renderer will ignore that text.
132-
// However all lines are trimmed and empty blanks are ingored.
132+
// However all lines are trimmed and empty blanks are ignored.
133133
Lines := TIStringList.Create(ActiveText.ToString, EOL, False, True);
134134
Result := Lines.GetText(EOL2, False); // insert blank line between paras
135135
end;
@@ -215,7 +215,7 @@ function TSnippetsActiveTextEdFrame.PlainTextToActiveText(Text: string):
215215
Paragraph: string; // each paragraph in paragraphs
216216
begin
217217
// NOTE: TSnippetExtraHelper.PlainTextToActiveText is not sufficient for use
218-
// here since it ignores newlines and we want double newlines to separated
218+
// here since it ignores newlines and we want double newlines to separate
219219
// paragraphs.
220220
Result := TActiveTextFactory.CreateActiveText;
221221
Text := StrTrim(Text);

0 commit comments

Comments
 (0)