turn Processor.mode property into a private attribute.
We don't need to access it externally.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Revises Makefile and README to refer to gocode.
We will be implementing code auto-completion next.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Refactors some code in config dialog.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Refactors some code in the processors.
The Processor.mode field is no longer a bit field.
It can define a value of either NONE, READ or WRITE,
which determines when and where the processor is to
be run.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Begins implementation of `gocode` processor.
Contrary to the othre processors so far, this one is
not bound to the document save signals. Instead it should
be run whenever the user types a dot (.) character in a
valid block of code.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Adds a gschema for the gocode processor settings.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Revises config dialog UI to reflect changes to the definition
of a processor mode we applied previously.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Changes install directory to a `gotools` subdirectory in
the gedit plugin dir. This keeps our plugin files isolated
and allows us to compile the gschema locally and copy the
compiled version over to the install location.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Adds gschema entries for some `gocode` properties.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Removes the `load_config` and `save_config` functions from
the Processor class. All properties are to be read and written
directly on the GLib.Settings object for the given processor.
This simplifies some code. This also allows us to remove the
Save button in the config dialog. Properties are persisted
simply by editing them.

Fixes the Path class to return the lpugin installation dir
thruogh a function, instead of a global, static variable.
This variable was assigned through a call to GLib.Environment
which is not initialized when the variable is assigned.
Leading to the PLUGIN_DIR value to be null. This in turn
caused the loading of gsettings schemas to fail.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Reorganises the layout of config dialog pages.
Specifically the grid holding processor options.
Where the grid was previously 4 columns wide, it
is now 2 columns wide.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Revises the description text on the `gofmt` processor.
It includes a note about the option to disable it when
`goimports` is active.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>
Implements configuration properties for the `gocode` processor.

Signed-off-by: Jim Teeuwen <jimteeuwen@gmail.com>