817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
|
; specified line in the file. Returns the name of this label as a string in eax.
; If such label is not found, returns eax=0
proc SearchForLabelPrefixInEditor, .editor, .caretY
begin
push ecx edx
stdcall GetEditorFile, [.editor]
stdcall SearchForLabelPrefix, [eax+TOpenFile.hFileName], [.caretY]
pop edx ecx
return
endp
; searches the preprocessed source for the last global label definition before the
|
>
>
>
|
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
|
; specified line in the file. Returns the name of this label as a string in eax.
; If such label is not found, returns eax=0
proc SearchForLabelPrefixInEditor, .editor, .caretY
begin
push ecx edx
stdcall GetEditorFile, [.editor]
test eax, eax
jz @f
stdcall SearchForLabelPrefix, [eax+TOpenFile.hFileName], [.caretY]
@@:
pop edx ecx
return
endp
; searches the preprocessed source for the last global label definition before the
|