Le Mer 25 Janvier 2006 23:10, martin f krafft a écrit :
If a link contains special characters like the German ÄÖÜ, the link
definition will be highlighted as if it was a comment. Maybe use
[[:alpha:]] instead of [a-z] ?
done. the new file is attached if you wanna try it.
--
·O· Pierre
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1100 +0100]:
done. the new file is attached if you wanna try it.
Better, but now the link definition (.. _link text: ...) isn't
highlighted at all.
Thanks for all your help!
--
.''`. martin f. krafft [EMAIL PROTECTED]
: :' :
Le Jeu 26 Janvier 2006 11:07, martin f krafft a écrit :
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1100
+0100]:
done. the new file is attached if you wanna try it.
Better, but now the link definition (.. _link text: ...) isn't
highlighted at all.
Thanks for all your help!
Still no dice. FYI, here's my test file:
Bla bla
adkfnsd asdf asdf avg adsv asdv asdv asdv asdv asdv ewar ag qwef `This is
Ä Test`_
.. _This is Ä Test: htp
--
.''`. martin f. krafft [EMAIL PROTECTED]
: :' :proud Debian developer and author: http://debiansystem.info
`. `'`
`-
Le Jeu 26 Janvier 2006 11:28, martin f krafft a écrit :
Still no dice. FYI, here's my test file:
Bla bla
adkfnsd asdf asdf avg adsv asdv asdv asdv asdv asdv ewar ag qwef
`This is Ä Test`_
.. _This is Ä Test: htp
this is because you are using utf-8 : in :he pattern.txt you'll see that
\w
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1225 +0100]:
this is because you are using utf-8 : in :he pattern.txt you'll see that
\w and [:alnum:] that are the same only work in 8-bit locales mode.
utf-8 does not seems to be supported, wich is a pity, and is not
related to the
Le Jeu 26 Janvier 2006 12:29, martin f krafft a écrit :
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1225
+0100]:
this is because you are using utf-8 : in :he pattern.txt you'll see
that \w and [:alnum:] that are the same only work in 8-bit locales
mode. utf-8 does not seems
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1320 +0100]:
errr, \w works only with 8-bits characters, not 8-bit locales. so
`link`_ works but `äţćùuü`_ won't
if you use de_DE.iso-8859-1 I suppose `Ich bin ein Übergeek`_ would work
while it would'nt in de_DE.UTF-8
But it does,
Le Jeu 26 Janvier 2006 14:32, martin f krafft a écrit :
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1320
+0100]:
errr, \w works only with 8-bits characters, not 8-bit locales. so
`link`_ works but `äţćùuü`_ won't
if you use de_DE.iso-8859-1 I suppose `Ich bin ein Übergeek`_
also sprach Pierre Habouzit [EMAIL PROTECTED] [2006.01.26.1500 +0100]:
If you have time to patch them, I'll be happy to integrate it. but
IMHO, the bug here is not really the syntax file, but really the
fact that \w and friends are not utf-8 aware. the syntax file is
correct.
Fair analysis.
If a link contains special characters like the German ÄÖÜ, the link
definition will be highlighted as if it was a comment. Maybe use
[[:alpha:]] instead of [a-z] ?
--
.''`. martin f. krafft [EMAIL PROTECTED]
: :' :proud Debian developer and author: http://debiansystem.info
`. `'`
`-
11 matches
Mail list logo