1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-01 14:15:23 +02:00

Bug 338045 - AST should start building when an editor becomes active

This commit is contained in:
Anton Leherbauer 2011-02-25 08:07:45 +00:00
parent 9efc3961a2
commit 624470f48b

View file

@ -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);
}
}