aboutsummaryrefslogtreecommitdiffhomepage
path: root/main.cpp
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-18 03:42:45 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-20 06:06:46 +0100
commitdd02113f19aa41d187b4d1182057a10a43d842aa (patch)
tree476f7837d75497b27606a0cbfbed059a5f0c05aa /main.cpp
parentbd345771ee18eb7cb3b6081b1954b1e5b48f029e (diff)
downloadsciteco-dd02113f19aa41d187b4d1182057a10a43d842aa.tar.gz
first working draft of syntax highlighting support and related necessary features
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/main.cpp b/main.cpp
index 193d355..f002a03 100644
--- a/main.cpp
+++ b/main.cpp
@@ -102,19 +102,13 @@ main(int argc, char **argv)
interface.ssm(SCI_SETCARETFORE, 0xFFFFFF);
/*
- * FIXME: Styles should probably be set interface-based
+ * FIXME: Default styles should probably be set interface-based
* (system defaults) and be changeable by TECO macros
*/
interface.ssm(SCI_STYLESETFORE, STYLE_DEFAULT, 0xFFFFFF);
interface.ssm(SCI_STYLESETBACK, STYLE_DEFAULT, 0x000000);
interface.ssm(SCI_STYLESETFONT, STYLE_DEFAULT, (sptr_t)"Courier");
interface.ssm(SCI_STYLECLEARALL);
- interface.ssm(SCI_STYLESETFORE, SCE_C_COMMENT, 0x00FF00);
- interface.ssm(SCI_STYLESETFORE, SCE_C_COMMENTLINE, 0x00FF00);
- interface.ssm(SCI_STYLESETFORE, SCE_C_NUMBER, 0xFFFF00);
- interface.ssm(SCI_STYLESETFORE, SCE_C_WORD, 0xFF0000);
- interface.ssm(SCI_STYLESETFORE, SCE_C_STRING, 0xFF00FF);
- interface.ssm(SCI_STYLESETBOLD, SCE_C_OPERATOR, TRUE);
qregisters.initialize();
ring.edit(NULL);