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;
|
isitalic:=false;
|
||||||
iscolor:=0;
|
iscolor:=0;
|
||||||
while Assigned(rng) do begin
|
while Assigned(rng) do begin
|
||||||
ARich.SelStart:=rng.textStart;
|
u:=ARich.GetUText(rng.textStart, rng.textLength);
|
||||||
ARich.SelLength:=rng.textLength;
|
|
||||||
u:=UTF8Decode(ARich.SelText);
|
|
||||||
RtfOut('\f'+IntToStr(rng.fontId));
|
RtfOut('\f'+IntToStr(rng.fontId));
|
||||||
RtfOut('\fs'+IntToStr(rng.font.Size*2));
|
RtfOut('\fs'+IntToStr(rng.font.Size*2));
|
||||||
if (fsBold in rng.font.Style) then begin
|
if (fsBold in rng.font.Style) then begin
|
||||||
|
Reference in New Issue
Block a user