From faec1f7501cb234f5316c785c686a29caa7bb40a Mon Sep 17 00:00:00 2001 From: skalogryz Date: Tue, 21 Jan 2020 01:36:13 +0000 Subject: [PATCH] richmemo: unescaping \, { and } chars when loading git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7309 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/richmemo/richmemortf.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/richmemo/richmemortf.pas b/components/richmemo/richmemortf.pas index 4748fb236..7bac9f54d 100644 --- a/components/richmemo/richmemortf.pas +++ b/components/richmemo/richmemortf.pas @@ -357,6 +357,8 @@ begin AddText( langproc(bt) ); end; + end else if (length(txt)=2) and (txt[1]='\') and (txt[2] in ['\','{','}']) then begin + AddText(txt[2]); end else begin AddText(txt); end;