Re: Bash syntax highlighting: Quoted text in comments

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <[email protected]>
Hello Micah,

Thanks for sharing.

Op 15-07-18 om 20:03 schreef Micah Waddoups:
> Actually this can be fixed

What can be fixed?  As you're top-posting, it is entirely unclear
to what statement of me or Michael you are responding -- I would
have to scroll down first, read *all* that is written there, and
then try to guess where your reply makes the most sense.  Don't
make me do that: post your replies inline.

> Instead of simply having a pattern that matches the item you want, you have
> to have a stack of patterns with a sub-pattern match preceding the actual
> match in order to set the context.

I don't understand this.  But... seeing in your zsh.nanorc things
like "(\((\((\((\((\((\((\((\((\([^()]*\)|[...", my mind goes numb.
Indeed, *very* complicated.  I wouldn't call this a solution.  Things
must be more or less comprehensible, and typable, if they are to be
called a solution.

> but if I have lines that are crazy long (usually a bad idea anyway), the regex
> matching whenever scrolling creates noticeable delays.

You mean your zsh.nanorc is so complicated, has such long regexes,
that it causes delays when scrolling through a zsh script?

Benno

_______________________________________________
Help-nano mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-nano
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAltM9TMACgkQDSjU0qCs
6ITFww//dQFucKDH3VQ92rHzBr/YFPEJmRexDsCAugDMdl6lBIc73eCgutBMwF8S
YuxmqqTAiPq5HThY0AmmWOuBnLCYDyjPSLqgExDf9P9vB43baKeFl7vJ+gOWkgiW
XxyMPKacphAIKGDxEnkRLjioqGF9qr9oBPudXnndf7E3LVnUtsfAxmR8fjJHJyM2
auQsyTjziFgWxGsZAbm5xH4KlS+K3iZnPnp3yc6emo50dTZQ9jxDtfAmQchhS1Mb
d0Sz0mY+75zli9MGLtSQrAihSEo0HKFVODRJJjQiiwInu9RQtRIfZe9d7fFxY/Jc
puX2nVmlBxA0umc6LEd/VtMARpaT0eZc0HzBAMJUfuSboFdved78VIxW09fH4U2+
murlxwqxg4MYO3u0iQV8E2WEmWV3A868JP//C5XP932xEaRFi2ulEhSv7wfmy44f
Rn84Axe1w3qpAaXh9aEIuYSvsMtVndH60uMLXaXC5oosWomCBMj0hlAZtRh0OPh4
znGSraOjwBtWUFnD0+jnRQmHWkAsninw7wpdADZykbt8noKOAMX18HXgQ1qy2kjI
JgSmsWNzHcQfFEx5OIrGvzvojHBpLc+V6U7OXE0hFdvlWavWZwQhwSdIUJr050iP
25kdvW1NPVULrQSZvmai0orcCktPl2l8p4gY/XuehOWVUkpw6F8=
=obu8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.