You've already forked lazarus-ccr
richmemo: preserving richmemo selection on intSaveStream. Patch by Matthew Shaffer. bug #34791
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7280 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -798,9 +798,7 @@ begin
|
||||
isitalic:=false;
|
||||
iscolor:=0;
|
||||
while Assigned(rng) do begin
|
||||
ARich.SelStart:=rng.textStart;
|
||||
ARich.SelLength:=rng.textLength;
|
||||
u:=UTF8Decode(ARich.SelText);
|
||||
u:=ARich.GetUText(rng.textStart, rng.textLength);
|
||||
RtfOut('\f'+IntToStr(rng.fontId));
|
||||
RtfOut('\fs'+IntToStr(rng.font.Size*2));
|
||||
if (fsBold in rng.font.Style) then begin
|
||||
|
Reference in New Issue
Block a user