mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 03:59:56 +02:00
CodeTools: fixed typos related to 'occur' word
git-svn-id: trunk@65193 -
This commit is contained in:
parent
12d2d6b4f7
commit
14a12ecb59
@ -9452,7 +9452,7 @@ function TCodeCompletionCodeTool.CompleteCode(CursorPos: TCodeXYPosition;
|
||||
|
||||
UpIdentifier := GetUpAtom;
|
||||
|
||||
//find first occurence of UpIdentifier from procedure begin until CleanCursorPos
|
||||
//find first occurrence of UpIdentifier from procedure begin until CleanCursorPos
|
||||
//we are interested only in local variables/identifiers
|
||||
// --> the UpIdentifier must not be preceded by a point ("MyObject.I" - if we want to complete I)
|
||||
// and then do another check if it is not available with the "with" command, e.g.
|
||||
@ -9591,7 +9591,7 @@ begin
|
||||
if TryComplete(CursorNode, CleanCursorPos) then
|
||||
exit(true);
|
||||
|
||||
{ Find the first occurence of the (local) identifier at cursor in current
|
||||
{ Find the first occurrence of the (local) identifier at cursor in current
|
||||
procedure body and try again. }
|
||||
if TryFirstLocalIdentOccurence(CursorNode,OrigCleanCursorPos,CleanCursorPos) then
|
||||
exit(true);
|
||||
|
Loading…
Reference in New Issue
Block a user