Skip to content

Commit

Permalink
Clarify a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnlaan committed Jun 13, 2024
1 parent a2e773c commit 470f595
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Projects/Src/CompForm.pas
Original file line number Diff line number Diff line change
Expand Up @@ -3437,7 +3437,7 @@ procedure TCompileForm.UpdateMemoMarkerColumns;
begin
var Width := ToCurrentPPI(20);
for var Memo in FMemos do
Memo.UpdateMemoMarkerColumnWidth(Width);
Memo.UpdateIconMarkersColumnWidth(Width);

var ImageList := ThemedMarkersVirtualImageList;

Expand Down
4 changes: 2 additions & 2 deletions Projects/Src/CompScintEdit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ TCompScintEdit = class(TScintEdit)
property Used: Boolean read FUsed write FUsed;
procedure UpdateIndicators(const Ranges: TScintRangeList;
const IndicatorNumber: TCompScintIndicatorNumber);
procedure UpdateMemoMarkerColumnWidth(const AWidth: Integer);
procedure UpdateIconMarkersColumnWidth(const AWidth: Integer);
procedure UpdateThemeColorsAndStyleAttributes;
end;

Expand Down Expand Up @@ -269,7 +269,7 @@ procedure TCompScintEdit.UpdateIndicators(const Ranges: TScintRangeList;
end;
end;

procedure TCompScintEdit.UpdateMemoMarkerColumnWidth(const AWidth: Integer);
procedure TCompScintEdit.UpdateIconMarkersColumnWidth(const AWidth: Integer);
begin
Call(SCI_SETMARGINWIDTHN, 1, AWidth);
end;
Expand Down

0 comments on commit 470f595

Please sign in to comment.