@ntrel commented on this pull request.


In src/notebook.c:

> +	if (cur_doc == NULL)
+		cur_doc = document_get_current();
+	if (!cur_doc->real_path)
+		return;
+
+	gchar *dir = g_dirname(cur_doc->real_path);
+
+	for (gint i = 0; i < gtk_notebook_get_n_pages(GTK_NOTEBOOK(main_widgets.notebook)); i++)
+	{
+		GeanyDocument *doc = document_get_from_page(i);
+
+		if (!doc->real_path)
+			continue;
+		if (other_folders && g_str_has_prefix(doc->real_path, dir))
+			continue;
+		if (!other_folders && !g_str_has_prefix(doc->real_path, dir))

you may not have files in that specific directory open, only subdirectories.

Sorry, I'm not following this part of your comment.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.