Changeset View
Changeset View
Standalone View
Standalone View
src/include/ktexteditor/configinterface.h
Show First 20 Lines • Show All 81 Lines • ▼ Show 20 Line(s) | |||||
82 | * with the line numbers) | 82 | * with the line numbers) | ||
83 | * - folding-marker-color [QColor] read/set folding marker colors (in the icon border) | 83 | * - folding-marker-color [QColor] read/set folding marker colors (in the icon border) | ||
84 | * - line-number-color [QColor] read/set line number colors (in the icon border) | 84 | * - line-number-color [QColor] read/set line number colors (in the icon border) | ||
85 | * - current-line-number-color [QColor] read/set current line number color (in the icon border) | 85 | * - current-line-number-color [QColor] read/set current line number color (in the icon border) | ||
86 | * - modification-markers [bool] read/set whether the modification markers are shown | 86 | * - modification-markers [bool] read/set whether the modification markers are shown | ||
87 | * - word-count [bool] enable/disable the counting of words and characters in the statusbar | 87 | * - word-count [bool] enable/disable the counting of words and characters in the statusbar | ||
88 | * - scrollbar-minimap [bool] enable/disable scrollbar minimap | 88 | * - scrollbar-minimap [bool] enable/disable scrollbar minimap | ||
89 | * - scrollbar-preview [bool] enable/disable scrollbar text preview on hover | 89 | * - scrollbar-preview [bool] enable/disable scrollbar text preview on hover | ||
90 | * - font [QFont] change the font | ||||
90 | * | 91 | * | ||
91 | * KTextEditor::Document has support for the following: | 92 | * KTextEditor::Document has support for the following: | ||
92 | * - backup-on-save-local [bool], enable/disable backup when saving local files | 93 | * - backup-on-save-local [bool], enable/disable backup when saving local files | ||
93 | * - backup-on-save-remote [bool], enable/disable backup when saving remote files | 94 | * - backup-on-save-remote [bool], enable/disable backup when saving remote files | ||
94 | * - backup-on-save-suffix [string], set the suffix for file backups, e.g. "~" | 95 | * - backup-on-save-suffix [string], set the suffix for file backups, e.g. "~" | ||
95 | * - backup-on-save-prefix [string], set the prefix for file backups, e.g. "." | 96 | * - backup-on-save-prefix [string], set the prefix for file backups, e.g. "." | ||
96 | * - replace-tabs [bool], whether to replace tabs | 97 | * - replace-tabs [bool], whether to replace tabs | ||
97 | * - indent-pasted-text [bool], whether to indent pasted text | 98 | * - indent-pasted-text [bool], whether to indent pasted text | ||
98 | * - tab-width [int], read/set the width for tabs | 99 | * - tab-width [int], read/set the width for tabs | ||
99 | * - indent-width [int], read/set the indentation width | 100 | * - indent-width [int], read/set the indentation width | ||
101 | * - on-the-fly-spellcheck [bool], enable/disable on the fly spellcheck | ||||
100 | * | 102 | * | ||
101 | * Either interface should emit the \p configChanged signal when appropriate. | 103 | * Either interface should emit the \p configChanged signal when appropriate. | ||
102 | * TODO: Add to interface in KDE 5. | 104 | * TODO: Add to interface in KDE 5. | ||
103 | * | 105 | * | ||
104 | * For instance, if you want to enable dynamic word wrap of a KTextEditor::View | 106 | * For instance, if you want to enable dynamic word wrap of a KTextEditor::View | ||
105 | * simply call | 107 | * simply call | ||
106 | * \code | 108 | * \code | ||
107 | * iface->setConfigValue("dynamic-word-wrap", true); | 109 | * iface->setConfigValue("dynamic-word-wrap", true); | ||
Show All 39 Lines |