|
From: Lubos D. <Dus...@se...> - 2001-03-30 08:03:52
|
hi,
i think, there is a small "bug" in synedit - in file SynEdit, procedure
ComputeCaret - when i click on Gutter, my Caret position should stay
onchanged! try use following code ;)
procedure TCustomSynEdit.ComputeCaret(X, Y: Integer);
begin
if ( NOT fGutter.Visible ) then
CaretXY := PixelsToRowColumn(Point(X,Y))
else if ( X>fGutter.Width ) then
CaretXY := PixelsToRowColumn(Point(X,Y));
end;
regards
lubos dusanic
|