aboutsummaryrefslogtreecommitdiffhomepage
path: root/teco.ini
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-21 20:33:26 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 01:18:06 +0100
commit8f0e72f0fedbfc8e4f26bff93472d0c1d59247df (patch)
tree054c98dc85e7f5024f84bce563f7023a3f1a19e1 /teco.ini
parented98ca730773737e0e87e8e0a7984151adbd7805 (diff)
downloadsciteco-8f0e72f0fedbfc8e4f26bff93472d0c1d59247df.tar.gz
fixed margin configuration with GTK+ interface
* line-number style must be explicitly set, even after CLEARALLSTYLES * margin widhts are in pixels (except in Scinterm), so we must determine the pixels requiered by a number of digits (e.g. 5 digits)
Diffstat (limited to 'teco.ini')
-rw-r--r--teco.ini9
1 files changed, 6 insertions, 3 deletions
diff --git a/teco.ini b/teco.ini
index 5b4c752..817607c 100644
--- a/teco.ini
+++ b/teco.ini
@@ -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