[prev in list] [next in list] [prev in thread] [next in thread]
List: jedit-devel
Subject: [ jEdit-devel ] [ jedit-Patches-1953341 ] Option to findwordstart
From: "SourceForge.net" <noreply () sourceforge ! net>
Date: 2008-07-18 6:26:03
Message-ID: E1KJjPn-0004FY-Jl () g45xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Patches item #1953341, was opened at 2008-04-28 13:34
Message generated for change (Comment added) made by strank
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1953341&group_id=588
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: texteditor
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: strank (strank)
Assigned to: Nobody/Anonymous (nobody)
Summary: Option to findwordstart to eat whitespace only after words
Initial Comment:
Attached is a patch against revision 12516.
Currently: the movement/deletion/selection commands that eat whitespace result in \
stopping at word-starts when moving forwards and stopping at word-ends when moving \
backwards.
The attached patch adds an option to TextUtilities' findWordStart that changes this \
to stop at word-starts only when moving backwards. (i.e. it eats whitespace only \
behind words and continues past word-ends)
To be useful, I also add new variants of TextArea's goToPrevWord and backspaceWord \
and the corresponding actions. If you then use these actions with the standard keys:
C+BACK_SPACE Delete Previous Word (Eat Whitespace after word)
C+LEFT Go to Previous Word (Eat Whitespace after word)
CS+LEFT Select Previous Word (Eat Whitespace after word)
you get the behaviour that most text areas have (such as for example this one in \
Firefox, which I am using now).
Cheers,
stefan
----------------------------------------------------------------------
> Comment By: strank (strank)
Date: 2008-07-18 08:26
Message:
Logged In: YES
user_id=1731600
Originator: YES
A small lobbying attempt: :-) This patch does not change default
behaviour, it simply adds movement commands to allow for the behaviour of
most other text areas out there. Thanks for your consideration.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300588&aid=1953341&group_id=588
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
--
-----------------------------------------------
jEdit Developers' List
jEdit-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic