From 624470f48bb85f394919cadef7d231d98bbff254 Mon Sep 17 00:00:00 2001 From: Anton Leherbauer Date: Fri, 25 Feb 2011 08:07:45 +0000 Subject: [PATCH] Bug 338045 - AST should start building when an editor becomes active --- .../src/org/eclipse/cdt/internal/ui/text/CReconciler.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CReconciler.java b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CReconciler.java index d1037624190..f921d4d3ed2 100644 --- a/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CReconciler.java +++ b/core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/text/CReconciler.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2006, 2009 Wind River Systems, Inc. and others. + * Copyright (c) 2006, 2011 Wind River Systems, Inc. and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -144,8 +144,7 @@ public class CReconciler extends MonoReconciler { */ public void partVisible(IWorkbenchPartReference partRef) { if (partRef.getPart(false) == fTextEditor) { - if (hasCModelChanged()) - CReconciler.this.scheduleReconciling(); + CReconciler.this.scheduleReconciling(); setEditorActive(true); } }