I think the "File saved" status bar message should be eliminated.
When a file with outstanding changes gets saved, the tab text changes
from red to black, and the asterisk in the title bar disappears. That
should be plenty enough indication that the file got saved.
The reason this bothers me is when I try to compile a file, and I get
a compiler message that says "error on line 115" the first thing I want
to know is, how close is that line to the line I just edited?
But when I look down at the status bar, instead of seeing the current
line number like I expect, I see a message saying the file got saved.
So would you consider getting rid of this status bar message?
( If so, it's in the file "document.c" somewhere around line 1104 )
Thanks,
- Jeff
I've been using geany for a lot a tasks over the last 6 months and
wanted give back. I produced this icon in inkscape didn't have time
to make the bitmapped versions. You're free to use it.
I'm using an american keyboard with Geany, but have recently been
wanting to type in some unicode characters.
I don't have an AltGr key on my keyboard, nor do I have any special
keys that I can spare to use as a Compose key (I know, most keyboards
have a "Windows" key which folks probably usually use for this
purpose, but that key is not easily accessible on my keyboard).
After a bit of searching, I found that the common way to get unicode
characters (with Gnome anyway) is to hit Shift-Ctrl-U, release, then
type in the hex digits representing the unicode code point, then hit
Enter. This works nicely on Gedit, and in Firefox too: for example: è,
é, ê.
In Geany, to get that to work, first I have to give up using
Shift-Ctrl-U for dealing with case (I don't need this feature often
anyway, and besides, there's always the menu item for it). Once
Shift-Ctrl-U is unmapped though, it still doesn't work well. Geany
wants me to *hold down* Shift-Ctrl-U while I type the hex digits
(which requires some finger acrobatics), and then when I'm done,
although hitting Enter gives me the character I wanted, it also
inserts a newline into my file.
I think it would be great if I could enter unicode characters in Geany
the same way as with Firefox, Gedit, the Gimp, the Gnome dictionary
applet, Gaim, etc.
Thanks,
---John
As I'm not an experienced programmer and really lazy on top of that, I
tend to jump to other areas of code quite often. Example: I edit
line 199 at the moment, but want/need to take a look at
destroy_earth() function, copy two lines of code and jump back to
where I was straight away.
It would be cool if there was some keyword combo or an icon to move me
back to where I was before I used the "functions browser" on the left
for the last time (and perhaps the last time before that if the combo
is used twice"). It should ignore jumps achieved by using arrows and
pgup/pgdn.
Or perhaps a similar feature is impremented alredy?
--
regards,
muszek - jerzy - Mateusz Mucha
muszek(a)gmail.com
ubuntunews.info | muszek.com | hottrick.org | krakownews.pl |
love-calculator.org ;)
Hi there
On looking at the sci_wrappers.c and having implemented the plugin sci
stuff i think most people would be like me and want all of the sci
wrapper functions available in the plugin api, more or less.
Is there a reason to not just add all of them in one go rather than
piecemeal? If not, I'll do a little script to strip them out into the
correct format.
Comments?
thanks
bd
--
http://www.blackdog-haxe.com/
"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti
I just ran into a (probably rare) crash bug in Geany.
If I try to switch Document->Set Encoding from "Unicode->UTF-8"
to "Without encoding" , then the next time I save the document
I get a segfault. It looks like it happens when Geany tries to
rebuild the tags...
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219221808 (LWP 30632)]
0xb75d8f91 in strcmp () from /lib/libc.so.6
(gdb) bt
#0 0xb75d8f91 in strcmp () from /lib/libc.so.6
#1 0x080c5e8e in compare_symbol (a=0x84ed040, b=0x84ed030) at symbols.c:311
....
....
....
#37 0x080b2581 in main (argc=12, argv=0xbfe97994) at main.c:769
(gdb) frame 1
#1 0x080c5e8e in compare_symbol (a=0x84ed040, b=0x84ed030) at symbols.c:311
311 ret = strcmp(a->str, b->str);
(gdb) print a->str
$1 = (gchar *) 0x0
(gdb) print b->str
$2 = (gchar *) 0x0
As you can see, compare_symbol() calls strcmp(0x0,0x0) but I don't
know enough about what's happening to know if it's OK just to check
if ( a->str && b->str ) else return 0, or maybe there is a problem
with the upstream code that this should never happen anyway.
It's not a big problem for me since I rarely need to change the
encoding options, but I thought it should at least be noted here.
- Jeff
Dear list,
When declaring variables in a function declaration, those variables aren't added to the symbol list...
For example:
<?php
function addVariable($bVar) {
//do stuff
}
?>
$bVar should be added to the list, but isn't.
Cheers!
-H-
With the advent of the plugin system i think it would be very useful if
geany had a method of firing events for plugins. Right now I have
implemented the sci_ functions in the plugin interface but of course
this is one way traffic.
One of the things i was hoping for was to be able to hook in the
non-standard haxe code completion via the plugin but this would not be
possible as the event needs to be fired from editor_start_auto_complete,
i.e. initiated on the geany side rather than the plugin side.
If the plugin interface had a means of registering a callback,
plugin_register(AUTO_COMPLETE,myautocompletfunction) ;
which would add myautocompletefunction to a linked list of functions
for this event, then in editor_start_auto_complete it could maybe call
plugin_event(AUTOCOMPLETE, params) ;
or something to this effect would be very useful. Ultimately all
the on_ functions should do the same, firing events for any registered
plugins.
Anyone been thinking along these lines? Similarly for key events too.
thx
bd
--
http://www.blackdog-haxe.com/
"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti
Not much of a test but it works!
import Geany;
class Tests {
static function main(){
trace("intialising tests - this");
}
public function new() {
var doc = Geany.create("nice",null);
var intext = "woohoo\n";
doc.setText(intext);
for (i in 0...5) {
var pos = doc.getPosition();
doc.insertText(pos,"new text "+i+"\n");
pos = doc.getLength();
doc.insertText(pos,"new length is:"+pos+"\n");
}
}
}
--
http://www.blackdog-haxe.com/
"It is no measure of health to be well adjusted to a profoundly sick
society." --Jiddu Krishnamurti
Hi,
I just created a Windows build of SVN r1762.
Windows-specific changes:
- installation of plugins can be skipped
- fix some filename problems (when using special characters in
filenames)
- the full installer (with GTK runtime) includes now GTK 2.10.13
- the Geany executable included in the full installer was built against
GTK 2.10.13, so tab DnD (reordering) works now, the executables in the
small installer and in the zip file are still built against GTK 2.6.10
to keep compatibility
- some small bugfixes
If anyone is interested in, here are the links:
http://files.uvena.de/geany/geany-0.12svn_r1762_nogtk_setup.exehttp://files.uvena.de/geany/geany-0.12svn_r1762_setup.exehttp://files.uvena.de/geany/geany-0.12svn_r1762_win32.zip
Regards,
Enrico
--
Get my GPG key from http://www.uvena.de/pub.key
Powered by Debian GNU/Linux, GnuPG and Sylpheed.