Re: [Lazarus] How should "delete to end of word behave"

2008-12-21 Thread Martin
Alexander Klenin wrote: > On Sun, Nov 9, 2008 at 02:39, Alexander Klenin wrote: > >> Just found another minor glitch. Given text: >> >> abc def >> xyz >> >> Ctrl+T results in >> >> abc defxyz >> >> i.e. spaces _to the left_ of cursor are deleted. >> > > Since there was no reaction, I clos

Re: [Lazarus] How should "delete to end of word behave"

2008-12-21 Thread Alexander Klenin
On Sun, Nov 9, 2008 at 02:39, Alexander Klenin wrote: > Just found another minor glitch. Given text: > > abc def > xyz > > Ctrl+T results in > > abc defxyz > > i.e. spaces _to the left_ of cursor are deleted. Since there was no reaction, I closed original issue http://bugs.freepascal.org/view.ph

Re: [Lazarus] How should "delete to end of word behave"

2008-11-08 Thread Alexander Klenin
Just found another minor glitch. Given text: abc def xyz Ctrl+T results in abc defxyz i.e. spaces _to the left_ of cursor are deleted. -- Alexander S. Klenin Insight Experts Ltd. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.la

Re: [Lazarus] How should "delete to end of word behave"

2008-11-08 Thread Alexander Klenin
I tested the latest trunk with the fix to this issue (#12583). Since I can not comment on 'resolved' issue without reopening it, I'll do it here. It works as described in the last note, and, while slightly complicated and not fully compatible with Delphi, I think current behaviour is good enough.

Re: [Lazarus] How should "delete to end of word behave"

2008-11-08 Thread Marius
> > BTW, perhaps it would be good to add Ctrl+Delete as a default synonym to > Ctrl+T > Correct me if i'm wrong about this, but basicly i think we all agree that option 1 isn't going to be very helpfull (way to much keystrokes). I do not know if option 3 will be used a lot (for me it feels w

Re: [Lazarus] How should "delete to end of word behave"

2008-11-07 Thread Alexander Klenin
On Sat, Nov 8, 2008 at 07:28, Martin Friebe <[EMAIL PROTECTED]> wrote: > IMHO there are 3 option how it could finally be. You can see in all 3 > examples that it will differ between space, identifer-chars, and punctation > > > 1) spaces are *not* trimmed > f|oo_bar := ord('b'); -> f| := ord

Re: [Lazarus] How should "delete to end of word behave"

2008-11-07 Thread Martin Friebe
Marius wrote: > I'm a of the option to delete the spaces behind the word also to make > the editor turbo and delphi compatible. Its not because i want it to be > fully compatible, but handling it this way requires a lot less > keystrokes if you want to delete the first 4 words in a sentence. > >

Re: [Lazarus] How should "delete to end of word behave"

2008-11-07 Thread Marius
I'm a of the option to delete the spaces behind the word also to make the editor turbo and delphi compatible. Its not because i want it to be fully compatible, but handling it this way requires a lot less keystrokes if you want to delete the first 4 words in a sentence. I was testing a bit more

[Lazarus] How should "delete to end of word behave"

2008-11-07 Thread Martin Friebe
In 0.9.26 Lazarus deletes to the end of the current token. (Note current SVN behaves different) |foo_bar := 1; deletes as follows foo_bar := 1 ; There is a request to include deletion of the space, into the deletion of the word before it foo_bar := 1 ; While this would be no probl