Cleanup code duplication in editor_start_auto_complete()
commit28056ce711b79a89cc32b740360063d6f26eeb51
authorColomban Wendling <ban@herbesfolles.org>
Thu, 25 Aug 2011 20:12:36 +0000 (25 20:12 +0000)
committerColomban Wendling <ban@herbesfolles.org>
Thu, 25 Aug 2011 20:12:36 +0000 (25 20:12 +0000)
treea646d092375ece804dd5adf0443264676abc46f9
parent0ecab5791f6698fbad13a60cf460570e935b79b1
Cleanup code duplication in editor_start_auto_complete()

Use read_current_word() in editor_start_auto_complete() not to
duplicate some code.  This also brings non-ASCII characters as
part of a word, first step for non-ASCII word completions.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5900 ea778897-0a13-0410-b9d1-a72fbfd435f5
src/editor.c