Commit 26d7d628 authored by Christian Hergert's avatar Christian Hergert

buffer: fix initial change monitoring state

Ensure we reload the change monitor immediately after the
buffer is loaded so that we can see initial changes.
parent 8aefad4d
......@@ -653,6 +653,7 @@ ide_buffer_reload_change_monitor (IdeBuffer *self)
G_CALLBACK (ide_buffer__change_monitor_changed_cb),
ide_buffer_change_monitor_reload (priv->change_monitor);
......@@ -1096,10 +1097,6 @@ ide_buffer_loaded (IdeBuffer *self)
g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_FILE]);
/* Request the change monitor to reload now */
if (priv->change_monitor != NULL)
ide_buffer_change_monitor_reload (priv->change_monitor);
/* This is suspended until we've loaded */
ide_highlight_engine_unpause (priv->highlight_engine);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment