scummvm random work
[patches.git] / nano-trailing-space.patch
CommitLineData
5e993f12 1Index: doc/syntax/asm.nanorc
2===================================================================
3RCS file: /cvsroot/nano/nano/doc/syntax/asm.nanorc,v
4retrieving revision 1.1
5diff -u -p -r1.1 asm.nanorc
6--- doc/syntax/asm.nanorc 1 Jun 2006 17:23:28 -0000 1.1
7+++ doc/syntax/asm.nanorc 11 Apr 2007 11:20:31 -0000
8@@ -13,3 +13,5 @@ color brightyellow start=""(\\.|[^"])*\\
9 ## Highlight comments
10 color brightblue "//.*"
11 color brightblue start="/\*" end="\*/"
12+## Trailing space
13+color ,green "[[:space:]]+$"
14Index: doc/syntax/c.nanorc
15===================================================================
16RCS file: /cvsroot/nano/nano/doc/syntax/c.nanorc,v
17retrieving revision 1.7
18diff -u -p -r1.7 c.nanorc
19--- doc/syntax/c.nanorc 2 Oct 2006 17:01:58 -0000 1.7
20+++ doc/syntax/c.nanorc 11 Apr 2007 11:20:31 -0000
21@@ -25,3 +25,6 @@ color brightyellow start=""(\\.|[^"])*\\
22 ## Comment highlighting
23 color brightblue "//.*"
24 color brightblue start="/\*" end="\*/"
25+
26+## Trailing space
27+color ,green "[[:space:]]+$"
28Index: doc/syntax/sh.nanorc
29===================================================================
30RCS file: /cvsroot/nano/nano/doc/syntax/sh.nanorc,v
31retrieving revision 1.3
32diff -u -p -r1.3 sh.nanorc
33--- doc/syntax/sh.nanorc 8 Jun 2006 12:49:57 -0000 1.3
34+++ doc/syntax/sh.nanorc 11 Apr 2007 11:20:31 -0000
35@@ -10,3 +10,4 @@ color brightblue "\<(cat|cd|chmod|chown|
36 icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
37 color cyan "(^|[[:space:]])#.*$"
38 color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
39+color ,green "[[:space:]]+$"