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...
Dear Geany devs,
I've updated my local Geany install to the latest svn version and
recompiled the geanyprj plugin. Since I build Geany in a 'odd' target
(/usr/local/stow/geany-r3468) I have to re-enable all plugins after an
update.
Enabling 'project' and closing the dialog immediately crashed Geany...
I'm not sure how to create a meaningful backtrace...
-H-
geany 0.16 (svn >= r3468) (built on Jan 15 2009 with GTK 2.14.4, GLib
2.18.2)
geanyprj-r343
Dear Geany devs,
It would be really nice if the 'New' and 'New from template' options were
available in the right-click menu of the file browser sidebar.
Ideally, there would be a pop-up in which you can name the newly created
file...
Thrash bin or cool idea?
-H-
I'm paranoid and I save files I'm working on a lot. Since I'm stuck with
multiple platforms and programs I edit things with, I've settled on Alt-F
to reach the file menu and S to save as having the broadest compatibility
there.
This doesn't work well with Geany, because "Save" is grayed out if you
haven't modified the file yet. So if you haven't made a change yet, that
combination of keys leaves one stuck in the menu structure, likely to
cause mayhem if you keep typing without noticing what happened. I find
applications that change how the menus work in a modal way like this any
more than absolutely necessary frustrating, and I'm not aware of any other
GNOME applications that work this way.
There's multiple use cases this doesn't support too. I might want to save
a file just to update its timestamp, or just to confirm that I have
appropriate permissions to change it before I actually begin editing it.
Is there any way to change this behavior? What I normally expect from a
programming oriented editor is a visual indication of changed/unchanged,
but not for save to ever be disabled. I'm sure there are people that
prefer the current behavior, so some sort of settings option ("Disable
save if document unchaged") to toggle between the two would seem the ideal
way to handle this.
--
* Greg Smith gsmith(a)gregsmith.com http://www.gregsmith.com Baltimore, MD
Hi all,
this is my first posting to the geany mail list!
I've been looking for a replacement for Editplus (excellent windows text
editor... but now I completely debian/ubuntu based) to do my coding
(php/perl/sql) and Geany looks like it might be sufficient.
What I need to be able to do ( I'm not sure if "snippets" can actually
do it) is as follows:
1. Bring up a list that has all my little fragments of code. THis will
not replace any text it simply will be inserted at the cursor point
2. I would like to search quickly my fragments
e.g mysql_connect
will insert the 4 or 5 lines have the mysql_connect code with my
username passwords host etc in it
3. Once I find the correct fragment I click on it and it inserts the
code into the editor at the cursor point.
4. I have different lists as well.
e.g phpcode,perlcode,actionscript code, etc
Can Geany do this?
If so I would greatly appreciate some assistance on how to set this up.
I do apologise if this is what snippets can do, because my understanding
of it is different to what I've outlined above.
I did search the archives but could find exactly my scenario
thanks all
Sam
I missed the Document menu option - I am sorry. There's plenty of wrapping ability - I did not see it. The most recent ver is .14 in the Unbuntu repositories - so .15 will be even better.
I tried coding some Java with Geany for the first time and it feels correct and easy to use, yet powerful. I have to say it: it's the first Linux editor I ever liked. IMHO.
>> It needs a line wrap button. It's a major mistake not to have one.
>> This is a text editor after all. Isn't it?
>I guess you mean a toolbar button to quickly enable/disable line
>wrapping?
>For a toolbar button we would need an icon first.
>But maybe it isn't necessary at all:
>- there is a menu item in the Document menu to enable/disable it for
>the current file
>- there is a keybinding "Toggle Line wrapping" to enable/disable it for
>the current document
>- and there is a option in the prefs dialog to enable/disable it
>globally for all files
>
>Isn't this enough?
>
>Regards,
>Enrico
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
It needs a line wrap button. It's a major mistake not to have one. This is a text editor after all. Isn't it?
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
...snip..
>I believe what is being asked for is a way to "format" the text and
>force line endings (\n. \r, etc. depending on document ) at the current
>line-breaking column (eg 72). Of course the breaks would occur at word
>boundaries.
...snip...
The "format". I have this operation in a favorite windows editor - it's handy. I admit to liking a few simple windows editors...
But Geany... I compiled and ran Java each with one button click in Ubuntu. Geany knew how with no tool set up. The output window was useful. Again, I'm liking this.
--
_______________________________________________
Surf the Web in a faster, safer and easier way:
Download Opera 9 at http://www.opera.com
Powered by Outblaze
Hello,
I have a strange geanistic behaviour when working with (python) modules in several directories, such as
/main
/tools
/samples
When I try to execute a file, it may or not run depending on the location of the last executed file. Sometimes the 'cd' is automatically executed before run (as shown in the terminal), and all is fine. Else python does not find the file, which is logical because for the system we are still in the previous dir:
python: can't open file 'pattern.py': [Errno 2] No such file or directory
I hardly understand the logic of the issue:
* It seems that it always works fine between directories at the same level (e.g. tools <-> samples).
* During some sessions it fails when going up (tools -> main), during others when going down.
This may depend on the first run of the present session (haven't noted yet).
Consistently enough, the feature called "Follow path of the current file" works and fails the same way ;-} Meaning that sometines the 'cd' instruction is neither shown nore executed in the terminal.
Also, this does not affect anything else as run.
This is not a major issue, as I just 'cd' myself. But still ennoying during some developpment phases, I guess.
I have geany 0.15 installed on a ubuntu 8.10 system.
Thank you, Denis
------
la vida e estranya
This is something that's been bothering me for a while; I'd like to hear
what others think.
In the Replace dialog, the "Replace All" section has a checkbox ("Close
dialog"), and three buttons that control the scope of the search:
[In Selection] [In Session] [In Document]
"Selection" and "Document" are self-explanatory; "Session" replaces text in
all currently-open files.
Why are the buttons in this order? Intuitively, I would expect them to be
ordered in terms of increasing scope: selection, document, session. I don't
see why the current order would be preferable---I've never even used the
"In Session" button in actual work.
--Daniel
--
NAME = Daniel Richard G. ## Remember, skunks _\|/_ meef?
EMAIL1 = skunk(a)iskunk.org ## don't smell bad--- (/o|o\) /
EMAIL2 = skunk(a)alum.mit.edu ## it's the people who < (^),>
WWW = http://www.******.org/ ## annoy them that do! / \
--
(****** = site not yet online)