richmemo: note about next-to impossible to set a paragraph alignment on carbon
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@3722 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
parent
51972779d5
commit
5e651bcb6b
@ -76,6 +76,8 @@ type
|
||||
var Params: TIntFontParams): Boolean; override;
|
||||
class procedure SetTextAttributes(const AWinControl: TWinControl; TextStart, TextLen: Integer;
|
||||
{Mask: TTextStyleMask;} const Params: TIntFontParams); override;
|
||||
class procedure SetParaAlignment(const AWinControl: TWinControl; TextStart, TextLen: Integer;
|
||||
const AAlign: Integer); override;
|
||||
class procedure SetHideSelection(const ACustomEdit: TCustomEdit; AHideSelection: Boolean); override;
|
||||
class procedure InDelText(const AWinControl: TWinControl; const TextUTF8: String; DstStart, DstLen: Integer); override;
|
||||
class function LoadRichText(const AWinControl: TWinControl; Src: TStream): Boolean; override;
|
||||
@ -337,6 +339,14 @@ begin
|
||||
memo.SetTypeAttributes(Count, Attr, TextStart, TextStart+TextLen);
|
||||
end;
|
||||
|
||||
class procedure TCarbonWSCustomRichMemo.SetParaAlignment(
|
||||
const AWinControl: TWinControl; TextStart, TextLen: Integer;
|
||||
const AAlign: Integer);
|
||||
begin
|
||||
{ Doesn't seem to be possible. See this:
|
||||
http://lists.apple.com/archives/carbon-dev/2005/Jun/msg01068.html }
|
||||
end;
|
||||
|
||||
class procedure TCarbonWSCustomRichMemo.SetHideSelection(const ACustomEdit: TCustomEdit; AHideSelection: Boolean);
|
||||
begin
|
||||
//todo:
|
||||
|
Loading…
Reference in New Issue
Block a user