Home Download Buy Blog Forum Support

line number bug with long, wrapped lines

line number bug with long, wrapped lines

Postby myel on Wed Nov 11, 2009 6:24 pm

hi,

it seems there is an odd line numbering bug with long, wrapped lines. the line number jumps around, line 6 becomes line 7 etc. without wordwrap its ok.

i know that it may be an edge case and one doesn't really work with such files often (if at all), nevertheless its a bug ;). you can test for you self with the attached php file (linebreaks, whitespace removed).

PS: regex search replace is very slow in such files, just try ; -> ;\n
Attachments
cake.compressed.zip
(5.38 KiB) Downloaded 164 times
myel
 
Posts: 88
Joined: Sat Mar 22, 2008 11:26 pm

Re: line number bug with long, wrapped lines

Postby vim on Wed Nov 11, 2009 6:44 pm

myel wrote:regex search replace is very slow in such files, just try ; -> ;\n


but the line numbers get fixed :D
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 31 guests