On Thu, 17 Jul 2008 17:18:05 +0000, ntrel(a)users.sourceforge.net wrote:
> Revision: 2787
> http://geany.svn.sourceforge.net/geany/?rev=2787&view=rev
> Author: ntrel
> Date: 2008-07-17 17:17:51 +0000 (Thu, 17 Jul 2008)
>
> Log Message:
> -----------
> Move editor popup menu current word items to submenu.
This was a nice idea but after using it for two days it comes very
unhandy, IMO.
I use especially Goto Definition and Find usage very often as it's just
convenient but with the new submenu they got hard to reach.
Can anyone confirm this?
OTOH, I agree it's good to shorten this menu a little bit or at least
to not bloat it more.
Maybe we could remove or move the "Insert [Date|Comments|Includes]" menu
items into the Format submenu.
But it mainly depends on their usage. The above suggestion is based on
my personal usage habits, I'm afraid they will differ from those of
other people :D.
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Hi,
I use Geany to write some Bash scripts. To execute my script I use the
integrated terminal at the bottom.
Now when I want to abort my script by Ctrl-C Geany crashes. There is
no error message even when I start Geany through a terminal. The
window just doesn't react any more.
I use Geany 0.14-1 on Debian Testing with Kernel 2.6.25-2-686 and Gnome 2.22.3.
Best regards
Christian Schulze
Hey guys,
i'm running a late geany build from svn, exactly it is rev 2787.
Today i compiled some plugins for geany from the geany-plugins repo, rev
127. Now trying to start geany segfaults with the attached output.
Regards,
Dominic
--
Dominic Hopf <dmaphy(a)gmail.com>
On Fri, July 18, 2008 1:45 pm, eht16(a)users.sourceforge.net wrote:
> Log Message:
> -----------
> Remove unnecessary finalize(() function.
Die Klammer musste aber noch zu machen ;)
Hey,
since SVN r2775, snippets can also be used to insert variable content
like the template wildcards {year}, {date} and {datetime}.
So, basically the "Insert Date" code in the Edit menu is more or less
not necessary anymore as it can be emulated with snippets like:
[Default]
date={date}
datetime={datetime}
So, I'm thinking of dropping the whole code for the "Insert Date" menu
items.
Pros:
- lots of code can be removed
- avoid duplicate functionality in the core
- less bloated Edit and Editor popup menu
Cons:
- a little less flexibility for the date/time format
- (more?)
Alternatively, we could move the "Insert Date" code into an internal or
external plugin.
Any ideas, opinions, objections?
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Hi,
We've merged the editor-struct branch which moves some of the
GeanyDocument fields to a new struct GeanyEditor, and updates
EditorFuncs in the API.
Details:
http://geany.svn.sourceforge.net/viewvc/geany?view=rev&revision=2779
Please be careful when updating plugins for GeanyEditor::sci, as
GeanyDocument::editor is only non-NULL when the document is valid. So
instead of checking:
doc->sci != NULL
check:
doc->is_valid (or doc->editor != NULL).
(This was done so that for functions taking GeanyEditor* as an argument,
the function can just check against NULL instead of checking for NULL
and editor->sci != NULL.)
Regards,
Nick
Hi,
Some changes to pluginmacros.h:
Add geany macro that simply expands to geany_data.
Deprecate app, main_widgets, prefs, project macros, as the geany
macro can be used instead.
http://geany.svn.sourceforge.net/viewvc/geany?view=rev&revision=2761
Also, deprecated macros and typedefs have been removed (except
DOC_IDX_*).
Regards,
Nick
Hi,
I'm thinking about changing the keybindings_send_command() / keybinding
enums code, for two reasons:
1. We can't change the order of keybindings without breaking the plugin
ABI.
2. We can't reorder/move keybindings in groups without breaking the
plugin ABI and the API.
3. The keybindings_send_command(GEANY_KEY_GROUP_FOCUS,
GEANY_KEYS_FOCUS_COMPILER) syntax seems redundant - why not just
keybindings_send_command(GEANY_KEYS_FOCUS_COMPILER)?
The 3rd issue isn't that important, but it would be nice to avoid it,
as it could be a source of bugs.
To solve this, we could have the GEANY_KEYS_ commands share a single
enum, but unsorted so we can append items as needed. All the group
enums could be moved into keybindings.c, renaming them so all the
existing code works without changes. The only function that would need
updating would be keybindings_send_command(), plus storing the
GEANY_KEYS_ enum value in each keybinding struct, so that function can
find the callback.
Does this sound a good idea?
Regards,
Nick