diff options
Diffstat (limited to 'src/properties.h')
-rw-r--r-- | src/properties.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/properties.h b/src/properties.h index 24f10507..0ea11a2e 100644 --- a/src/properties.h +++ b/src/properties.h @@ -8,6 +8,10 @@ #define sp(k, v) SSS(sci, SCI_SETPROPERTY, k, v) #define color(r, g, b) r | (g << 8) | (b << 16) +/** + * Sets the default properties for a Scintilla window. + * @param sci The Scintilla window to set default properties for. + */ void set_default_editor_properties(ScintillaObject *sci) { sp("lexer.lua.home", "/usr/share/textadept/lexers/"); sp("lexer.lua.script", "/usr/share/textadept/lexers/lexer.lua"); @@ -64,6 +68,11 @@ void set_default_editor_properties(ScintillaObject *sci) { SS(sci, SCI_SETCARETSTICKY, 0); } +/** + * Sets the default properties for a Scintilla document. + * @param sci The Scintilla window containing the document to set default + * properties for. + */ void set_default_buffer_properties(ScintillaObject *sci) { sp("fold", "1"); sp("fold.by.indentation", "1"); |