Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-09

Mac OS X : Highlight text in editor followed by back space does not work...

9 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Unknown author

Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel.

I noticed that if I highlight some text from right to left ( from the end of the word to the beginning of the word ) in the editor, then hit back space, it does not delete the text, but instead moves everything left. But if you highlight the text from left to right and hit backspace it correctly deletes the text.

Dominique.

Reply by email

Martin
to Unknown author
Show quoted text 8 lines
Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel. I noticed that if I highlight some text from right to left ( from the end of the word to the beginning of the word ) in the editor, then hit back space, it does not delete the text, but instead moves everything left. But if you highlight the text from left to right and hit backspace it correctly deletes the text.

I cant reproduce this.
But I do not have a Mac, yet I would not expect this to be OS dependent.

Can you check your settings on the Editor-Options/General page:
- persistent block
- overwrite block
And that "backspace" is bound to "delete last char" ?

Martin

Reply by email

Mattias Gaertner
to Martin
Show quoted text 10 lines
wrote: > Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel. > > I noticed that if I highlight some text from right to left ( from > the end of the word to the beginning of the word ) in the editor, > then hit back space, it does not delete the text, but instead moves > everything left. But if you highlight the text from left to right > and hit backspace it correctly deletes the text. > I cant reproduce this.

I can confirm this under ...

But I do not have a Mac, yet I would not expect this to be OS dependent.

... linux

Can you check your settings on the Editor-Options/General page: - persistent block - overwrite block And that "backspace" is bound to "delete last char" ?

AutoIndent
Overwrite Block
Caret past eol
block indent 2
block indent spaces
trim trailing spaces
trim spaces: caret or edit

Mattias

Reply by email

Martin
to Mattias Gaertner
Mattias Gaertner wrote 7 lines
On Sun, 13 Sep 2009 09:49:40 +0100 Martin wrote: > wrote: > >> Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel. >>

To confirm that would be 0.9.29, not 0.9.27 (aka release candidate)?

Show quoted text 12 lines
>> I noticed that if I highlight some text from right to left ( from >> the end of the word to the beginning of the word ) in the editor, >> then hit back space, it does not delete the text, but instead moves >> everything left. But if you highlight the text from left to right >> and hit backspace it correctly deletes the text I can confirm this under ... > But I do not have a Mac, yet I would not expect this to be OS > dependent. > ... linux

I tried windows-vista and ubuntu

Can you please recompile with -dVerboseKeys and attach log? Maybe attach editorsettings.xml ?

Martin

Reply by email

Martin
to Martin

Update: i found a way to reproduce.

This is if the following can be confirmed: The issue only occurs, if the cursor is on (right before) the first none-space char of the line.

In this case auto-unindent kicks in.
Same happens with a normal selection, if you select the spaces at the start of line, ending the selection at the first none space.

Martin

Martin wrote 34 lines
Mattias Gaertner wrote: > On Sun, 13 Sep 2009 09:49:40 +0100 > Martin wrote: > >> wrote: >> >>> Just built Lazarus from the latest SVN on Mac OS X 10.5.8 Intel. >>> To confirm that would be 0.9.29, not 0.9.27 (aka release candidate)? >>> I noticed that if I highlight some text from right to left ( from >>> the end of the word to the beginning of the word ) in the editor, >>> then hit back space, it does not delete the text, but instead moves >>> everything left. But if you highlight the text from left to right >>> and hit backspace it correctly deletes the text > I can confirm this under ... > >> But I do not have a Mac, yet I would not expect this to be OS >> dependent. >> > ... linux > I tried windows-vista and ubuntu Can you please recompile with -dVerboseKeys and attach log? Maybe attach editorsettings.xml ? Martin -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Mattias Gaertner
to Martin
Show quoted text 7 lines
Update: i found a way to reproduce. This is if the following can be confirmed: The issue only occurs, if the cursor is on (right before) the first none-space char of the line. In this case auto-unindent kicks in. Same happens with a normal selection, if you select the spaces at the start of line, ending the selection at the first none space.

All confirmed.

Mattias

Reply by email

Martin
to Mattias Gaertner

Please test with revision 21681

Mattias Gaertner wrote 24 lines
On Sun, 13 Sep 2009 11:13:41 +0100 Martin wrote: > Update: i found a way to reproduce. > > This is if the following can be confirmed: The issue only occurs, if > the cursor is on (right before) the first none-space char of the line. > In this case auto-unindent kicks in. > Same happens with a normal selection, if you select the spaces at the > start of line, ending the selection at the first none space. > All confirmed. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email