4439 Commits

Author SHA1 Message Date
Nick Treleaven
48cd3cbc12 Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
instead.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4401 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 16:17:11 +00:00
Enrico Tröger
6e873a5bd0 Fix broken build on Windows because of a typo (patch by Timothy Boronczyk, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4400 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 18:32:52 +00:00
Nick Treleaven
cf540a712f Deprecate documents_foreach() as it looks more like a function; use
foreach_document() instead.
Generate dox even for GEANY_DISABLE_DEPRECATED declarations.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4399 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 15:28:38 +00:00
Nick Treleaven
9a649260c5 Only reload filetype files when changing color scheme, not all
configuration files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4398 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 15:06:56 +00:00
Nick Treleaven
1748976317 Fix issue with default color not being reset if overridden with a
system default color.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4397 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 14:59:16 +00:00
Nick Treleaven
dfd1ea1782 Add utils_get_config_files().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4396 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 14:47:07 +00:00
Nick Treleaven
01b408c09b Add 'View->Editor->Color Schemes' menu, for now only shown if color
scheme files exist in a colorschemes config directory. Color scheme
files must end in ".conf" and currently only the [named_styles]
section is read.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4395 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-04 12:36:56 +00:00
Enrico Tröger
78e4376fba Update Slovenian translation (patch by Jože Klepec, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4394 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-03 20:04:42 +00:00
Nick Treleaven
e270ab749f Use typedef instead of pointer for widget_id function arguments.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4393 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-30 14:09:46 +00:00
Frank Lanitz
38ecf6dbe3 Update of Galician translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4392 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-30 06:54:53 +00:00
Frank Lanitz
7b4ec79a11 Update of Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4391 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-29 18:00:34 +00:00
Nick Treleaven
3467a49d6c Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4390 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-29 12:34:53 +00:00
Nick Treleaven
17a336aa7c Allow GeanyKeyBinding label field to contain underscores, which won't
be displayed by Geany. This saves adding near-duplicate translation
strings.
Add mnemonics for 3 Edit->Format menu items.
Add keybindings_get_label().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4389 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-29 11:59:55 +00:00
Nick Treleaven
b351540387 Don't expand Plugin Preferences page spacing vertically to fill the
height of the dialog.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4388 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-29 11:31:48 +00:00
Nick Treleaven
f64aaf5250 Update for Plugin Preferences keybinding.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4387 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 18:07:49 +00:00
Nick Treleaven
b9f0304f57 Add 'Edit->Plugin Preferences' menu item and keybinding.
Don't include plugindata.h in pluginutils.h because it redefines the
GEANY() macro for plugin use.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4386 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 18:06:16 +00:00
Nick Treleaven
57d2d4181b Add general function sci_get_string() that works with any string
buffer messages that follow the Windows message convention.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4385 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 16:32:22 +00:00
Nick Treleaven
637d80945d Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4384 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 11:33:11 +00:00
Nick Treleaven
00958379d4 Desensitize Edit->Commands menu item when no docs are open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4383 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-28 11:06:31 +00:00
Nick Treleaven
f44d794388 Share a single Format submenu for menubar Edit and popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4382 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 18:10:39 +00:00
Nick Treleaven
1ca381c0a2 Change editor popup Commands submenu to start as child of menubar Edit
menu, as this is more usual e.g. for keybindings initialization.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4381 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 17:47:23 +00:00
Nick Treleaven
90a166151c Add Edit->Commands submenu which is shared with the editor popup menu.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4380 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 17:27:24 +00:00
Nick Treleaven
5a1c02bb21 Fix using tab to autocomplete in some other situations that word part
completion doesn't apply in.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4379 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 15:38:40 +00:00
Nick Treleaven
60046e000d Enable switching the sidebar to the right on Windows again, as it
apparently works after all.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4378 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 14:59:46 +00:00
Nick Treleaven
3615272ec1 Add some useful commands to editor popup menu under "Commands"
submenu (thanks to Lex).
Move 'Duplicate line or selection' from Format -> Commands submenu.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4377 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 13:40:34 +00:00
Nick Treleaven
635b664f3f Sort document word completion list.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4376 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-27 13:06:04 +00:00
Enrico Tröger
d30a3058b9 Don't install unnecessary headers: dialogs.h, main.h, plugins.h, sciwrappers.h, build.h (for the Waf build system, accordingly to r4366).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4375 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:23:14 +00:00
Enrico Tröger
83516e6f6e Fix a compiler warning about an uninitialised variable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4374 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:20:49 +00:00
Enrico Tröger
519af90fd3 Again very minor formatting
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4373 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:15:27 +00:00
Enrico Tröger
8e2dae2516 Very minor formatting
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4372 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 22:14:08 +00:00
Nick Treleaven
de6d967182 Improve 'Detect from file' indentation pref by ignoring lines with
indentation wider than 24 characters as this is more likely to be
alignment than indentation.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4371 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 18:13:50 +00:00
Nick Treleaven
f064df0699 Disable switching the sidebar to the right on Windows as it will
probably fail like the Split Window plugin.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4370 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 15:45:12 +00:00
Nick Treleaven
d797f9cb02 Fix packing configure widgets equally.
Use spacing multiples of 6 as recommended by Gnome HIG.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4369 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 15:31:00 +00:00
Nick Treleaven
87ec6a3a2d Add 'Doc-comments' plugin API subsection.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4368 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 15:16:04 +00:00
Nick Treleaven
29b8a57133 Move function doc-comments to build.c so they stay in sync. Note:
these functions are still not in the API.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4367 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 14:59:47 +00:00
Nick Treleaven
b7cc451a56 Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
sciwrappers.h, build.h. (This helps to get compiler warnings for uses
of functions not in the API).
Warning: any plugins that include these headers should remove them.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4366 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 13:06:51 +00:00
Nick Treleaven
aa18efe5be Add missing dox for types/files in the API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4365 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-26 12:58:52 +00:00
Enrico Tröger
23c757ee10 Add missing API documentation (oops)
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4364 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 22:43:15 +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
8d2a258b94 Rename "select" variables into "selection" to avoid shadowed names.
Make use of ui_widget_modify_font_from_string().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4362 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 12:32:57 +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
Enrico Tröger
036e38f20b Rename "select" variables into "selection" to avoid shadowed names.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4360 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 12:21:05 +00:00
Enrico Tröger
9b215d3fcb Before looking for line and column numbers specified as part of a filename, ensure the file doesn't exist on disk. This allows opening of files like "test:0".
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4359 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 11:52:47 +00:00
Enrico Tröger
e87dda5c74 Fix adding the filetype's default extension when using the Instant Save plugin (2885142).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4358 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-25 11:43:21 +00:00
Nick Treleaven
091bfac4ac Add sidebar position interface pref.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4357 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-23 16:18:05 +00:00
Nick Treleaven
cd5b815854 Fix some changed files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4356 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-23 11:32:27 +00:00
Lex Trotman
71470ef9bf Add missing underscores to links.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4355 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 21:38:37 +00:00
Nick Treleaven
078a9cdc7d Add 'Move line(s) up/down' keybindings.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4354 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 11:28:59 +00:00
Nick Treleaven
270a8d8b14 Update for 2 changes yesterday (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4353 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 11:04:45 +00:00
Lex Trotman
8c70e03ed8 Make non-project execute configuration save to filetypes not geany.conf.
Fix closing of project failing to remove build commands dialog entry.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-10-22 09:19:30 +00:00