From 40734f6a1444880ec0f804996e6ca2d9eb1d2ebb Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 31 Jan 2003 20:39:33 +0000 Subject: [PATCH] * syntax/nroff.syntax: Make colors more compatible with the highlighting used in the internal viewer - yellow for bold and brightred for italic. --- ChangeLog | 6 ++++++ syntax/nroff.syntax | 28 ++++++++++++++-------------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3beedbe22..8ddc0ee5c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2003-01-31 Pavel Roskin + + * syntax/nroff.syntax: Make colors more compatible with the + highlighting used in the internal viewer - yellow for bold and + brightred for italic. + 2003-01-31 Andrew V. Samoilov * syntax/c.syntax: Highlight trailing whitespace(s). diff --git a/syntax/nroff.syntax b/syntax/nroff.syntax index 715ec4639..3df3bdd7d 100644 --- a/syntax/nroff.syntax +++ b/syntax/nroff.syntax @@ -201,29 +201,29 @@ context default keyword whole linestart .l cyan keyword whole linestart .i cyan -context exclusive linestart .SH \n brightred - keyword \\fB*\\fP magenta - keyword \\fI*\\fP yellow +context exclusive linestart .SH \n white + keyword \\fB*\\fP yellow + keyword \\fI*\\fP brightred spellcheck -context exclusive linestart .TH \n brightred - keyword \\fB*\\fP magenta - keyword \\fI*\\fP yellow +context exclusive linestart .TH \n white + keyword \\fB*\\fP yellow + keyword \\fI*\\fP brightred spellcheck -context exclusive linestart .B \n magenta - keyword \\fI*\\fP yellow +context exclusive linestart .B \n yellow + keyword \\fI*\\fP brightred spellcheck -context exclusive linestart .I \n yellow - keyword \\fB*\\fP magenta +context exclusive linestart .I \n brightred + keyword \\fB*\\fP yellow spellcheck context exclusive whole linestart .nf linestart .fi green - keyword \\fB*\\fP magenta - keyword \\fI*\\fP yellow + keyword \\fB*\\fP yellow + keyword \\fI*\\fP brightred spellcheck # font changes should end in a \fP -context exclusive \\fB \\f\{PR\} magenta +context exclusive \\fB \\f\{PR\} yellow spellcheck -context exclusive \\fI \\f\{PR\} yellow +context exclusive \\fI \\f\{PR\} brightred spellcheck context linestart .\\" \n brown spellcheck