diff options
author | 2008-06-15 13:42:03 -0400 | |
---|---|---|
committer | 2008-06-15 13:42:03 -0400 | |
commit | e56e9f1c1a635bd205bfde9ff8120ad2e81274c0 (patch) | |
tree | bce6dea11c3947ac681234ac4167c436ecb34fde /src/properties.h | |
parent | 0e1787a267d9a9ecf38e7eb88e01f1b585821185 (diff) | |
download | textadept-e56e9f1c1a635bd205bfde9ff8120ad2e81274c0.tar.gz textadept-e56e9f1c1a635bd205bfde9ff8120ad2e81274c0.zip |
Added doxygen documentation to source files.
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"); |