==== Install gtksourcecompletion ====

You will need install gtksourview-dev and dependencies.

1.- Download gtksourcecompletion
2.- uncompress the the file with: tar xvzf gtksourcecompletion-xxx.tar.gz
3.- execute:
	./configure (I run ./configure --prefix=/usr in ubuntu)
	make && sudo make install

Now you have gtksourcecompletion library installed.

==== gedit plugin installation ====


= The new way (better) =

You will need the gedit-dev package.

1.- Download gedit document words completion plugin
2.- uncompress the file with: tar xjvf gedit-docwordscompletion-0.3.0.tar.bz2
3.- execute:
	./configure (I run ./configure --prefix=/usr in ubuntu)
	make && sudo make install


= Old way =

You will need the gedit source.

1.- Download gedit document words completion plugin
2.- uncompress it into geditsource/plugins/. (with the folder docwordscompletion)
3.- now modify geditsource/configure.ac and add plugins/docwordscompletion/Makefile line
       into AC_CONFIG_FILES like another plugins
4.- Adds docwordscompletion in geditsource/plugins/Makefile.am in DIST_SUBDIRS and SUBDIRS variables
5.- install gedit again. In geditsource execute:
	./configure (I run ./configure --prefix=/usr in ubuntu)
	make && sudo make install

If you have written all paths fine, gedit must have a new plugin. 

==== Activate the plugin in gedit ====

1.- Go to Edit -> Preferences -> plugins
2.- Active the document words completion plugin
3.- Configure the plugin by pressing the configure plugin button if you want.

Now you have the plugin installed in gedit!!!!!