Nick Treleaven
98e6efb3b4
Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5237 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-09-16 15:31:23 +00:00
Enrico Tröger
0f7d1928cc
Add editor_goto_pos() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5164 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-15 17:44:31 +00:00
Enrico Tröger
befcb63e59
Ensure inserted templates always have proper line ending characters
...
according to the current document's preference.
This is also fixes problems with templates on Windows which had
always Unix line ending characters but now since they are read
from files, these have Windows line ending characters and had been
converted twice.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-08-01 17:20:50 +00:00
Nick Treleaven
de29305a31
Fix not loading plugins built against a newer API when Geany doesn't
...
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 15:04:07 +00:00
Nick Treleaven
c41b55d692
Add ui_combo_box_add_to_history() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:20:15 +00:00
Enrico Tröger
e996570c11
Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so plugins' meta information can be translated already in the plugin manager dialog (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-30 18:05:18 +00:00
Nick Treleaven
fdfbd2efb4
Add symbols_get_context_separator() to plugin API (patch by Colomban
...
Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4876 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-05 16:26:25 +00:00
Nick Treleaven
700e6e96bf
Add sci_set_line_indentation(), sci_get_line_indentation() to API
...
(patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4869 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-03 14:46:32 +00:00
Enrico Tröger
e28ca32274
Add option 'System Default' for toolbar icon style and size to use the GTK default value.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4817 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-11 21:56:08 +00:00
Nick Treleaven
a8bc1cb59a
Add Stash widget functions to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4795 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 16:21:28 +00:00
Nick Treleaven
90acc27a7a
Add Stash setting functions to API.
...
Remove unnecessary argument to stash_group_load_from_file().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4790 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 16:29:38 +00:00
Nick Treleaven
201b595b51
Rename Stash data types to be independently named from Geany (so
...
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4776 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-18 17:04:17 +00:00
Enrico Tröger
31a4eddf44
Add utils_copy_environment() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4764 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-15 14:48:43 +00:00
Enrico Tröger
f72f6381df
Add and use convenience function ui_is_keyval_enter_or_return() and add it to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4737 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 19:33:15 +00:00
Nick Treleaven
6e14e8a667
Fix GLib warning when toggling 'no plugins available' item.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4632 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-01 17:45:18 +00:00
Frank Lanitz
383841ce01
Add editor_insert_text_block() to plugin API
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4521 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-12 18:44:38 +00:00
Enrico Tröger
7ba4a81181
Update copyright information.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4518 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-01 22:55:18 +00:00
Enrico Tröger
4021505786
Add sci_find_text() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4516 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-31 15:47:56 +00:00
Enrico Tröger
87a2c53dc7
Fix sensitivity of the Edit->Plugin Preferences menu item if plugins are loaded which do not provide a configuration dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4509 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:35:30 +00:00
Enrico Tröger
09afb37dad
Add editor_get_eol_char_name(), editor_get_eol_char_len() and editor_get_eol_char() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4508 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-12-29 18:23:54 +00:00
Enrico Tröger
bb81104fcb
Add main_is_realized() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4453 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-29 13:36:26 +00:00
Enrico Tröger
d7e8d98649
Add sci_goto_line() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4363 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 22:27:13 +00:00
Enrico Tröger
192997370a
Add ui_widget_modify_font_from_string() to the plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4361 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 12:30:36 +00:00
Nick Treleaven
0b8c46a8a8
Add highlighting_set_styles() to API, use for Split Window plugin so
...
filetypes.common settings get set too.
Make highlighting_set_styles() take GeanyFiletype pointer instead of
filetype id.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4322 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-15 16:54:15 +00:00
Nick Treleaven
539f8b3068
Add document_get_notebook_page() to API.
...
Minor edits of dox.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4311 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-14 12:21:18 +00:00
Nick Treleaven
39cdcac742
Make Split Window 'Show current document' button have a drop-down menu
...
to select the other documents.
Add new API function ui_menu_add_document_items().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4308 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-13 17:14:25 +00:00
Nick Treleaven
3ae9a30e57
Add utils_get_file_list_full() to API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4265 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-29 13:51:54 +00:00
Nick Treleaven
8c38bdd745
Add plugin_show_configure() API utility function.
...
Add File Browser popup menu 'Preferences' item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4244 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 14:07:24 +00:00
Nick Treleaven
ce104016c9
Show plugins that only implement plugin_configure_single() in the
...
multiple-configure dialog as a page with a configure button on it.
Add padding for multiple-configure dialog.
Make the multiple-configure dialog notebook tabs scrollable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4241 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-27 12:01:36 +00:00
Nick Treleaven
83f0cdbec0
Show multiple plugins in the 'Configure Plugins' dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4234 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:54:08 +00:00
Nick Treleaven
20a5fb25f6
Add plugin_configure_single() plugin symbol which is easier to
...
implement than plugin_configure() but won't support a
multiple-plugin configure dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4233 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-24 16:28:59 +00:00
Nick Treleaven
c100272031
Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
...
sci_is_marker_set_at_line() to the plugin API (thanks to Yura
Siamashka).
Add sci_toggle_marker_at_line().
Fix SciFuncs alignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4178 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-12 17:39:49 +00:00
Nick Treleaven
3eae7e813a
Minor edit of plugin manager string ;-)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4165 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-07 12:10:57 +00:00
Enrico Tröger
316f77f1f8
Add new plugin signal: "document-before-save".
...
Add get_line_end_position(), set_target_start(), set_target_end(), replace_target() to the plugin API (patch by Eugene Arshinov, thanks).
Add new plugin signal: "document-filetype-set" (closes #2852286 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4162 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 16:51:11 +00:00
Enrico Tröger
b0cd7b918b
Improve the opening string in the plugin manager dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-06 16:49:09 +00:00
Nick Treleaven
0e94d03bf7
Remove plugin from plugin manager dialog on unloading if it no
...
longer exists or is incompatible.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-09-01 17:20:34 +00:00
Nick Treleaven
d584365470
Add warning if only one of the plugin_key_group[_info] symbols is
...
defined for a plugin.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-31 15:25:35 +00:00
Nick Treleaven
43620e7ce4
Remove GeanyKeyGroup struct from the API - plugins should not set
...
these fields.
Make keybindings_set_item() duplicate the name and label fields
(needed by GeanyLua) and return a keybinding pointer.
Add keybindings_get_item() to the API (in case it's useful).
Move some keybinding code out of plugin source files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-25 16:55:56 +00:00
Nick Treleaven
770d40ab98
Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
...
GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
the ABI when adding fields to them.
Add plugin_set_key_group() for plugins to dynamically set a
keybinding group (e.g. for the Lua script plugin). Used in Split
Window plugin as an example.
Improve keybinding docs a little.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-24 11:35:13 +00:00
Nick Treleaven
83b9594495
Merge Plugin and GeanyPluginPrivate structs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4108 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-18 15:57:50 +00:00
Nick Treleaven
0ad10ecfe3
Fix disconnecting plugin signal id when not using geany_object.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 11:56:25 +00:00
Nick Treleaven
69922305e0
Add plugin_signal_connect() for connecting plugin signals at
...
runtime and also for connecting to any GObject signal.
Add 'Plugin Utility Functions' on main page.
Add foreach_array() macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4041 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-29 17:40:20 +00:00
Nick Treleaven
56fca1b417
Move plugin_* utility functions to pluginutils.c.
...
Add pluginprivate.h.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4035 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 11:35:33 +00:00
Enrico Tröger
373678aec3
Move utils_str_remove_chars() from the plugins/splitwindow.c to src/utils.c and add it to the plugin API.
...
Make utils_str_remove_chars() work on a new copy of the input string instead of modifying it in place.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4003 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 23:10:46 +00:00
Nick Treleaven
c4513eecaf
Add geanyplugin.h single include for plugin API; update all core
...
plugins to use it.
Add sci_set_font() to API.
Update plugin howto.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3966 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:06:20 +00:00
Enrico Tröger
3f3478533d
Make the plugin manager dialog a bit bigger.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3919 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-04 10:47:47 +00:00
Nick Treleaven
e3edfba0cd
Add debug message if plugin has not set a name for its keybinding
...
group.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-23 12:51:16 +00:00
Enrico Tröger
8b5b6287e1
Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is saved within Geany.
...
Refactor some related code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3874 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-06-20 16:51:32 +00:00
Enrico Tröger
fb2644219a
Don't print debug messages on plugin initialisation anymore.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3745 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-28 18:20:35 +00:00
Enrico Tröger
62fddcaddf
Use G_MODULE_SUFFIX to build the plugin filenames.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3738 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-04-27 19:29:33 +00:00