3973 Commits

Author SHA1 Message Date
Nick Treleaven
858a97e90a Prevent adding entries for both system and user custom filetype
files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4072 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 15:12:50 +00:00
Nick Treleaven
1665bc61bc Change custom filetype filename format to filetypes.Foo.conf for
consistency with built-in filetype files.
Fix loading custom filetype settings (e.g. default extension).
Add note about using GeanyFiletype pointer instead of filetype_id
for function arguments.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 14:47:44 +00:00
Nick Treleaven
2bb49a38c8 Support adding custom filetype files e.g. filetype.Foo.conf. (Only
tested with empty file so far).
Allow GeanyFiletype::extension to be NULL.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4070 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 11:19:54 +00:00
Nick Treleaven
503baf87d7 Create branch to develop custom filetypes support.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/custom-filetypes@4069 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-12 11:11:37 +00:00
Frank Lanitz
ea7dcedfcf Update of Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-11 22:23:52 +00:00
Nick Treleaven
9c0ced05d2 Call get_keyfile_wordchars() in highlighting_init_styles().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4067 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-11 14:18:44 +00:00
Nick Treleaven
e0575d3409 Fix using tabs only for alignment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4066 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-11 13:22:42 +00:00
Frank Lanitz
ce0dba311a Update of French translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-11 10:13:31 +00:00
Frank Lanitz
1f11f703a3 Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4064 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-10 21:24:04 +00:00
Enrico Tröger
b25980ba8d Small corrections to some API docs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-09 20:31:03 +00:00
Enrico Tröger
c0c44bea49 Switching notebook tabs now works for the currently used notebook widget instead of always using the documents notebook.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4062 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-09 11:17:00 +00:00
Enrico Tröger
f8602363f5 Add missing file.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4061 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-09 10:10:23 +00:00
Frank Lanitz
374eaa2131 A minor update on Finnish translation's header
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4060 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-07 23:21:36 +00:00
Frank Lanitz
5f00d8dde4 Update of Trukish translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4059 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-07 21:14:05 +00:00
Frank Lanitz
bf073ad4d4 Update of Slovenian and Russian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4058 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-06 08:14:42 +00:00
Frank Lanitz
51682be341 Update of Japanese translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-05 08:29:51 +00:00
Frank Lanitz
0015aa4490 Update of Czech translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-05 08:27:45 +00:00
Frank Lanitz
b4975abf1c Update of Brasilian Portuguese translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4055 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-04 10:02:26 +00:00
Frank Lanitz
ea47a75c2c Update of British English translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4054 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-03 16:53:28 +00:00
Frank Lanitz
7a24ad61c8 Minor correction at Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4053 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-02 21:43:31 +00:00
Frank Lanitz
a43a57f90d Rename Slovenian translation file and update of it
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-02 21:35:37 +00:00
Frank Lanitz
29c44762e7 Update of Slovenian translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-02 19:47:51 +00:00
Enrico Tröger
b1309fc6ce Expand system environment variables (%variableName%) on Windows when running Build commands.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-02 13:33:39 +00:00
Frank Lanitz
ca4b9526a1 Update of translation files in preparation of string freeze for Geany 0.18
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-08-01 10:26:58 +00:00
Nick Treleaven
6f312b2d19 Add filetype_make_title() instead of using:
ft->title = g_strdup_printf(_("%s source file"), ft->name);
It also supports "%s file" strings.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4048 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 12:38:10 +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
5e55af41fc Add Markdown filetype (patch by Jon Strait, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4046 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 11:29:53 +00:00
Nick Treleaven
18bc1c2a0b Update for styleset case macro changes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 10:55:23 +00:00
Nick Treleaven
b1eb01bc0b Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
future using an indent block is more useful e.g. for ChangeLog
files.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4044 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-30 10:52:04 +00:00
Nick Treleaven
6bd343b21d Rename 3 sci functions to sci_set_target_start(),
sci_set_target_end(), sci_replace_target() to match the SCI_
message name.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4042 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-29 17:54:48 +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
Frank Lanitz
264ac9186c Fix compiling issue with waf
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4039 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 21:02:34 +00:00
Nick Treleaven
eb1dd10e1d Fix reshowing calltip in the wrong document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4038 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-28 14:29:34 +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
Frank Lanitz
1c3ffe2928 Update of Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4032 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 20:00:33 +00:00
Frank Lanitz
913c8ca806 Add Slovenian translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 19:33:09 +00:00
Nick Treleaven
2ab20b1366 Update autocompletion section:
Symbol and document word completion are separate lists, not combined.
Use italic, not monospace for pref names.
Don't use hyphen for 'autocompletion' title.
Minor rewording.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4029 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 11:38:29 +00:00
Nick Treleaven
c68bb5a368 Explain parameters for keybindings_set_item().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4028 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-27 11:06:50 +00:00
Enrico Tröger
b1d3fafd8c Add some general information about auto-completion capabilities (patch by Lex Trotman, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4027 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-25 18:58:26 +00:00
Nick Treleaven
aa89783b74 Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
Heavily based on a patch by Eugene Arshinov (thanks).
Add sci_lines_split(), sci_lines_join(), sci_text_width(),
editor_strip_line_trailing_spaces().



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 15:44:14 +00:00
Nick Treleaven
88ae507faf Use full styleset_foo[_init] function name as argument to
init_styleset_case() and styleset_case() macros so it's easier to
understand the code.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 14:31:43 +00:00
Enrico Tröger
8295be5367 Reshow calltips also when the autocompletion list was closed implicitly by not choosing an item.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4022 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 10:40:48 +00:00
Enrico Tröger
d639b8b4ed Attempt to fix reshowing calltips after the autocompletion list has been shown.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-24 09:59:23 +00:00
Frank Lanitz
5efdb0c776 Update of German translation
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 22:20:17 +00:00
Nick Treleaven
c27eb4a19f Add dox note for documents_array about using documents_foreach() macro.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 17:30:50 +00:00
Nick Treleaven
4a61fd4620 Fix GLib warning when pressing a key with no documents open.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 17:11:31 +00:00
Nick Treleaven
7a77c3a214 Fix scrolling horizontally after finding a search match with the
search bar or Find Next/Previous which is off-screen.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4016 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 16:54:32 +00:00
Nick Treleaven
3c8b3f1cb2 For the Tabs indent type, remove spaces when unindenting (only) if
there are no tabs on the line.
Group undo actions for (un)indenting of multiple lines.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4015 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 16:23:28 +00:00
Nick Treleaven
d563da620c Rename utils_str_replace() utils_str_replace_all(), setting a
'gchar **haystack' argument instead of returning a new string.



git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 16:01:45 +00:00
Nick Treleaven
1581d275e0 Fix GLib warning when using build keybindings and there's no current document.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 14:39:03 +00:00