pressing enter at the end of a line sometimes deletes first three chars on next line
edwards dot will at gmail dot com wrote:
I cannot reliably reproduce the issue. But when it happens it happens a lot for some period of time and I don't know why.
If I am at the end of a line and hit return, the first three chars of the next line are deleted. Sometimes I don't spot this till I run my app and I get odd error messages.
For example, the code:
Result = convert_data(Id, PayloadData),
application:stop(tbnl_space),
If I'm at the end of the convert_data line and hit return the first three chars of application get deleted. So, I have
lication:stop(tbnl_space),
On the line following the one where I hit return.
It drives me crazy sometimes because it keeps happening, and then goes away.
Thanks, Will
I cannot reliably reproduce the issue. But when it happens it happens a lot for some period of time and I don't know why.
If I am at the end of a line and hit return, the first three chars of the next line are deleted. Sometimes I don't spot this till I run my app and I get odd error messages.
For example, the code:
Result = convert_data(Id, PayloadData),
application:stop(tbnl_space),
If I'm at the end of the convert_data line and hit return the first three chars of application get deleted. So, I have
lication:stop(tbnl_space),
On the line following the one where I hit return.
It drives me crazy sometimes because it keeps happening, and then goes away.
Thanks, Will
Leave a comment
on 2009-03-08 22:28 *
By jakobc
Assigned to set to jakobc
Status changed from New to Accepted
Assigned to set to jakobc
Status changed from New to Accepted
I've reproduced it, it's when a line starts with a tab character, it seems to remove more than it should (it probably calculates #chars to remove from the detabified string).