Hi Enrico,
1. You probably know this, but just in case:
For nested Python classes the methods in the Symbols tab are displayed incorrectly: all methods (those of inner and outer classes) are prefixed with the inner class name, e.g.:
class Finder: class Dir: def __init__(self, fd, mtime, name, type): ... def __init__(self, root = '/'): self.root = root ...
will produce in Symbols:
Dir::__init__[28] Dir::__init__[35]
2. It would be nice to have a command-line option for positioning on a line in the opened file. For instance, I am using ipython, and if I specify geany as its editor, it would automatically take me to the line with error. This is true for practically all cases when geany is set as a default editor for some other tool.
I cannot thank you guys enough for this excelent tool.
Cheers,
Misha
On Sat, 30 Sep 2006 11:18:22 +0200, "Mikhail Savitsky" mikhail.savitsky@gmail.com wrote:
Hi Mikhail,
- It would be nice to have a command-line option for positioning on
a line in the opened file. For instance, I am using ipython, and if I specify geany as its editor, it would automatically take me to the line with error. This is true for practically all cases when geany is set as a default editor for some other tool.
Done in r863. There is a new command line option --line (short -l) to specify a line where to goto after loading the file.
This works for the first file specified on the command line, other files specified on the command line will be opened with the cursor at the beginning of the first line.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key
On Sat, 30 Sep 2006 11:18:22 +0200, "Mikhail Savitsky" mikhail.savitsky@gmail.com wrote:
Hi Enrico,
- You probably know this, but just in case:
For nested Python classes the methods in the Symbols tab are displayed incorrectly: all methods (those of inner and outer classes) are prefixed with the inner class name, e.g.:
class Finder: class Dir: def __init__(self, fd, mtime, name, type): ... def __init__(self, root = '/'): self.root = root ...
will produce in Symbols:
Dir::__init__[28] Dir::__init__[35]
Thanks for the report. I spend some time to fix this and probably now it is fixed, but it needs testing. I tested it and all cases I could imagine worked fine, but I guess there still might be some bugs.
If Geany freezes, don't be scared, the freeze occurs after saving the file ;-). But I think it should work without freezes or crashes.
Note: the parser works at the moment only with spaces *or* with tabs. If you mix spaces and tabs, the parser gets confused and will probably fail, so don't mix them in one file. I think we will fix this in the future.
Please test it, use SVN r867 or above.
Regards, Enrico
-- Get my GPG key from http://www.uvena.de/pub.key