aboutsummaryrefslogtreecommitdiff
path: root/src/properties.h
diff options
context:
space:
mode:
authormitchell <70453897+667e-11@users.noreply.github.com>2008-06-15 13:42:03 -0400
committermitchell <70453897+667e-11@users.noreply.github.com>2008-06-15 13:42:03 -0400
commite56e9f1c1a635bd205bfde9ff8120ad2e81274c0 (patch)
treebce6dea11c3947ac681234ac4167c436ecb34fde /src/properties.h
parent0e1787a267d9a9ecf38e7eb88e01f1b585821185 (diff)
downloadtextadept-e56e9f1c1a635bd205bfde9ff8120ad2e81274c0.tar.gz
textadept-e56e9f1c1a635bd205bfde9ff8120ad2e81274c0.zip
Added doxygen documentation to source files.
Diffstat (limited to 'src/properties.h')
-rw-r--r--src/properties.h9
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");