Quote:
Originally Posted by jtshaw
Other then that, or editing ridiculously large files, I don't know why a text editor would be slow.
|
It looks like you hit the nail on the head! Well, pretty close to the head at least - my files were all quite small and stuff. But it does seem like the problem is caused by large one-liner segments of code. Like, I would have parts that would go a long distance before having a line break. Stripped-down example:
Code:
<table><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr><tr><td></td><td></td><td></td><td></td><td></td></tr></table>
Once I cut lines like this into chewable bite-sized pieces like:
Code:
<table>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
</table>
The lag dissapeared. So I guess it is indeed a bug in whatever underlying text editing engine both
gedit and
Bluefish use. At least that's what it looks like to me. The good news is that it's easy to work-around, and plus you end-up with much more manageable markup!
Thanks for the support guys!