You've already forked lazarus-ccr
richmemo: update helper to adjust tabs for all selected paragraphs, rather than under cursor position
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4049 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -266,7 +266,7 @@ begin
|
||||
Exit
|
||||
else begin
|
||||
stop.Tabs[index].Offset:=AValue;
|
||||
m.SetParaTabs(m.SelStart, 1, stop);
|
||||
m.SetParaTabs(m.SelStart, m.SelLength, stop);
|
||||
end;
|
||||
end;
|
||||
|
||||
@ -280,7 +280,7 @@ begin
|
||||
if stop.Count<AValue then
|
||||
SetLength(stop.Tabs, AValue);
|
||||
stop.Count:=AValue;
|
||||
m.SetParaTabs(m.SelStart, 1, stop);
|
||||
m.SetParaTabs(m.SelStart, m.SelLength, stop);
|
||||
end;
|
||||
|
||||
function TRichEditParaAttributes.GetAlignment: TRichEditAlignment;
|
||||
|
Reference in New Issue
Block a user