| /******************************************************************************* |
| * Copyright (c) 2005, 2007 IBM Corporation and others. |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| |
| *******************************************************************************/ |
| package org.eclipse.dltk.python.ui.text; |
| |
| import org.eclipse.dltk.python.core.PythonConstants; |
| import org.eclipse.jface.text.IDocument; |
| |
| public interface IPythonPartitions { |
| |
| public final static String PYTHON_PARTITIONING = PythonConstants.PYTHON_PARTITIONING; |
| |
| public final static String PYTHON_COMMENT = "__python_comment"; //$NON-NLS-1$ |
| public final static String PYTHON_STRING = "__python_string"; //$NON-NLS-1$ |
| |
| public final static String[] PYTHON_PARTITION_TYPES = new String[] { |
| IPythonPartitions.PYTHON_STRING, IPythonPartitions.PYTHON_COMMENT, |
| IDocument.DEFAULT_CONTENT_TYPE }; |
| } |