From 913d767475110bd73ce4fe772ff2444004b8f359 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 6 Jul 2015 15:18:23 +0200 Subject: Move filename from Text to File Also apply syntax rules every time the file name changes. --- view.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'view.c') diff --git a/view.c b/view.c index c418a65..3a131f0 100644 --- a/view.c +++ b/view.c @@ -527,8 +527,6 @@ void view_reload(View *view, Text *text) { view->text = text; view_selection_clear(view); view_cursor_to(view, 0); - if (view->ui) - view->ui->reload(view->ui, text); } View *view_new(Text *text, ViewEvent *events) { -- cgit v1.2.3