4370 Commits

Author SHA1 Message Date
Nick Treleaven
c877db21df Use filetypes.foo [lexer_properties] group instead of hardcoding
lexer properties (more flexible e.g. for custom filetypes).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4432 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-18 16:48:17 +00:00
Enrico Tröger
8a5789814c Use the default dialog title set by ui_setup_open_button_callback() to be more consistent and to save one string.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4431 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 23:01:33 +00:00
Enrico Tröger
d3c731575c Improve printing status texts (patch by Dominic Hopf, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4430 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 22:56:46 +00:00
Enrico Tröger
4b206d5462 Refactor color and font button callback functions in the preferences dialog. Move the VTE related callback functions into vte.c.
Make use of ui_setup_open_button_callback().

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4429 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:49:43 +00:00
Enrico Tröger
a8a35a5536 Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in ui_setup_open_button_callback().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4428 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:47:06 +00:00
Enrico Tröger
7b39597f9c Fix slightly wrong description of how to insert Unicode characters.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4427 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-17 21:10:29 +00:00
Nick Treleaven
df881b0f0d Separate DKinds from CKinds.
Don't generate macro tags for D, Java.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4426 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-16 12:36:38 +00:00
Frank Lanitz
2be8d5181d Update of Spanish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4425 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-15 21:06:49 +00:00
Nick Treleaven
0a97a24b3e Fix reflow paragraph command when cursor < anchor using
sci_fix_selection().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4424 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 15:46:05 +00:00
Nick Treleaven
a13f91e770 Make TagManager Assert statements cause g_warning on failure.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4423 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 12:39:36 +00:00
Nick Treleaven
2f8df127c9 Add some info about making the parser tag kinds and symbol list compatible.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4422 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-12 12:12:08 +00:00
Nick Treleaven
bf3fbb6d84 Forgot to commit.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4421 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 19:06:50 +00:00
Nick Treleaven
39366947d0 Fix using "other" tag type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4420 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 19:05:51 +00:00
Nick Treleaven
ad069865cc D doesn't have the namespace keyword.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4419 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:48:14 +00:00
Nick Treleaven
8dbca1f107 Remove duplicate keyword entry.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4418 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:45:02 +00:00
Nick Treleaven
a83c65b0bc Fix parsing Perl format statements ("other" type doesn't seem to work).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4417 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:43:58 +00:00
Nick Treleaven
8f9336abef Fix invalid tree iter access when using tv_iters.tag_other but not
using tv_iters.tag_variable.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4416 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 18:37:23 +00:00
Nick Treleaven
9de2456168 Fix Geany segfault with constant tags (#2895168).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4415 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-10 17:49:24 +00:00
Enrico Tröger
d01a8f41d1 Only set the menu of the button if a non-empty GtkMenu is passed to geany_menu_button_action_set_menu() so the menu arrow keeps insensitive.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4414 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 19:13:45 +00:00
Enrico Tröger
8153aa2877 Allow autocompletion for HTML entities even within a word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4413 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 19:06:30 +00:00
Enrico Tröger
03f92c92f5 Remove useless comment about applying settings only when libvte.so could be loaded which is only displayed *if* libvte.so is loaded.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4412 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-09 18:47:39 +00:00
Nick Treleaven
8d02000e96 Fix parsing some Java code (e.g. filetypes.java) after r4407.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4411 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-07 12:41:41 +00:00
Enrico Tröger
05a1c99510 Update Dutch translation (patch by Peter Scholtens, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4410 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-07 11:58:54 +00:00
Nick Treleaven
ca11992f2b Remove unused JavaKinds enum values.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4409 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 17:35:07 +00:00
Nick Treleaven
faa7a2eb4f Quick hack to parse contents of D extern{} and version{} blocks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4408 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 17:24:31 +00:00
Nick Treleaven
3a45a2c70c Fix creating D interface tags properly.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4407 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 17:14:00 +00:00
Nick Treleaven
8ba04696af Parse D functions with contracts (fixes #1885480).
Parse D alias statement like typedef.
(Ignore some more D keywords).



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4406 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-06 13:03:28 +00:00
Enrico Tröger
1c3dbff328 Remove old code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4405 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 21:16:40 +00:00
Nick Treleaven
dd1bb7c278 Fix moving correct lines after selecting whole line(s).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4404 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:11:10 +00:00
Nick Treleaven
67d868be14 Use default color scheme if pref color scheme file doesn't exist.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4403 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:03:34 +00:00
Nick Treleaven
4efb79f35d Show number of files saved on status bar when using Save All.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4402 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-11-05 18:02:08 +00:00
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