mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-07-23 18:26:05 +02:00
SynEdit: fixed typos related to 'occur' word
git-svn-id: trunk@65201 -
This commit is contained in:
parent
b7edc055af
commit
c1a767e4ce
@ -3671,26 +3671,26 @@ begin
|
||||
exit;
|
||||
|
||||
if FLeftGutter.Visible and (X < FLeftGutter.Width) then begin
|
||||
// mouse event occured in Gutter ?
|
||||
// mouse event occurred in Gutter ?
|
||||
if FLeftGutter.MaybeHandleMouseAction(Info, @DoHandleMouseAction) then
|
||||
exit;
|
||||
end
|
||||
else
|
||||
if FRightGutter.Visible and (X > ClientWidth - FRightGutter.Width) then begin
|
||||
// mouse event occured in Gutter ?
|
||||
// mouse event occurred in Gutter ?
|
||||
if FRightGutter.MaybeHandleMouseAction(Info, @DoHandleMouseAction) then
|
||||
exit;
|
||||
end
|
||||
else
|
||||
begin
|
||||
// mouse event occured in selected block ?
|
||||
// mouse event occurred in selected block ?
|
||||
if SelAvail and (X >= FTextArea.Bounds.Left) and (X < FTextArea.Bounds.Right) and
|
||||
(Y >= FTextArea.Bounds.Top) and (Y < FTextArea.Bounds.Bottom) and
|
||||
IsPointInSelection(FInternalCaret.LineBytePos)
|
||||
then
|
||||
if DoHandleMouseAction(FMouseSelActions.GetActionsForOptions(MouseOptions), Info) then
|
||||
exit;
|
||||
// mouse event occured in text?
|
||||
// mouse event occurred in text?
|
||||
if DoHandleMouseAction(FMouseTextActions.GetActionsForOptions(MouseOptions), Info) then
|
||||
exit;
|
||||
end;
|
||||
|
@ -58,7 +58,7 @@ uses
|
||||
type
|
||||
PSynReplaceCharsArray = ^TSynReplaceCharsArray;
|
||||
{ Array to hold the replacements strings for chars that are invalid for the
|
||||
output format, occurences of the chars that have a corresponding entry in
|
||||
output format, occurrences of the chars that have a corresponding entry in
|
||||
this array are replaced with the string the entry points to. Descendant
|
||||
classes have to fill it accordingly. }
|
||||
TSynReplaceCharsArray = array[char] of PChar;
|
||||
|
Loading…
Reference in New Issue
Block a user