Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 9d356abb3c069de7c5e48438ac94a1e9bce4bd1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*******************************************************************************
 * Copyright (c) 2015 QNX Software Systems 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
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * QNX Software Systems - Initial API and implementation
 *******************************************************************************/
package org.eclipse.cdt.internal.qt.ui.editor;

/**
 * Constants for the various partitions created by {@link QMLPartitionScanner}.
 */
public interface IQMLPartitions {
	final String QML_PARTITIONING = "___qml_partitioning"; //$NON-NLS-1$
	final String QML_SINGLE_LINE_COMMENT = "__qml_single_comment"; //$NON-NLS-1$
	final String QML_MULTI_LINE_COMMENT = "__qml_multiline_comment"; //$NON-NLS-1$
	final String QML_STRING = "__qml_string"; //$NON-NLS-1$

	final String[] ALL_QMLPARTITIONS = {
			IQMLPartitions.QML_SINGLE_LINE_COMMENT,
			IQMLPartitions.QML_MULTI_LINE_COMMENT,
			IQMLPartitions.QML_STRING
	};
}

Back to the top