blob: 9acfa66d7e38476b7cce0b700e51239c5daf172d [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 Red Hat Inc. and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* - Mickael Istria (Red Hat Inc.)
*******************************************************************************/
package org.eclipse.ui.genericeditor.examples.dotproject;
import org.eclipse.core.filebuffers.IDocumentSetupParticipant;
import org.eclipse.jface.text.IDocument;
public class ProjectDocumentParticipant implements IDocumentSetupParticipant {
@Override
public void setup(IDocument document) {
document.addDocumentListener(new SpellCheckDocumentListener());
}
}