From: Dale A. <da...@gr...> - 2013-07-22 00:48:25
|
It seems to me there are two ways to look at this -- 1) Go to Next Word figures out what a word is and goes there 2) Go to Next Word goes to the next non-word character. These are different, and get different results. jEdit is doing #2, and Edward would like #1. Since #1 is not currently implemented, this is a feature request. I agree with Marc, I don't mind seeing the feature added as long as the current functionality continues to work as is. I know that quite a few jEdit users are using jEdit for things other than programming languages, like writing books or other documentation, so this would be a useful feature for such users. At heart, though, jEdit is a programmer's editor and is specifically designed to support programming languages (rather than natural languages), so the current functionality needs to remain. Also, the new feature needs to keep Mike's comments in mind, quite a few jEdit users use character sets other than ASCII. Just my 2 cents :) Dale On Sun, Jul 21, 2013 at 5:57 PM, Edward Diener <eld...@tr...>wrote: > On 7/21/2013 6:31 PM, Marc Häfner wrote: > > On 21.07.2013 16:01, Edward Diener wrote: > >> I am a bit lost here. > > This is most probably because we are talking about two different things. > > > > I am talking about what C+RIGHT and CS+RIGHT should do. Which is what > > they already do (particularly the behavior for non-word, non-whitespace > > characters). > > > > You (seem to) talk about what an action named "Go to next Word" should > > do. And in this regard you are certainly right. The name does suggest a > > different functionality. > > > >> ...What you want is the way Jedit now works but it does not have > >> anything to do with "next word" or "select next word" as I understand it > >> in an editor. > > Exactly. I too would find this behavior very weird in a mail client, a > > word processor or a browser. But I do expect and value it in a > > "Programmers Text Editor" (see the previous examples). > > > > Just to be perfectly clear: I am not opposed to ADDING a new action that > > does what you describe. What I am arguing against is changing the > > current (default) action. > > Then JEdit needs a set of new actions based on a "word" as it is defined > in the JEdit documentation: > > "Normally, a word is a sequence of alphanumerics, but you can add other > characters as part of what jEdit considers to be a 'word', set on a > global or mode basis from Global Options - Editing - Extra Word > Characters. In addition, this behavior can be changed by remapping these > keystrokes to alternative actions whose names end with (Eat Whitespace) > in the Shortcuts pane of the Utilities>Options dialog box; see the > section called “The Shortcuts Pane”." > > Calling these new actions by a name which specifies a "defined" word is > fine by me, such as "Go to Next Defined Word" or "Select Previous > Defined Word". I would want an equivalent action for a "defined" word, > as specified in the doc blurb above, for each of the current "word" > actions if JEdit preserves the functionality of the current "word" actions. > > > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > -- > ----------------------------------------------- > jEdit Users' List > jEd...@li... > https://lists.sourceforge.net/lists/listinfo/jedit-users > |