SynEdit: fixed typos related to 'occur' word

git-svn-id: trunk@65201 -
This commit is contained in:
maxim 2021-06-10 22:13:34 +00:00
parent b7edc055af
commit c1a767e4ce
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;