[prev in list] [next in list] [prev in thread] [next in thread]
List: nedit-discuss
Subject: Re: Problems with New Language Mode
From: Thorsten Haude <yoo () vranx ! de>
Date: 2007-05-27 9:43:15
Message-ID: 20070527094315.GG1916 () eumel ! yoo ! local
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
[Attachment #4 (multipart/mixed)]
Hi,
* Jörg Fischer wrote (2007-04-24 16:55):
>This is probably a problem of the documentation. (...)
I took Jörg's suggestion and modified it a bit. Please have a look at
the attached patch.
Thorsten Arcade Fire: My Body is a Cage
--
I was amazed today to find out how much Windows
can actually be used for useful things.
- Donald E. Knuth
["doc-wordDelimiters.2007-05-27.1.diff" (text/plain)]
Index: doc/help.etx
===================================================================
RCS file: /cvsroot/nedit/nedit/doc/help.etx,v
retrieving revision 1.106
diff --unified=5 -r1.106 help.etx
--- doc/help.etx 4 Jan 2007 01:42:23 -0000 1.106
+++ doc/help.etx 27 May 2007 09:35:49 -0000
@@ -1392,15 +1392,17 @@
$ End of line
< Left word boundary
> Right word boundary
\B Not a word boundary
- Note that the \B token ensures that neither the left nor the right
- character are delimiters, or that both left and right characters are
- delimiters. The left word anchor checks whether the previous character
- is a delimiter and the next character is not. The right word anchor
- works in a similar way.
+ Note that the \B token ensures that neither the left nor the right character
+ are delimiters, **or** that both left and right characters are delimiters.
+ The left word anchor checks whether the previous character is a delimiter and
+ the next character is not. The right word anchor works in a similar way.
+
+ Note that word delimiters are user-settable, and defined by the X resource
+ wordDelimiters, cf. X_Resources_.
3>Quantifiers
Quantifiers specify how many times the previous regular expression atom may
be matched in the search text. Some quantifiers can produce a large
@@ -4114,14 +4116,19 @@
will be loaded at this time. When this resource value is False, relative path
tag specifications will only be evaluated at NEdit startup time.
**nedit.wordDelimiters**: .,/\\`'!@@#%^&*()-=+{}[]":;<>?
- The characters, in addition to blanks and tabs, which mark the boundaries
- between words for the move-by-word (Ctrl+Arrow) and select-word (double
- click) commands. Note that this default value may be overridden by the
- setting in Preferences -> Default Settings -> Language Modes....
+ The set of characters which mark the boundaries between words. In addition
+ to these, spaces, tabs, and newlines are always word boundaries.
+
+ These boundaries take effect for the move-by-word (Ctrl+Arrow) and
+ select-word (double click) commands, and for doing regex searches using the
+ \B, < and > tokens.
+
+ Note that this default value may be overridden by the setting in
+ Preferences -> Default Settings -> Language Modes....
**nedit.remapDeleteKey**: False
Setting this resource to True forcibly maps the delete key to backspace. This
can be helpful on systems where the bindings have become tangled, and in
[Attachment #8 (application/pgp-signature)]
--
NEdit Discuss mailing list - Discuss@nedit.org
http://www.nedit.org/mailman/listinfo/discuss
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic