Here are some further sugestions.
1. longline marker Currently the distance to the left border is given by a number of pixel (am I right?). Is it possible to use a number of chars instead? So it will still be usable - when using the zoom funktion - or switching to another Font
2. scrolling scrolling eats a lot of CPU on my system is there something like "smoth scolling" enebled by default?
3. unused symbols is it possible that unused symbols won't be displayed
4. typo There is an Typo in the german reload tooltip: "Ließt Datei neu ein" Ließt –> Liest
4. Parser to find classes or functions I used the word "class" in a comment, geany thought it is another class definition, so it adds this "class" to the symbol view. The same to function definitions. I think it can be tricky to solve this.
For Python these infos may help: "class" (or "def" )is the first word in a line. Only whitspaces or tabs are allowed bevore. The definition line ends with a ":". Only whitspaces or tabs are allowed afterwards.
cu Mr_Snede and thank you for geany so far
By the way: Sorry for the troubles with my last mail, i used the wrong e-mail adress to send
On Wed, 10 May 2006 13:15:02 +0200, headstone headstones@web.de wrote:
Hi,
- longline marker
Currently the distance to the left border is given by a number of pixel (am I right?).
No, it uses columns.
So it will still be usable
- when using the zoom funktion
- or switching to another Font
The long line marker behaves correctly on zooming and also on changing the font. The only thing to take care about is to choose a monospace font(obviously).
- scrolling
scrolling eats a lot of CPU on my system is there something like "smoth scolling" enebled by default?
Not really, but I'll try to make it faster.
- unused symbols
is it possible that unused symbols won't be displayed
What do you mean by unused symbols? Where should they not to be displayed, in the symbol list in the sidebar?
- typo
There is an Typo in the german reload tooltip: "Ließt Datei neu ein" Ließt –> Liest
Fixed.
- Parser to find classes or functions
I used the word "class" in a comment, geany thought it is another class definition, so it adds this "class" to the symbol view. The same to function definitions.
Which filetype? Can you give some example code?
By the way: Sorry for the troubles with my last mail, i used the wrong e-mail adress to send
No problem.
regards, Enrico
On Wed, 10 May 2006 16:07:15 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
On Wed, 10 May 2006 13:15:02 +0200, headstone headstones@web.de wrote:
- longline marker
Currently the distance to the left border is given by a number of pixel (am I right?).
No, it uses columns.
So it will still be usable
- when using the zoom funktion
- or switching to another Font
The long line marker behaves correctly on zooming and also on changing the font. The only thing to take care about is to choose a monospace font(obviously).
With a monospaced font it works. I don't know why i didn't used a monospaced font up from the start as usual.
- unused symbols
is it possible that unused symbols won't be displayed
What do you mean by unused symbols? Where should they not to be displayed, in the symbol list in the sidebar?
Yes I mean the sidebar. There are entrys like "Members", "Makro", "Struckt / Typedef" , "Variablen", "Sonstiges" (These are entrys in the german version) All these entrys are empty. On the otherside there are Entrys like "Klassen" and "Funktionen" presenting a (colapsable) tree with all classes or functions in the current sourcecode. I Know these entrys are only filled, when there is a counterpart in the sourcecode. But while I don't use a class there is no need for a "Klassen" entry in the sidebar. The same for "Makros".
Why is the Entry "Variablen" not filled even if there are variables in my soucecode?
here are som lines in python (just an excerpt, not runable): ---------------- snip #!/usr/bin/python # -*- encoding: latin-1 -*-
# todo: Errorhandling if init values are not set
import Tkinter # only needet in this prototype import time # only needet in this prototype werte = [1, 30, -40, 30, 50, 130, 90]
class Graf: '''foobar class docstring''' def __init__(self, values): self.values = values self.zero_line = None self.border_bottom = 10.0 self.graf_upside_down = True
## ################# setters ## def set_borders(self, border_left, border_bottom): '''foobar function docstring''' # todo: make shure values are saved as floats self.border_bottom = border_bottom self.border_left = border_left ---------------- snapp
- Parser to find classes or functions
I used the word "class" in a comment, geany thought it is another class definition, so it adds this "class" to the symbol view. The same to function definitions.
Which filetype? Can you give some example code?
Filetype = *.py Examplecode:
# this test demonstrates how the words " class comment1 " and " def comment1 "are interpreted by geany ## this test demonstrates how the words " class comment2 " and " def are interpreted by geany ''' this test demonstrates how the words " class string1 " and " def string1 " are interpreted by geany''' """ this test demonstrates how the words " class string2 " and " def string2 " are interpreted by geany"""
Only line 3 seems to bee problematic.
cu Mr_Snede
On Wed, 10 May 2006 18:15:33 +0200, headstone headstones@web.de wrote:
- unused symbols
is it possible that unused symbols won't be displayed
What do you mean by unused symbols? Where should they not to be displayed, in the symbol list in the sidebar?
Yes I mean the sidebar. There are entrys like "Members", "Makro", "Struckt / Typedef" , "Variablen", "Sonstiges" (These are entrys in the german version) All these entrys are empty. On the otherside there are Entrys like "Klassen" and "Funktionen" presenting a (colapsable) tree with all classes or functions in the current sourcecode. I Know these entrys are only filled, when there is a counterpart in the sourcecode. But while I don't use a class there is no need for a "Klassen" entry in the sidebar. The same for "Makros".
Yes, but hiding unused entries would be more difficult then showing it empty. I think it is ok when empty entries are shown. If you really can't live with that, add some dummy variables. ;-)
Why is the Entry "Variablen" not filled even if there are variables in my soucecode?
This is because the parser for Python does not recognise variables. Someone should write it...but now the parser differs between function and methods.
- Parser to find classes or functions
I used the word "class" in a comment, geany thought it is another class definition, so it adds this "class" to the symbol view. The same to function definitions.
fixed.
The changes will go into SVN this evening.
regards, Enrico
On Wed, 10 May 2006 21:26:06 +0200, Enrico Tröger enrico.troeger@uvena.de wrote:
Yes, but hiding unused entries would be more difficult then showing it empty. I think it is ok when empty entries are shown.
It is not a Problem for me. Just one of my first thoughts regarding to a slim interface. I've been afraid it would be too much work.
If you really can't live with that, add some dummy variables. ;-)
plus dummy macros plus dummy Namespaces plus dummy members ... :-)
Why is the Entry "Variablen" not filled even if there are variables in my soucecode?
This is because the parser for Python does not recognise variables. Someone should write it...
I think it's not that important. Did you write the parser by yourself?
cu Mr_Snede
On Wed, 10 May 2006 22:08:14 +0200, headstone headstones@web.de wrote:
Hi,
Why is the Entry "Variablen" not filled even if there are variables in my soucecode?
This is because the parser for Python does not recognise variables. Someone should write it...
I think it's not that important. Did you write the parser by yourself?
No, the parser is from the tagmanager project, which is based on Exuberant Ctags (http://ctags.sourceforge.net/). Perhaps there were some patches on the mailing list of ctags, but right now the search function of Sourceforge is offline ;-( It seems, that ctags isn't developed anymore.
regards, Enrico