Henning Hraban Ramm wrote:
Sorry, I typed KeyCode... Shame on me!
Yes, it works. That makes:
def searchBoxKeyUp(self, evt):
#dabo.infoLog.write("KeyUp user typed rawKeyCode:%s"
%(evt.rawKeyCode))
#dabo.infoLog.write("KeyUp user typed keyCode:%s" %(evt.keyCode))
#dabo.infoLog.write("KeyUp user typed keyChar:%s" %(evt.keyChar))
if evt.keyCode in (dabo.ui.dKeys.key_Return,
dabo.ui.dKeys.key_Numpad_enter):
self.raiseEvent(freeNoteSearchEvent, searchTerm =
self.searchBox.Value)
evt.Continue = False
OK, I changed that in my sources.
[search stuff snipped]
Ok, then this works like intended. But I find the behaviour a bit
confusing:
You must *know* that you must clear the search field to get the whole
list back.
Well I'm open for ideas but I'm not sure how to get the intended
behavior, which is to show the user only the notes containing the
information, in another way.
But while a search is active, one cannot change the selection in the
list view (tree view works).
I can't duplicate this, it works fine for me. I don't really know what
could cause this either.
Hmm, this is on line 716 in the editor, does Python report the wrong
line numbers or are you by any chance still using and older version?
It's because I changed your code to find the bugs ;-)
But I couldn't reproduce the error anyway.
But I still get this if I open a sub-note tree:
I did some more error handling, try again.
Out of interest, do you open it with a single click on the arrow or
through a double click on the text?
A new version is up on
http://www.adsworth.info/files/freenotes/freeNotes-0.0.3.22.zip and the
source archive
http://www.adsworth.info/files/freenotes/freeNotes-0.0.3-22.src.zip
Oh, I conceded to your menu structure ideas. :)
Well the help menu is still there but at some point there'll be a real
help so I'm keeping it.
Big Thanks Hraban for debugging this on Mac and giving Feedback.
adi
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users