diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-11-10 06:31:35 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2024-11-10 06:31:35 +0300 |
commit | 1498c13df11c851b5057bb758a434798345a1b20 (patch) | |
tree | 9379c1fe81dc2e2c0c38ce2cbf75735bf1f96f3f /doc | |
parent | 730567beb9a74b7ec80a28cc498b3c2761e6f16e (diff) | |
download | sciteco-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')
-rwxr-xr-x | doc/grosciteco.tes | 9 | ||||
-rw-r--r-- | doc/sciteco.tmac | 13 |
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 . .\" |