Hello,
I found Geany some time ago, searching for a simple, small IDE, and
while it definitely looks very nice, the thing that surprised me
the most was how incredibly slow the editor was. I tried many different
editors before, and while GTK+ based ones have always been slower than
others, with higher CPU overhead, I've never seen anything as slow as
Geany (and SciTE, to be fair) - for example, in a C++ file, holding the
left/right keys (so the cursor keeps going to left/right) consumes over
50% of CPU and it even stutters, stumbles on brackets, holding the
up/down keys is even more CPU intensive, the editor actually cannot
keep up with the cursor movement, the same with scrolling (which is
slow and laggy - the scrollbar cannot update itself fast enough, it
jumps instead of moving continuously), and also mouse selection - when I
select a larger part of the source code, like a function with 20+
lines, CPU usage goes to 100% and the selection lags, too, it cannot
keep up with the mouse movement. In a plain text file (with no syntax
highlighting), the CPU usage is naturally lower, it does not lag so
much. The extremely slow editor also affects the main menu redrawing
performance - when a blank file is open in the editor, the menu can
redraw as fast as in any other GTK+ app (i.e. fast enough), with a
plain text file, it's slower, but when a .cpp file is loaded, again the
redrawing is extremely slow, the menu cannot keep up with the mouse
(when I ride through the menu from left to right, for example).
Now, I know it sounds as if my computer is broken, but when I compare
it with other editors: for example in emacs, the CPU usage while
holding the arrow keys is about 0% (even in the GTK+ version), other,
more modern and heavyweight editors like the Kate-based ones (KDE)
consume about 2-3 times less CPU cycles than Geany does for these basic
tasks like selection, typing and scrolling, the same applies even to
the gedit editor in GNOME, with its syntax higlighting - even though
it's GTK+ based, there are no lags and 100% CPU usage at all.
Is there anything that can be done about it? Or is it just my computer?
It's a 2.4 GHz P4 with the nv driver for X.org, tried it on Debian and
Arch Linux, which are both pretty lightweight to begin with... Is the
Scintilla library really so inefficient? Because like I said, the only
other editor I've tried that's as slow as Geany was SciTE, so it
looks like it's Scintilla's fault...
Hi all,
we are thinking about to change Geany's minimum requirement of GTK to
GTK 2.8 (currently it is 2.6).
This would bring some advantages but obviously would prevent people
with GTK 2.6 systems using Geany.
So, is anyone still running GTK 2.6?
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.asc
Dear Devs,
I currently use stow[1] to build and install packages which aren't present
in the (x)Ubuntu repositories.
I build all my packages in /usr/local/stow/<package>-<revision>/ and stow
symlinks all executables and libraries to /usr/local/<bin|lib|(etc)>/.
Version control is a breeze this way and I can switch versions/revisions
within seconds!
Here's my problem:
Geanyprj always looks for the real location of geany's libdir. The
--prefix= and --libdir= configure flags are completely ignored by the
configure script. This behaviour will cause geanyprj to be installed in a
specific version of geany and when updating geany, the plugin gets 'lost'
in the previous version's lib dir.
My request:
--libdir= should not be overridden by the configure script and geanyprj
(and maybe other plugins?) should install themselves into ${libdir}/geany
Is this a correct observation, or is this autotools noob completely wrong
in this pursuit? ;)
Happy holidays and may 2009 be as great for Geany as 2008 has been ;)
Harold.
[1] http://www.gnu.org/software/stow/
Hey guys,
first of all I want to tell you that I was always very pleased with geany.
But right now i've a very serious problem: When I click "too long" on
the bar where all files are listed, the bar and the toolbox disappear.
Geany also saves it to geany.conf. The broken geany.conf is attached.
I've discovered a workaround: You need to remove geany.conf and restart
geany. But as this happens 4 to 6 times an hour and so this bug is
really annoying.
Can you help me, _PLEASE_? It's a really serious problem for me.
Michael
[geany]
cmdline_new_files=true
pref_main_suppress_search_dialogs=false
pref_main_search_use_current_word=true
check_detect_indent=false
use_tab_to_indent=true
pref_editor_tab_width=4
indent_hard_tab_width=8
indent_mode=2
indent_type=1
autocompletion_max_entries=30
pref_main_load_session=true
pref_main_project_session=true
pref_main_project_file_in_basedir=false
pref_main_save_winpos=true
pref_main_confirm_exit=false
pref_main_suppress_status_messages=false
switch_msgwin_pages=false
beep_on_errors=true
auto_focus=false
default_open_path=
sidebar_symbol_visible=true
sidebar_openfiles_visible=true
sidebar_openfiles_fullpath=false
editor_font=Monospace 10
tagbar_font=Sans 9
msgwin_font=Sans 9
show_notebook_tabs=false
show_tab_cross=true
tab_order_ltr=true
tab_pos_editor=2
tab_pos_msgwin=0
tab_pos_sidebar=2
show_indent_guide=false
show_white_space=false
show_line_endings=false
show_markers_margin=true
show_linenumber_margin=true
long_line_type=0
long_line_column=72
long_line_color=#C2EBC2
symbolcompletion_max_height=10
symbolcompletion_min_chars=4
use_folding=true
unfold_all_children=false
use_indicators=true
line_wrapping=false
auto_close_xml_tags=true
complete_snippets=true
auto_complete_symbols=true
pref_editor_disable_dnd=false
pref_editor_smart_home_key=true
pref_editor_newline_strip=false
line_break_column=72
auto_continue_multiline=true
comment_toggle_mark=~
scroll_stop_at_last_line=true
pref_editor_default_new_encoding=ISO-8859-1
pref_editor_default_open_encoding=none
default_eol_character=2
pref_editor_new_line=true
pref_editor_replace_tabs=false
pref_editor_trail_space=false
mru_length=10
disk_check_timeout=30
pref_toolbar_show=false
pref_toolbar_show_search=true
pref_toolbar_show_goto=true
pref_toolbar_show_zoom=false
pref_toolbar_show_indent=false
pref_toolbar_show_undo=false
pref_toolbar_show_navigation=true
pref_toolbar_show_compile=true
pref_toolbar_show_colour=true
pref_toolbar_show_fileops=true
pref_toolbar_show_quit=true
pref_toolbar_icon_style=0
pref_toolbar_icon_size=3
pref_template_developer=Michael Heidinger
pref_template_company=
pref_template_mail=michael@zenwalk
pref_template_initial=MH
pref_template_version=1.0
pref_template_year=%Y
pref_template_date=%Y-%m-%d
pref_template_datetime=%d.%m.%Y %H:%M:%S %Z
context_action_cmd=
show_editor_scrollbars=true
brace_match_ltgt=false
use_gtk_word_boundaries=true
complete_snippets_whilst_editing=false
show_symbol_list_expanders=true
sidebar_visible=true
statusbar_visible=true
msgwindow_visible=false
fullscreen=false
scribble_text=Type here what you want, use it as a notice/scratch board
treeview_position=156
msgwindow_position=472
geometry=0;32;1280;744;1;
custom_date_format=
[search]
pref_search_current_file_dir=true
fif_extra_options=
[tools]
make_cmd=make
term_cmd=xterm
browser_cmd=firefox
grep_cmd=grep
[printing]
print_cmd=/usr/bin/lpr %f
use_gtk_printing=true
print_line_numbers=true
print_page_numbers=true
print_page_header=true
page_header_basename=false
page_header_datefmt=%c
[VTE]
load_vte=true
emulation=xterm
font=Monospace 10
scroll_on_key=true
scroll_on_out=true
enable_bash_keys=false
ignore_menu_bar_accel=false
follow_path=false
run_in_vte=false
skip_run_script=false
scrollback_lines=500
shell=/bin/bash
colour_fore=#FFFFFF
colour_back=#000000
last_dir=/home/michael
[plugins]
load_plugins=true
active_plugins=;
[project]
session_file=/home/michael/michael/geany/uds/libuds.geany
project_file_path=/home/michael/projects
[files]
recent_files=/home/michael/.geany/geany.conf;
current_page=7
FILE_NAME_0=660;None;0;16;1;1;0;/home/michael/michael/geany/uds/README;
FILE_NAME_1=256;Make;0;16;1;1;0;/home/michael/michael/geany/uds/makefile;
FILE_NAME_2=971;C;0;16;1;1;0;/home/michael/michael/geany/uds/uds_datastructure.h;
FILE_NAME_3=1069;C;0;16;1;1;0;/home/michael/michael/geany/uds/mainfunc.c;
FILE_NAME_4=951;C;0;16;1;1;0;/home/michael/michael/geany/uds/templ.c;
FILE_NAME_5=1023;C;0;16;1;1;0;/home/michael/michael/geany/uds/uds_form.c;
FILE_NAME_6=629;C;0;0;1;1;0;/home/michael/michael/geany/uds/uds_colum_types.h;
FILE_NAME_7=0;Conf;0;16;1;1;0;/home/michael/.geany/geany.conf;
app->configdir is set to NULL if the directory doesn't exist
since this is the way that realpath() works.
in main.c:3423
setptr(app->configdir, tm_get_real_path(app->configdir));
Dear Geany devs,
After a (short) period of getting used to it, I really like the new feature
to automatically insert quotes and brackets! It saves me a lot of
keypresses to construct a piece of code ;)
Except for this example: "$var[] = 'test';"
Instead of typing [] I/we now have to type [ and right arrow key. Same goes
for "$empty = ''", etc...
My request:
If the next character is the same as the one Geany has inserted(/closed),
overwrite the previously inserted one.
So when typing "$test = '';" it is exactly as typed and not "$test = '';''"
What do you guys think of such an 'additional' feature?
-H-
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is it possible to build an older version of Geanyvc-plugin to use with
Geany 0.14, I want to do this so that I can use Geany-debug and
Geanyvc at the same time :-)
If this is possible, which version of geanyvc should I use and where
can I get the source for that version of Geanyvc?
/Micke
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAklBGMAACgkQzdNqVVhZvLwrpQCfabWisPEE6N3cPii6PwKi5iD6
R5gAnip8+/lbqqbRAVvLtUqcFrcIXkvI
=1mjB
-----END PGP SIGNATURE-----
Can someone tell me why geany hides all the editor tabs if I happen to
double click on one of them? Is that a useful feature to someone, or just
a gtk byproduct? I wish I could disable that behavior. I accidentally
double-click a tab more often than I'd like to admit.