richmemo: cocoa, fix memory use
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6474 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
430b047031
commit
5bba58fa30
@ -457,7 +457,6 @@ begin
|
||||
par.setParagraphSpacingBefore(AMetric.SpaceBefore);
|
||||
|
||||
txt.addAttribute_value_range( NSParagraphStyleAttributeName, par, ParaRange(txt, TextStart, textLen));
|
||||
par.release;
|
||||
end;
|
||||
|
||||
class procedure TCocoaWSCustomRichMemo.SetParaTabs(
|
||||
@ -496,7 +495,6 @@ begin
|
||||
end;
|
||||
par.setTabStops(tabs);
|
||||
txt.addAttribute_value_range( NSParagraphStyleAttributeName, par, ParaRange(txt, TextStart, textLen));
|
||||
par.release;
|
||||
end;
|
||||
|
||||
class function TCocoaWSCustomRichMemo.GetParaTabs(
|
||||
|
Loading…
Reference in New Issue
Block a user