with open(r'c:\fuentes\proyectos delphi\RAUL_ASENCIO\GESTION\src\UI\frm_AlbaranesEditor.pas', 'r', encoding='latin1') as f:
    text = f.read()

pos = text.find('ge_facturas_lineas')
while pos != -1:
    print('--- MATCH AT', pos)
    print(text[pos-50:pos+350])
    pos = text.find('ge_facturas_lineas', pos+1)

