xtree-mode / dynamic static - tree view patch

Janek Kozicki janek_listy at wp.pl
Wed Apr 28 19:47:39 UTC 2010


Hi,

Today I was using Tree view a little bit, because directory
structure in my project got too large. And I had to browse it somehow.

And so, I found out that the Dynamic / Static toggle is totally
useless for me. But the xtree-mode toggle was extremely useful.

I would remove dynamic/static completely and put xtree-mode toggle
there, but this could offend someone, so instead I added an option to
toggle xtree-mode.

So now, the F4 toggles two boolean variables. 00 → 01 → 10 → 11 → 00

see attached patch.

In fact, at first I wanted to use the empty F7 label for that, but I
just couldn't get it to work. Despite my best efforts the function to
toggle the boolean, linked to F7 was never called. If you are curious
what I have done here, see the second, “WTF” patch.

best regards
-- 
Janek Kozicki                               http://janek.kozicki.pl/  |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtree-mode-toggle.diff
Type: text/x-patch
Size: 20670 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20100428/61fd73a6/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xtree-WTF.diff
Type: text/x-patch
Size: 4184 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20100428/61fd73a6/attachment-0001.bin>


More information about the mc-devel mailing list