id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,blockedby,blocking,branch_state,votes 1486,Editor completion is confusing,dborca,slavazanko,"Editor completion became really confusing in 4.7.0-pre1: 1. The list is populated with words from the entire file. This is arguably better than the old style, which scanned only up to the cursor. But the number of suggestions are limited, and if you have a bigger file, some words won't make it in the list. Besides, I somehow liked the old way. 2. Suggestions do not end on a word boundary. This may or may be not useful; but it just increases the list of suggestions, which slows the user. In the end, it beats the purpose of completions. 3. It completes the word I am currently editing. That's smart. :) 4. The suggestions are displayed in the order in which they were found from the beginning of the file. This is my main gripe, because when using the editor for coding, it is better to have suggestions based on the distance to the cursor. Closer means higher. When writing a function, I am mainly interested in the variable names I recently used. 5. Sometimes, it does not work at all, but I haven't investigated the bug. :( I have attached the patch (against 4.7.0-pre1) which mimics the old behavior, but with the new search engine and minimal changes.",defect,closed,major,4.7.0-pre3,mcedit,4.7.0-pre1,fixed,,dborca@…,,,,committed-master