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:
parent
9efc3961a2
commit
624470f48b
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue