aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/sciteco.tmac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2024-11-10 06:31:35 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2024-11-10 06:31:35 +0300
commit1498c13df11c851b5057bb758a434798345a1b20 (patch)
tree9379c1fe81dc2e2c0c38ce2cbf75735bf1f96f3f /doc/sciteco.tmac
parent730567beb9a74b7ec80a28cc498b3c2761e6f16e (diff)
downloadsciteco-1498c13df11c851b5057bb758a434798345a1b20.tar.gz
grosciteco: support .SCITECO_STARTSTYLING and .SCITECO_SETSTYLING macros
This could theoretically be used to apply Scintilla styles not natively and easily supported by grosciteco, eg. different fonts and font sizes.
Diffstat (limited to 'doc/sciteco.tmac')
-rw-r--r--doc/sciteco.tmac13
1 files changed, 12 insertions, 1 deletions
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
.
.\"