> The problem only shows up if the tree is drawn at a location in the window > other than (0,0), and the cause seems to be that the tree origin isn't > correctly being taken into account when positioning the textarea. If the > origin isn't (0,0), then the rubout box drawn in tree_draw() appears in the > correct place, but the textarea itself seems to be placed as if the origin > was (0,0) -- that is, the origin passed to tree_draw() isn't taken into > account.
Could you provide some screenshots of the misplaced textarea? > textarea_redraw(tree->textarea, x, y, absolute_x, absolute_y, > absolute_x + clip_width, absolute_y + clip_height); You're right, there is surely something wrong with this call as the textarea code assumes it gets an absolute positioned clipping box. The only thing that wonders me is that the issue hasn't come up at the Amiga front end yet. As far as I know it handles scrolling in the same way. I think you can make this change but after it's done some feedback from Chris would be necessary in order to make sure nothing got broken. Best regards, Paul B.
