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
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
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
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
86a168fb9f
Change utils_str_remove_chars() to work in place; fix allocating on
...
the stack (the string length could exhaust the stack size).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-23 11:00:32 +00:00
Enrico Tröger
39a74c5a18
Continue unifying usage of @a and @c markup elements in API docs.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 22:12:13 +00:00
Enrico Tröger
f217a608ba
Show/hide the toolbar without a restart when the setting in the preferences dialog is changed ( closes #2824785 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 22:10:42 +00:00
Enrico Tröger
45d64e86f6
Start unifying usage of @a and @c markup elements in API docs, to be continued.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 22:09:43 +00:00
Nick Treleaven
d906a77975
Remove relative/untidy path elements when creating new documents
...
with a filename (e.g. from the command-line) (#2823998 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-21 16:23:05 +00:00
Enrico Tröger
46ecf7061d
Fix broken 'Show the current document' tool button icon.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4006 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 23:12:24 +00:00
Enrico Tröger
e4ffb33c84
Fix typos.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4005 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 23:11:58 +00:00
Enrico Tröger
c82273cd9d
Remove underscores from the toolbar items labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 23:11:23 +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
Enrico Tröger
9a99df62a3
Fix some harmless compiler warnings.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 23:09:29 +00:00
Enrico Tröger
28fa8d856b
Disable 'Recent Projects' menu item if the list of recent projects is empty.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4001 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 23:09:03 +00:00
Nick Treleaven
c960a51f13
Fix checking whether to overwrite when using the Rename button in
...
the 'Save As' dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 16:12:23 +00:00
Nick Treleaven
4975ce1da9
Fix showing project name for documents list files with no
...
subdirectory (oops).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 15:46:35 +00:00
Nick Treleaven
3c8a24d0fd
Remove relative/untidy path elements when opening documents (closes
...
#2823998 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 15:37:02 +00:00
Nick Treleaven
84f8db733d
Make foreach_ptr_array() use an integer argument for its
...
implementation, as this is more useful potentially than a gpointer*
argument, and more straightforward.
Add foreach_c_array(), foreach_ptr_array() to API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 12:25:24 +00:00
Nick Treleaven
20c66a6816
Add stash_group_add_widget_property() so we can save any widget's
...
read/write properties.
Use Stash for ui_prefs.sidebar_page setting.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-20 12:00:06 +00:00
Enrico Tröger
8eef880bb6
Don't use the main window as parent for dialog boxes if it is not yet realised.
...
Set titles for message dialogs.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3993 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-19 20:19:09 +00:00
Enrico Tröger
5dbd06700d
Improve inserting of comment templates like File header or licence notices. The comment information are now read from the filetype configuration files.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:43 +00:00
Enrico Tröger
eaa0592bb3
Speed up toolbar editor dialog creation.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:30 +00:00
Enrico Tröger
7d460fdff1
Show icons in the toolbar editor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3989 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:18 +00:00
Enrico Tröger
5973135813
Apply changes in the toolbar editor instantly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:45:05 +00:00
Enrico Tröger
6c16035450
Display item labels instead of raw names in the toolbar editor.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-18 14:44:51 +00:00
Enrico Tröger
9af1f7c78a
Fix broken special case handling when detecting filetypes from a shebang or other special file headers.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3981 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 17:41:25 +00:00
Nick Treleaven
b51b8524e3
Add treeviews_finalize().
...
Remove tv.popup_openfiles field.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3979 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:50:13 +00:00
Enrico Tröger
c7871c70e8
Enable file monitoring for files which are written to disk by Geany for the first time.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3978 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:36:27 +00:00
Nick Treleaven
5be4c4aec3
Fix GTK warning when right-clicking on default tag tree.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3977 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:19:57 +00:00
Nick Treleaven
d7cd30cd99
Add 'Show Paths' documents list popup item.
...
Add "load_settings" core-only signal emitted just after loading
main keyfile settings; useful to delay building UI elements until
settings have been read.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3976 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 15:04:21 +00:00
Nick Treleaven
e8573df8bb
Fix wrong match length when using Mark with regex.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3974 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 14:37:35 +00:00
Nick Treleaven
a25c0efb48
Make Mark All keybinding clear search highlighting when there's no
...
current word.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3973 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-16 12:21:56 +00:00
Nick Treleaven
d2433058ef
Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3971 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-15 14:23:02 +00:00
Enrico Tröger
9a54f5f7b1
Fix broken 'builtin' Run command for HTML files on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3969 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 18:49:31 +00:00
Enrico Tröger
c5176a7da5
Quote the uri before passing it to the browser when opening a website ( closes #2818635 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3968 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 18:45:22 +00:00
Nick Treleaven
28dad7a899
Remove filetypes_foreach_named().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3967 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 15:14:38 +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
Nick Treleaven
99641558bb
Add documents_foreach() API macro that skips invalid docs.
...
Make filetypes[], documents[] part of the API again.
Add GEANY() macro for sharing geany symbols between API and core.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3964 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 13:05:51 +00:00
Nick Treleaven
4edd25c857
Use hyphen for auto-feature terms.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3963 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:25:07 +00:00
Nick Treleaven
a3da300b67
Make Mark highlighting brighter.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3962 ea778897-0a13-0410-b9d1-a72fbfd435f5
2009-07-14 11:11:50 +00:00