(moved out of #1136) 1. Open a C source file with the following text:
``` void foo(void) { printf("Hello world!\n"); } void main() { foo(); } ``` 2. On line 8, Ctrl+click on `foo`. Geany navigates to line 1, the definition of `foo`. 3. Insert the following text at the beginning of the document: ``` #include <stdio.h> ``` 4. Invoke “Navigate back a location” (with the toolbar button or the keybinding). Expected result: Geany navigates to line 10, which now contains the call to `foo` from which we jumped to the definition of `foo`. Actual result: Geany navigates to line 8, because positions in the navqueue were not updated when extra text was inserted at the beginning of the document. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/1480