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
Enrico Tröger
9aa5ba41c7
Plug some memory leaks due to some missing g_object_unref's.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3056 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 18:51:50 +00:00
Nick Treleaven
ddf488dcb5
Fix segfault when holding Alt and scrolling editor window.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3051 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-07 12:14:57 +00:00
Enrico Tröger
bed14c6353
Use g_strerror() instead of strerror().
...
Remove build system checks for strerror().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3047 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:37:10 +00:00
Enrico Tröger
4ec8d37075
Enable interactive search for the keybindings tree view in the prefs dialog.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3045 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-06 18:36:08 +00:00
Enrico Tröger
737c7a6d76
Add an option to store the project file of new projects inside the project base directory.
...
Doc: Add descriptions for the Search tab in the preferences dialog.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3037 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-02 15:09:33 +00:00
Nick Treleaven
75f2386eeb
Remove unused argument ft_id from styleset_common().
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3031 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:26:15 +00:00
Nick Treleaven
604a981482
Fix using common styleset for filetype None.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3030 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-10-01 17:17:33 +00:00
Enrico Tröger
9b05011c20
Remove inexact and unnecessary warning if a Run command has failed.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3026 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:30:38 +00:00
Enrico Tröger
040e4391c7
Update the window title also when creating new projects.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3025 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:29:27 +00:00
Enrico Tröger
2b1e1d6bf0
Fix a few memleaks.
...
Handle errors when creation of the project base directory fails.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3024 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-30 20:28:18 +00:00
Enrico Tröger
d60ae9bbf1
Fix syntax highlighting for filetype R, synchronise the colours with those other filetypes.
...
Add two more keyword types and add many many more keywords.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3023 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 18:10:42 +00:00
Nick Treleaven
0117b3e5b2
Apply patch from Jason Oster to auto-update the line margin width as
...
lines are added (thanks; #2129157 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3021 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-29 12:44:31 +00:00
Enrico Tröger
7ba3f99488
Don't use hard-coded stylebits values for different lexers, query the correct value from Scintilla and use it (this fixes a display problem with Perl code like 'sub test()').
...
Add missing styles for filetype Perl.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3019 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 18:07:08 +00:00
Enrico Tröger
087872260f
Add new filetype 'Gettext translation file' ( closes #2131985 ).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3018 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 16:32:49 +00:00
Enrico Tröger
22cde627fe
Revert previous notebook focus changes as this disables the tab scroll arrows.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3017 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-28 15:17:00 +00:00
Enrico Tröger
72cbba79f7
Make 'Line Breaking' UTF-8 safe (to work with non-ASCII characters).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3014 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-27 14:06:43 +00:00
Enrico Tröger
8f94954706
Make the debug messages window a little bigger.
...
Enable wrapping of messages to avoid horizontal scrolling.
Automatically scroll to the end of the messages when showing the dialog or updating its contents.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3013 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-27 14:06:22 +00:00
Enrico Tröger
ac07cf386e
Fix unintentional switch fall-through (patch from Jason Oster, thanks).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3012 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 18:30:03 +00:00
Enrico Tröger
71dbd0f2d6
Make 'Previous/Next word part' keybindings configurable.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3011 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 18:29:42 +00:00
Nick Treleaven
46cae47182
Use GeanyDocumentPrivate instead of using inheritance for non-public
...
fields (this was unnecessary and meant using ugly casts).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3010 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 17:28:50 +00:00
Enrico Tröger
fb1d2abe5f
Fix typo.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3009 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 16:49:52 +00:00
Enrico Tröger
b62583b0fb
Remove can_focus flag from notebook widgets to avoid focused tab labels.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3008 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 16:49:36 +00:00
Nick Treleaven
a49aa6e01b
s/GEANY_SCI_CB_H/GEANY_EDITOR_H.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3007 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 14:16:44 +00:00
Nick Treleaven
59cb3b2cce
Apply patch from Andrew Rowland to add support for the R language
...
(thanks, #2121502 ).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3004 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 12:23:59 +00:00
Nick Treleaven
1fb45e2dab
Return GEANY_AUTOINDENT_BASIC from editor_get_indent_prefs() if the
...
per-document pref is set, even if the global mode is none.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3002 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-26 11:22:44 +00:00
Enrico Tröger
83d6c2e8e2
Fix using direct Scintilla access in document.c and callbacks.
...
Add wrapper functions instead.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3000 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:29:53 +00:00
Enrico Tröger
f701893ef7
When using editor_get_eol_char_* functions with an invalid editor object, return the appropriate value according to the eol character preference (just in case).
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2999 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:29:11 +00:00
Enrico Tröger
a032d6a660
Unify the API in editor.c, all public functions now take a GeanyEditor* object.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2998 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 18:28:37 +00:00
Enrico Tröger
b69b6cc71f
Set the page_size parameter of GtkAdjustments to 0 instead of 10 which is set by default by Glade. This prevents breakage of spin buttons with early versions of GTK 2.14.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2997 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 17:04:43 +00:00
Nick Treleaven
ab9e3f1c75
Don't disable the per-document auto-indent pref when the global
...
auto-indent mode is set to none (undoes part of r2981). In this
case, the per-document pref just behaves like
GEANY_AUTOINDENT_BASIC.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2996 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 16:55:35 +00:00
Nick Treleaven
ea42918879
Detect which error regex match contains the line number, and use the
...
other match for the filename.
Update 'Build system' docs for custom error regexes.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2994 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 11:30:44 +00:00
Nick Treleaven
80538bb116
Hopefully fix building when HAVE_REGCOMP is not defined.
...
Add debug message when trying to parse an error regex when
HAVE_REGCOMP is undefined.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2992 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-25 10:30:46 +00:00
Nick Treleaven
bee27a12d1
Show SVN revision also for geany -v and first status message.
...
Add main_get_version_string().
Rename get_argv_filename() main_get_argv_filename().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2991 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-24 12:07:22 +00:00
Nick Treleaven
a12efb33b2
Remove unnecessary include.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2990 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-24 12:01:21 +00:00
Nick Treleaven
bf3ea6c5f0
Add filetypes.* [build_settings] key 'error_regex' to support custom
...
error message parsing using an extended regular expression.
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2988 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 16:12:40 +00:00
Nick Treleaven
48e969cb96
Minor formatting edits.
...
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2987 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 15:19:46 +00:00
Nick Treleaven
e16bb53705
Remove ParseData::dir argument as it's not necessary for parsing;
...
instead, use function make_absolute().
Refactor msgwin_parse_compiler_error_line().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2985 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-23 11:37:20 +00:00
Nick Treleaven
bce7d185b9
Rename get_indent() read_indent().
...
Fix possible overflow in auto_table().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2983 ea778897-0a13-0410-b9d1-a72fbfd435f5
2008-09-22 15:29:25 +00:00