Comment 10 for bug 505765

Revision history for this message
Morgane Roy (morgane-mm-roy) wrote :

Hello,

I fell upon this bug and can confirm that Gedit misbehaves when dealing with a lot of spaces in a text file. I tested with the provided file the following way. When treating this string:

'CREATE TABLE people( <240 spaces here> id<newline>...'

the text is displayed in the following manner

CREATE TABLE people
(<240 spaces here>id<newline>
...

When the cursor is placed between the 'e' in 'people' and the bracket, when one hits backspace the line is not moved upwards, but the 'e' is deleted. In fact the line is never moved up one when the <neline> char is deleted.

I think this is kind of weird behaviour. Can someone confirm that this is not a normal behaviour. If yes, how should gedit behave? IMHO the line should be moved up one line when between 'e' in 'people' and the bracket and when one hits backspace.

HTH