<p>In <a href="https://github.com/geany/geany/pull/406#discussion_r52834183">src/symbols.c</a>:</p>
<pre style='color:#555'>> +
> +static void on_row_activated(GtkTreeView *tree_view, GtkTreePath *path,
> +  GtkTreeViewColumn *column, gpointer user_data)
> +{
> +  GtkTreeModel *model = gtk_tree_view_get_model(tree_view);
> +  GeanyDocument *new_doc;
> +  GtkTreeIter iter;
> +  TMTag *tag;
> +
> +  gtk_tree_model_get_iter(model, &iter, path);
> +  gtk_tree_model_get(model, &iter, TAG_COLUMN, &tag, -1);
> +  g_return_if_fail(tag);
> +
> +  new_doc = document_find_by_real_path(tag->file->file_name);
> +  if (!new_doc)
> +          new_doc = document_open_file(tag->file->file_name, FALSE, NULL, NULL);
</pre>
<p>won't that change what is the "current" document below, and then lead to a weird sequence in the location history?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/406/files#r52834183">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJzLvndIE1n-mkjgWkzAkYtmYypcSks5pj53PgaJpZM4DUzez.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/406/files#r52834183"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>