@chi : Thanks , I will go see

I tried to remember the number of the line
(loading, or even changing the code)
it works unless we add (or remove) lines
the problem is that the content of this line may change
line 30 = debug "procedure foo ()"
if I retain the line number, and add a new line
"procedure foo ()" is found on line 31 ... (see more)
my line number 30, no longer serves me to jump in the code where is "procedure toto () ....
maps or lists () in this case, do not serve me anymore ....
............................................
until now, I'm rebuilding my list which contains the name "procedure foo (), and its line number
every time you edit the text ...
it works but:
but on a list of 9000 lines, the list path takes several seconds .. (so at each press on a key of the keyboard)
@ Marc56ussearching using findstring () is not reasonable ...
it does not return the number of the line where the term is found .... it only sends me its position in characters ...
if I look for findstring ("procedure foo ()"), I will not know which line is "procedure foo ()" ....
the goal is to be able to jump on this line number ...
but, you're probably right .. I have to find the line number AND position in character in the listing .... humm .. not simple

I thought perhaps, to have passed by a subtlety of Scintilla on this subject, a form of Tag, which will keep the number of the line according to its content ...
in French :
j'ai experimenter de retenir le numero de la ligne
(au chargement , ou meme a la modification du code)
cela marche ,sauf si, on n'ajoute (ou retire) des lignes
le probleme c'est que le contenu de cette ligne peut changer
la ligne 30= debug "procedure toto()"
si je retient le numero de ligne , et qu'on ajoute une nouvelle ligne
"procedure toto()" se retrouve ligne 31... (voir plus)
mon numero de ligne 30, ne me sert plus pour sauter dans le code ou se trouve "procedure toto() ....
les maps ou les lists() dans ce cas , ne me servent plus ....
............................................
jusqu'a maintenant , je refabrique mes list qui contiennent le nom "procedure toto() , et son numero de ligne
a chaque modification du text ...
cela fonctionne mais :
mais sur un listing de 9000 lignes , le parcours des listes prends plusieurs secondes .. (donc a chaque appuis sur une touche du clavier)
@Marc56usla recherche en utilisant findstring() n'est pas raisonable ...
elle ne renvoie pas le numero de la ligne ou se trouve le terme recherché ....elle me renvoi seulement sa position en caracteres...
si je cherche findstring("procedure toto()") , je ne saurai pas sur quelle ligne se trouve "procedure toto()" ....
le but c'est de pouvoir ensuite sauter sur ce numero de ligne...
mais , tu as probablement raison .. il faut que je trouve la correspondance numero de ligne ET position en caractere dans le listing .... humm.. pas simple

je pensais peut etre , etre passé a coté d'une subtilité de Scintilla a ce sujet , une forme de Tag , qui garderai le numero de la ligne en fonction de son contenu ...