Re: [Zim-wiki] How to expand/collapse the whole tree?
2009/6/23 Jaap Karssenberg jaap.karssenb...@gmail.com: Dotan Cohen wrote: Vlastimil, do all your leaves have a common root? The shortcut keys open and close a node, so you would have to be on the root node to do that. If you have two open root-level nodes, the shortcut keys won't close them both. This should not be the case. When testing here these keys collapse/expand _all_ nodes regardless of the nesting structure. So + A + B + C becomes - A 1 2 - B 1 2 - C 1 2 and back -- Jaap I just did some testing and found this: * on the numpad: open currently selected node / on the numpad: close currently selected node Those were the only two that I knew. now I discovered these: * on the 8 key: open all nodes \ above the enter key: close all nodes Kubuntu 9.04, Zim 0.27 -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] How to expand/collapse the whole tree?
Dne St 24. června 2009 12:14:58 Dotan Cohen napsal(a): I just did some testing and found this: * on the numpad: open currently selected node / on the numpad: close currently selected node Those were the only two that I knew. now I discovered these: * on the 8 key: open all nodes \ above the enter key: close all nodes Kubuntu 9.04, Zim 0.27 LOL, that's it! :D Works for me the same way. -- Vlastimil Ott www.e-ott.info ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] How to expand/collapse the whole tree?
That explains. I'm testing on a laptop without keypad - so only used the non-keypad keys. Probably the keypad key does not give the literal character but a special key code instead. Apparently this special code is handled by the gtk widget already... If you put this one in the bug tracker I will make it consistent with the next release. Regards, Jaap https://bugs.launchpad.net/zim/+bug/391784 -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] How to expand/collapse the whole tree?
Vlastimil Ott wrote: Dne Út 23. června 2009 19:10:56 jste napsal(a): Dotan Cohen wrote: Vlastimil, do all your leaves have a common root? The shortcut keys open and close a node, so you would have to be on the root node to do that. If you have two open root-level nodes, the shortcut keys won't close them both. This should not be the case. When testing here these keys collapse/expand _all_ nodes regardless of the nesting structure. No, sorry, they don't - it really affects the current node only. I have many 'roots', at present ten, with nested subtree structure. That is definitely a bug - although I'm at a loss what can cause it. These key bindings directly call the functions Gtk2::TreeView-expand_all() and collapse_all() which are clearly documented to expand / collapse all nodes. At least I can not re-produce this effect here - what versions of Gtk / Gtk-Perl do you have ? Regards, Jaap ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp
Re: [Zim-wiki] How to expand/collapse the whole tree?
2009/6/22 Vlastimil Ott li...@e-ott.info: Hello, I found it in help (*, \) but it doesn't work for me as expected - it expands/collapses the current subtree only. Is it possible to expand the whole tree? I thought there were some items in Tools menu but they are not. Sorry for a dumb question and thanks, Vlastimil, do all your leaves have a common root? The shortcut keys open and close a node, so you would have to be on the root node to do that. If you have two open root-level nodes, the shortcut keys won't close them both. -- Dotan Cohen http://what-is-what.com http://gibberish.co.il ___ Mailing list: https://launchpad.net/~zim-wiki Post to : zim-wiki@lists.launchpad.net Unsubscribe : https://launchpad.net/~zim-wiki More help : https://help.launchpad.net/ListHelp