aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xdoc/grosciteco.tes9
-rw-r--r--doc/sciteco.tmac13
2 files changed, 21 insertions, 1 deletions
diff --git a/doc/grosciteco.tes b/doc/grosciteco.tes
index 4a169c7..1e57b52 100755
--- a/doc/grosciteco.tes
+++ b/doc/grosciteco.tes
@@ -126,6 +126,15 @@ EBN[input]
%[ttstart]>
]*
L F<
+ !cmd.xXsciteco_startstyling!
+ [* EB 0:M[move] U[stylestart] ]*
+ L F<
+ !cmd.xXsciteco_setstyling!
+ C :M#giU.s
+ [* EB 0:M[move]
+ Q[stylestart]ESSTARTSTYLING Q.s,(-Q[stylestart])ESSETSTYLING
+ ]*
+ L F<
!cmd.xXtty!
!cmd.xXdevtag!
L F<
diff --git a/doc/sciteco.tmac b/doc/sciteco.tmac
index 87fa902..252eeeb 100644
--- a/doc/sciteco.tmac
+++ b/doc/sciteco.tmac
@@ -55,6 +55,17 @@
. nr LL \\n[.l]u
..
.
+.\" Starts a block to manually assign a Scintilla style id.
+.de SCITECO_STARTSTYLING
+. device sciteco_startstyling
+..
+.
+.\" Assign Scintilla style $1 to block beginning with SCITECO_STARTSTYLING.
+.\" This overwrites all other styles!
+.de SCITECO_SETSTYLING
+. device sciteco_setstyling:\\$1
+..
+.
.\"
.\" Effectively disable paragraph filling in man pages.
.\" Word wrapping will be performed by Scintilla.
@@ -63,7 +74,7 @@
.\" for ms, mdoc, man
.nr LL \n[.l]u
.
-.\" set title length for man pages
+.\" set title length for man and ms
.nr LT 90n
.
.\"