James - > When completing a word near the edge of the window, the completion list > gets truncated if there's not enough room to display the full width. The > attached patch adds a condition to the display logic which, if there's > room, will anchor the right edge of the popup-menu to the cursor > position instead of the left edge.
Hmm, not sure if this will look right. The idea is that the completed word is straight under the replaced word. And I thought the window was already moved leftwards to avoid truncation. Need to look into this, I'll put it in the todo list. - Bram -- LAUNCELOT: I am, sir. I am a Knight of King Arthur. FATHER: 'Mm ... very nice castle, Camelot ... very good pig country.... "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]