Hello,
On Sun, 14 Aug 2005, Jindrich Makovicka wrote:
the new viewer has a problem with viewing files with DOS line
separators, which manifests again in a lockup after pressing the End
key. Then, it is impossible to move the view further, except by pressing
the Home key.
It is caused by
Jindrich Makovicka wrote:
Hello,
the new viewer has a problem with viewing files with DOS line
separators, which manifests again in a lockup after pressing the End
key. Then, it is impossible to move the view further, except by pressing
the Home key.
Can you provide a file where that lockup
Hello,
On Mon, 15 Aug 2005, Roland Illig wrote:
Jindrich Makovicka wrote:
Hello,
the new viewer has a problem with viewing files with DOS line
separators, which manifests again in a lockup after pressing the End
key. Then, it is impossible to move the view further, except by pressing
Pavel Tsekov wrote:
Are you kidding ? Have you tried with the file I've sent you ? I've
debugged the problem and there is no way that it wont happen. Are you
using the correct MC binary ?
I am using mc-HEAD with the exception of src/view.c, which I took from
yesterday. I extracted the file
Hello,
On Mon, 15 Aug 2005, Roland Illig wrote:
Pavel Tsekov wrote:
Are you kidding ? Have you tried with the file I've sent you ? I've
debugged the problem and there is no way that it wont happen. Are you
using the correct MC binary ?
I am using mc-HEAD with the exception of
Pavel Tsekov wrote:
Another approach would be to simplify the following code from
view_move_up():
} else if (line = 1) {
view_coord_to_offset (view, linestart, line, 0);
view_offset_to_coord (view, line, col, linestart - 1);
/* if the
Hello,
On Mon, 15 Aug 2005, Roland Illig wrote:
Because we are in text wrap mode. Internally the viewer stores the
unwrapped coordinates. When you want to go one line up, you have to
distinguish whether you are inside a long line or at the beginning of a
line. This is what the code does.
Pavel Tsekov wrote:
Hello,
On Mon, 15 Aug 2005, Roland Illig wrote:
Because we are in text wrap mode. Internally the viewer stores the
unwrapped coordinates. When you want to go one line up, you have to
distinguish whether you are inside a long line or at the beginning of a
line. This is
Hello,
the new viewer has a problem with viewing files with DOS line
separators, which manifests again in a lockup after pressing the End
key. Then, it is impossible to move the view further, except by pressing
the Home key.
It is caused by the code of view_move_up, which moves by one line using