diff options
-rw-r--r-- | src/main.cpp | 4 | ||||
-rw-r--r-- | teco.ini | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp index f7ce9a1..78e4daa 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -203,13 +203,15 @@ main(int argc, char **argv) /* * FIXME: Default styles should probably be set interface-based - * (system defaults) and be changeable by TECO macros + * (system defaults) */ 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_STYLESETBACK, STYLE_LINENUMBER, 0x000000); + /* search string and status register */ QRegisters::globals.insert("_"); /* replacement string register */ @@ -7,9 +7,12 @@ EQ0Q{$SCITECOPATH}/lexer.tes ED#32ED ! margins ! -5,0ESSETMARGINWIDTHN -0,1ESSETMARGINWIDTHN -1,2ESSETMARGINWIDTHN +[.w + 33ESTEXTWIDTH9U.w + 5*Q.w,0ESSETMARGINWIDTHN + 0,1ESSETMARGINWIDTHN + Q.w,2ESSETMARGINWIDTHN +].w ! open all files specified on the commandline ! [.f |