mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-14 23:59:47 +01:00
SynEdit: make markupmanager public
git-svn-id: trunk@50156 -
This commit is contained in:
parent
604f4c1410
commit
f68b41737e
@ -1119,6 +1119,7 @@ type
|
|||||||
property SelectedColor: TSynSelectedColor read GetSelectedColor write SetSelectedColor;
|
property SelectedColor: TSynSelectedColor read GetSelectedColor write SetSelectedColor;
|
||||||
|
|
||||||
// Colors
|
// Colors
|
||||||
|
property MarkupManager: TSynEditMarkupManager read fMarkupManager;
|
||||||
property Color default clWhite;
|
property Color default clWhite;
|
||||||
property IncrementColor: TSynSelectedColor read GetIncrementColor write SetIncrementColor;
|
property IncrementColor: TSynSelectedColor read GetIncrementColor write SetIncrementColor;
|
||||||
property HighlightAllColor: TSynSelectedColor read GetHighlightAllColor write SetHighlightAllColor;
|
property HighlightAllColor: TSynSelectedColor read GetHighlightAllColor write SetHighlightAllColor;
|
||||||
@ -5063,7 +5064,7 @@ begin
|
|||||||
if (FChangedLinesStart<1) or (FChangedLinesStart>AIndex+1) then
|
if (FChangedLinesStart<1) or (FChangedLinesStart>AIndex+1) then
|
||||||
FChangedLinesStart:=AIndex+1;
|
FChangedLinesStart:=AIndex+1;
|
||||||
if (FChangedLinesEnd >= 0) and (FChangedLinesEnd<AIndex+1) then
|
if (FChangedLinesEnd >= 0) and (FChangedLinesEnd<AIndex+1) then
|
||||||
FChangedLinesEnd:=AIndex + 1 + MaX(ACount, 0);
|
FChangedLinesEnd:=AIndex + 1 + MaX(ACount, 0); // TODO: why 2 (TWO) extra lines?
|
||||||
end else begin
|
end else begin
|
||||||
ScanRanges;
|
ScanRanges;
|
||||||
InvalidateLines(AIndex + 1, AIndex + ACount);
|
InvalidateLines(AIndex + 1, AIndex + ACount);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user