1/*
2 SPDX-FileCopyrightText: 2001, 2002 Joseph Wenninger <jowenn@kde.org>
3 SPDX-FileCopyrightText: 2001 Christoph Cullmann <cullmann@kde.org>
4 SPDX-FileCopyrightText: 1999 Jochen Wilhelmy <digisnap@cs.tu-berlin.de>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8
9#ifndef KATEEXTENDEDATTRIBUTE_H
10#define KATEEXTENDEDATTRIBUTE_H
11
12#include <ktexteditor/attribute.h>
13
14/**
15 * Custom property types, which may or may not be supported by implementations.
16 * Internally used
17 */
18enum CustomProperties {
19 /// Draws an outline around the text
20 Outline = QTextFormat::UserProperty,
21 /// Changes the brush used to paint the text when it is selected
22 SelectedForeground,
23 /// Changes the brush used to paint the background when it is selected
24 SelectedBackground,
25 /// Determines whether background color is drawn over whitespace. Defaults to true.
26 BackgroundFillWhitespace,
27 /// Defined to allow storage of dynamic effect information
28 AttributeDynamicEffect = 0x10A00,
29 /// Defined for internal usage of KTextEditor implementations
30 AttributeInternalProperty = 0x10E00,
31 AttributeName = AttributeInternalProperty,
32 AttributeDefaultStyleIndex,
33 Spellchecking,
34 /// Defined to allow 3rd party code to create their own custom attributes - you may use values at or above this property.
35 AttributeUserProperty = 0x110000
36};
37
38typedef QList<KTextEditor::Attribute::Ptr> KateAttributeList;
39
40#endif
41

source code of ktexteditor/src/syntax/kateextendedattribute.h