Not signed in (Sign In)

Categories

Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthordangdang
    • CommentTimeJul 21st 2008
     permalink
    Since I use word wrap, when I scroll down the page that has many long lines that have been wrapped the scrolling is very uneven. For an instance it will be fast and then slow again. It is due to the word wrap. Long lines that are wrapped scroll very slowly and then all of a sudden the scroll bar will jump.

    Can you reproduce this bug?

    Thanks!
  1.  permalink

    Well, I’m not sure what the bug is. But there are few things worth considering:

    1. The vertical scrollbar is scrolling by physical lines, not wrapped lines. This is for performance reasons, otherwise the editing component should process whole file before it shows it up and that might take a while with long documents.
    2. The editing component is not really optimized for wrapping and working with long lines and for really long ones (speaking about 32000 characters and more) it should get slower before processing the lines. Editing component has a caching mechanism that is pre-set for reasonable ratio between memory usage and performance.

    It would be great if you can send us the document so we can see the bug ourselves and also do the profiling with the new 0.3.5 we are working on. Also a description of your hardware configuration would be helpful.

    Thank you for your report.

    • CommentAuthordangdang
    • CommentTimeJul 21st 2008
     permalink
    @martin The document I was viewing was jQuery. You can get it at: http://code.google.com/p/jqueryjs/downloads/detail?name=jquery-1.2.6.min.js

    Turn on word wrap and start scrolling down the document with your mouse wheel. You will see what I mean.

    I understand your explanation. It makes sense that it would only scroll so much per line but it feels funny when you are working with something like jQuery that has lines that wrap 15+ times over.

    Thanks for your help.
    • CommentAuthordaryl
    • CommentTimeJul 21st 2008 edited
     permalink

    I was going to say: “I expect that if you put the cursor at the very beginning and press down, it will go down whole lines at a time” but it doesn’t; it goes down by one pseudo-line each time. Therefore, I would also expect using the scrollbar to have the same effect — especially as pressing the arrows at the top and bottom of the scrollbar cause it to scroll by pseudo-lines.

  2.  permalink

    dangdang: We are working on better way of vertical scrolling that will make things much better.

    daryl: Ok, I understand, but please read my previous explanation and the sentence above this one.