2167 Commits

Author SHA1 Message Date
Nick Treleaven
eebfbbf488 Fix Prefs dialog Tools tab Context Action open button showing the
file dialog twice.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3170 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-04 13:33:08 +00:00
Nick Treleaven
8355e6a158 Fix snippets and smart indent using too much indentation when the
line contains whitespace after non-whitespace characters. This
might also have affected other features (auto table, etc).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3169 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-04 13:05:15 +00:00
Nick Treleaven
5f32d93886 Fix GLib warning when pressing Close File keybinding and no
documents are open.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3167 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-11-03 17:38:50 +00:00
Enrico Tröger
b80c7e3236 Replace deprecated gtk_marshal_* functions with g_cclosure_marshal_* functions and add geany_cclosure_marshal_VOID__STRING_INT_POINTER.
Fix a wrong marshal type (pointer != int).

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3159 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-27 19:17:11 +00:00
Enrico Tröger
631eb07c27 Handle UTF16/32 encoded files without a BOM better and allow them to opened (#2155573, patch by Jason Oster, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3156 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-26 14:16:09 +00:00
Enrico Tröger
0324ed71f6 Add *_full variants of editor indicator functions to the plugin API for more control over indicators.
Add/Update some API docs.
Make the 'Mark' button for Find highlight the results with rounded boxes instead of marking the whole line.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3155 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:57:00 +00:00
Enrico Tröger
15efd65343 Fix updating of the value of the toolbar Goto line spinbutton.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3154 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:38 +00:00
Enrico Tröger
1c46db7dd6 Add main_locale_init() to the plugin API.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3153 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:27 +00:00
Enrico Tröger
af1c81efcb Fix doc comment.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3152 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:12 +00:00
Enrico Tröger
242f50ebd9 Fix deprecated usage of g_win32_get_package_installation_directory(), pass NULL as package name.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3151 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:56:04 +00:00
Enrico Tröger
25a9d1c0e9 Issue a warning message when closing document fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3150 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-25 18:55:51 +00:00
Enrico Tröger
d3ee6f48ca Add toolbar buttons for Cut, Copy, Paste and Delete (#2161750).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3147 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:55 +00:00
Enrico Tröger
c946d4ef91 Replace Goto line text entry field in the toolbar with a spin button.
Remove dialogs_show_goto_line(), use the more generic dialogs_show_input_numeric() instead.
Increase limit of the maximum line number from 99999 to 100000000.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3146 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 20:55:06 +00:00
Enrico Tröger
57c764867c Add simple auto-detection for HTML files without proper extension.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3145 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-23 18:44:05 +00:00
Enrico Tröger
6bc86c4462 Replace gtk_widget_(un)ref() with g_object(un)ref(), patch by Colomban Wendling, thanks.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3143 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:36:45 +00:00
Enrico Tröger
95d1cd2cc3 Change style for 'identifier3' to bold to be in sync with the other identifier styles.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3141 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-22 15:35:51 +00:00
Enrico Tröger
7c65b2f5cc Change colours and bold flag for the extended_* and id styles (thanks to Jason Oster for his suggestions).
Use CSS-specific symbol type names.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3140 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 18:18:28 +00:00
Enrico Tröger
f0f13bbec6 Use a GeanyWrapLabel for the label holding the "Some contributors" text to fix dialog oversize problems with some localisations.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3139 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 18:18:02 +00:00
Frank Lanitz
73d3c2adb2 Updated list of German translators
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3138 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:58:43 +00:00
Enrico Tröger
243e8d0c3c Fix typo in 'pseudo_elements' keyword type name.
Change style for pseudo elements to bold and italic.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3135 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 17:23:48 +00:00
Nick Treleaven
b0fa2d3e6b Fix warning about ignoring command-line files.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3132 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 14:52:29 +00:00
Nick Treleaven
79e2142b6c Add description for -P option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3131 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 14:48:21 +00:00
Nick Treleaven
270de6cac6 Support loading a project file in a new instance from the
command-line.
Warn user when ignoring other command-line files when a project file
is the first argument.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3130 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-20 12:13:27 +00:00
Enrico Tröger
de54e72ecb Post-release version bump.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3129 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-19 13:52:12 +00:00
Enrico Tröger
0267132ec9 Update CSS keyword lists and a few styles (patch by Jason Oster, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3123 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 17:00:29 +00:00
Enrico Tröger
e25677a1c3 Add new styles and keyword types for filetype CSS.
Remove default keywords from highlighting.c.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3122 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 17:00:03 +00:00
Enrico Tröger
4551e62064 Add new style 'Changed' to filetype Diff.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3115 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 10:56:35 +00:00
Enrico Tröger
396fa96f24 Update Scintilla to version 1.76.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3114 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-18 10:56:10 +00:00
Enrico Tröger
8f35c2925c Make keyboard shortcuts dialog using a treeview to display the shortcuts to make it scrollable with the keyboard.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3110 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-17 16:51:22 +00:00
Nick Treleaven
c64897b5a3 Don't connect editor callbacks when creating the editor widget for
the split window plugin (they didn't work anyway, except for
Undo/Redo).


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3102 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-16 11:39:34 +00:00
Enrico Tröger
aebe1b346c Fix again colouring for filetype None.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3098 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 14:14:48 +00:00
Enrico Tröger
ecafbecdd0 Fix wrong pointer usage.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3097 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 14:14:31 +00:00
Nick Treleaven
e72e7c337a Fix showing desensitive widgets if no documents are open when a
plugin is first loaded.
Remove plugins_update_document_sensitive().


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3095 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 12:19:24 +00:00
Nick Treleaven
65768ef184 Show the tools menu separator if there are any items below it.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3094 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-15 11:59:32 +00:00
Nick Treleaven
bffb8b7c66 Fix having a small gap before plugin toolbar items.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3093 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:47:26 +00:00
Frank Lanitz
0a0f9e2030 Update of name of Korean translator
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3091 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 17:38:48 +00:00
Nick Treleaven
c343d904b2 Add ui_add_document_sensitive() to the plugin API.
Deprecate plugin_fields, PluginFlags - use
ui_add_document_sensitive() instead.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3084 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-14 14:49:41 +00:00
Frank Lanitz
ecdfa9695d Added Korean translation.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3082 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 22:17:35 +00:00
Nick Treleaven
c64f034284 Refactor dialogs_show_unsaved_file() with run_unsaved_dialog().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3078 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 16:00:53 +00:00
Nick Treleaven
8eab24c159 Use geany_debug() instead of g_warning() when a plugin has
unresolved symbols.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3077 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 15:52:32 +00:00
Nick Treleaven
6133c0b5d6 Tidy up plugin cleanup code.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3076 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 15:40:12 +00:00
Nick Treleaven
d8d727752e - API changes:
Replace p_ui->get_toolbar_insert_position() with
p_plugin->add_toolbar_item(), which also adds a separator when the
first item is added.
Add 'GeanyPlugin *geany_plugin' plugin symbol, partly to replace
plugin_info (now deprecated), mainly to identify a plugin and hold
private implementation fields for plugin utility functions.
(plugin_info will be removed after the 0.15 release.)
- Code changes:
Add ui_auto_separator_add_ref() to hide separator-like widgets when
their visible group elements are hidden or destroyed.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3074 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-13 12:38:32 +00:00
Enrico Tröger
be3849e33a Upate of the CSS parser to detect also ID and Type selectors (patch by Bronisław Białek, thanks).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3073 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:52:22 +00:00
Enrico Tröger
ca464c2c8b Fix regression: clear all styles for filetype None to not break the 'invert_all' option.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3071 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 17:51:38 +00:00
Frank Lanitz
c56653aac9 Change of a typo in singular form of some status messages.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3068 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-12 13:07:56 +00:00
Enrico Tröger
6cc90b4454 Make a some labels in the File Properties dialog selectable.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3066 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 16:43:40 +00:00
Enrico Tröger
cb1de8b8cf Reorder Help menu items (swap 'Keyboard Shortcuts' and 'Website').
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3065 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 16:43:15 +00:00
Enrico Tröger
5249fde432 Fix for the last fix: do it the proper way by ignoring any modifiers we don't want, only check for Ctrl, Alt and Shift.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3064 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 16:35:25 +00:00
Enrico Tröger
656b466df0 Fix Ctrl-click on a word when Numpad is enabled.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3063 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-10 15:18:36 +00:00
Enrico Tröger
45e4b0bb89 Fix wrong cursor positioning while line breaking when the last character on the line was a space.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3057 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 18:52:09 +00:00