From: Bernard D. <bde...@us...> - 2018-11-09 16:29:14
|
After a lot of experiments, I have identified the exact circumstances which provoke these jumps. In any file, this affects only the longest line. It concerns lines that are longer than the width of the text view (i-e which extend past the right edge of the window). If the longest line (say *L1*) is not at the bottom of the window and you type a character anywhere in the visible part of this line, it *"jumps"* to the bottom of the window, that is to say the text is moved so that line *L1* becomes the last line of the visible part of the text. If you have another long line (say *L2*), typing a character does not cause this strange behavior but if you keep typing characters, then as soon as the length of *L2* exceeds the length of *L1*, line *L2* jumps to the bottom of the window. This happens because at this moment *L2* becomes the longest line of the text. I don't think this is related to the *fillColumn* preference but I have no clue at the moment to understand what's going on under the hood. --- ** [tickets:#189] Erratic 'bottomRedraw'** **Status:** open **Created:** Thu Nov 01, 2018 11:34 AM UTC by Joachim Kock **Last Updated:** Wed Nov 07, 2018 07:13 PM UTC **Owner:** nobody Paste this report into an Alpha window with hard wrap fillColumn=64. Resize the window to approximately 75 chars wide. Make the window short enough vertically, say 15 lines high. Scroll to place the Q line near the middle of the window. Now start writing with short words after the Qs. At the moment the end of the line (marked 888) hits the edge of the window, the window focus suddenly jumps, making the active line the last visible line of the window. z z z z z QQQ QQQ QQQ QQQ QQQ QQQ QQQ QQQ QQQ zzz zzz zzz zzz zzz 888 ggg ggg ggg ggg ggg ggg ggg ggg ggg ggg ggg ggg ggg ggg ggg z z z z z z z z z z z z z z --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |