Nick Treleaven
e7206f35b8
Add sci_get_lexer() to plugin API.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5352 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 12:55:17 +00:00
Nick Treleaven
cf6756d06e
Remove unnecessary includes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5351 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-11-02 12:49:05 +00:00
Nick Treleaven
568f1853d2
Remove unnecessary uses of FILETYPE_ID() macro with
...
GeanyDocument::file_type.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5323 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-10-25 17:24:47 +00:00
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
4476a79127
Use ui_hookup_widget() instead of g_object_set_data_full() for
...
widgets.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-23 16:57:28 +00:00
Nick Treleaven
aca9e894fc
Allow Find in Files when no items are selected.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5052 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 17:03:35 +00:00
Nick Treleaven
980e4c6112
Remove foreach_slist_free() macro - not worth the complexity (list nodes are probably cached anyway).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5050 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 14:20:10 +00:00
Nick Treleaven
9dc088c1e7
Add history to path entry.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5049 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-06-18 12:22:00 +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
be5d891f0e
Pass G_LOG_DOMAIN to source files for better logging.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4954 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-25 19:49:49 +00:00
Enrico Tröger
0f92a6fd89
Remove two unnecessary g_strdups().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4944 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-22 19:39:38 +00:00
Frank Lanitz
924fc68cdd
Fix a memory leak on classbuilder plugin. (Patch by Daniel Marjamaki, thanks)
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4934 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-19 17:36:06 +00:00
Enrico Tröger
77dd8feb44
Fix broken "Go Up" if the current path ends with a slash.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4926 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:45:06 +00:00
Enrico Tröger
aa05d3be45
Implement reading and evaluating hidden file attribute on Windows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4925 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:51 +00:00
Enrico Tröger
8c865b6813
Add new GTK define also for Mingw cross compilation and makefile.win32 based Windows builds (untested).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4924 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:40 +00:00
Enrico Tröger
10ad339994
Update Scintilla to version 2.11.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4923 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-16 17:44:24 +00:00
Enrico Tröger
7f037f71e4
Add namespace support for GTK+ classes.
...
Add GET_CLASS() macro for GTK+ classes.
Add typedef of the private structure in the header file instead of declaring it (all the above from a patch by Colomban Wendling, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4906 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 14:19:11 +00:00
Enrico Tröger
72c7cab17e
Don't make the 'Create Class' menu item document-sensitive (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4905 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-14 14:09:43 +00:00
Nick Treleaven
16995c6f1d
Add 'Refresh' popup menu item (part of geany-plugins #2999858 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4902 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-11 12:31:16 +00:00
Enrico Tröger
0259f13295
Guard C++/GTK class generation specific code
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4891 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:18 +00:00
Enrico Tröger
43e075a4f8
Minor fixes
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4890 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:10 +00:00
Enrico Tröger
b606964d3c
Replace C99 style comments
...
Adjust plugin author information
Fix shadowed variable
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4889 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:48:01 +00:00
Enrico Tröger
f7de6b4ada
Remove trailing spaces
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4888 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:47:49 +00:00
Enrico Tröger
a2b0ec155b
Add support for creating PHP classes (patch by Ondrej Donek, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4887 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-05-09 15:47:39 +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
3f3d2d1b9b
Make string arguments const where appropriate (patch by Colomban Wendling, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4861 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-25 17:43:09 +00:00
Nick Treleaven
216bf2e5f5
Fix Class Builder plugin to use correct indentation instead of
...
always tabs.
Make editor_insert_text_block() only replace leading tabs for the
'Tabs' indent type; also group edits for undo.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4845 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-21 17:04:31 +00:00
Nick Treleaven
53b6be1d64
Synchronize popup menu and plugin preferences dialog 'Show Hidden
...
Files' option (fixes #2989288 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4836 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-19 12:03: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
Frank Lanitz
a70c8a1513
Make HTMLchars plugin remember whether replacement of special characters was activated even after restart of Geany or reloading of plugin.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4815 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-04-09 20:42:45 +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
f3e103c1e4
Beep if the user hasn't entered a class name on pressing OK.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4792 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-31 11:35:31 +00:00
Nick Treleaven
62f79f8f2a
Don't generate FOO_GET_PRIVATE() macro because caching the result
...
in Foo::priv can be much more efficient.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4791 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-30 17:19:59 +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
Enrico Tröger
1864e6e6a5
Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT to not set Geany's minimum window size anymore ( closes #2972992 ).
...
As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4782 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-20 16:20:55 +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
Enrico Tröger
46e7e124d9
After opening files, focus the editor widget (based on a patch by Can Koy, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4736 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 18:48:12 +00:00
Enrico Tröger
c5e50e2930
After opening files, focus the editor widget (based on a patch by Can Koy, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4735 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-03-07 18:43:31 +00:00
Enrico Tröger
42f8c1fc47
Re-add a wanted tab in the comment
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4714 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-28 14:59:52 +00:00
Enrico Tröger
5c1d191b4c
Replace tabs by spaces.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4684 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:30:31 +00:00
Enrico Tröger
48ca569fea
Minor fixes.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4683 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-02-21 13:29:46 +00:00
Frank Lanitz
3cec880ae8
Close meta tag for export date properly.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4594 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-31 12:07:39 +00:00
Nick Treleaven
9021717031
Use full function name for GeanyFunctions function pointers. This
...
avoids naming conflicts e.g. with C++'s 'new' keyword.
Remove deprecated header pluginmacros.h - use geanyfunctions.h instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4552 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-25 15:53:54 +00:00
Nick Treleaven
8f3ee7d8a4
Don't use VERSION macro as the demo plugin should be able to be built independently from Geany.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4532 ea778897-0a13-0410-b9d1-a72fbfd435f5
2010-01-18 16:57:37 +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