Monday, May 25, 2009

Final basic tasks for Gedit plugin API research

I need to:
  1. be able to add menus and keyboard shortcuts
  2. be able to use dialogs and auto-completion like drop-downs
  3. write a EAL (editor abstraction layer) so the Python code I write can be ported with reasonable ease to other editors that support Python scripting/modules
For task number 1, I will look into:
  1. http://live.gnome.org/Gedit/PythonPluginHowTo#head-5d5e6827eac2ca14b5bd4d0fc7d88c28e646865c (again)
  2. http://www.russellbeattie.com/blog/my-first-gedit-plugin
For task number 2:
  1. http://users.tkk.fi/~otsaloma/gedit/completion.py
  2. http://linil.wordpress.com/2008/05/31/using-gedit-to-auto-complete-python-code/
Task number 3 needs more thought, hopefully the design will be somewhat clearer once tasks 1 and 2 are reasonably well researched and understood.

No comments: