ipython/ipython — pull request #6742 by blink1073 (2014-10-19 20:09:56+00:00)
Title: QtConsole Completion Fix - Do not force the "end" to be later than the "start"

This is a follow-on fix to #6692. I by forcing "end > start", if the buffer ended with a non-python identifier, the last character would be eaten by the result: e.g. `import `, select `abc`, would result in `importabc`. With this patch, we now get `import abc`.