> Try using "git blame src/insets/InsetTabular.cpp" to know at what commit
each line of code has been added/modified. Google can tell you how to play
detective with that command 
> I am surprised though. What is the problem ?

Thanks. I will try with that.

As I see, void InsetTabular::cursorPos is the place where modify the cursor
position within tables. By disabling resetPos(...) what we do is keep scx_
at 0 and do not update the cursor x position using scx_. If we disable
resetPos(...) and try adding text to a already wide cell where the table is
in a scrolled position, table slightly scrolls without going into the
conditions we created in BufferView::checkCursorLeftEdge to change the left
edge.

So, it seemed like there is some other place which handles scrolling of a
table. However as I can see resetPos() only does calculations for scx_.
Where does the scrolled row is drawn? Is there any other place which updates
the x value used to draw in draw method in BufferView? I mean, tables get
scrolled before our implementation for horizontal scrolling using a variable
for left edge.

Thank you
Hashini

Reply via email to