Unit 'SynGutterMarks' Package
[Overview][Types][Classes][Index] [#bs_synedit]

TSynGutterMarks

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: synguttermarks.pp line 23

type TSynGutterMarks = class(TSynGutterPartBase)

protected

type

  TSynEditMarkDrawInfo = record

  

  Mark: TSynEditMark;

  

  Images: TCustomImageList;

  

  IconIdx: Integer;

  

end;

  TSynEditMarkDrawInfoArray = array of TSynEditMarkDrawInfo;

  

protected

  FBookMarkOpt: TSynBookMarkOpt;

  

  FTempDrawInfo: TSynEditMarkDrawInfoArray;

  

  procedure SetAutoSize(); override;

  

  procedure Init; override;

  

  function PreferedWidth; override;

  

  function LeftMarginAtCurrentPPI;

  

  function GetImgListRes(); virtual;

  

  function MarksToDrawInfo(); virtual;

  

  function PaintMarks();

  

  procedure PaintLine(); virtual;

  

  property WantedColumns: Integer; [r]

  

  property UserColumnWidth: Integer; [r]

  

public

  constructor Create(); override;

  

  destructor Destroy; override;

  

  procedure Paint(); override;

  

  property DebugMarksImageIndex: Integer; [rw]

  

  property ColumnWidth: Integer; [rw]

  

  property ColumnCount: Integer; [rw]

  

published

  property MaxExtraMarksColums: Integer; [rw]

  

  property Options: TSynGutterMarksOptions; [rw]

  

  property MarkupInfoCurrentLine: TSynHighlighterAttributesModifier;

  

end;

Inheritance

TSynGutterMarks

  

|

TSynGutterPartBase

  

|

TSynObjectListItem

  

|

TSynEditFriend

  

|

TObject



CT Web help

CodeTyphon Studio