Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
wxTreeCtrl
dje:
So, what I'll do :
- _ sort these items by the file (and not the directory) so that the header and the source code are together in the list logger (not the tree)
- _ move the window containing the code under the one containing the search results. I think that we need more space for the code itself than for the results. I'll do it with an option to set splitter mode (horizontal or vertical). Only code preview and logger will be affected by the direction. Buttons and combos will stay on the top of the panel.
Sorry for your night, I won't take any decision concerning the last point _ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)
If you use the list control logger, results are not lost when you close or hide the window (through view menu). You lose them if you work with the tree.
If you work with list control, you can assign directly a shortcut with KeyBinder plugin to the ThreadSearch menu entry of the View menu. That way, you directly have what you're asking for
Dje
Albenejean:
That is fine for me.....
--- Quote ---_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)
--- End quote ---
Now I prefer
--- Quote ---just a minimize (or hide) button
--- End quote ---
And I'll make a patch for CB to move the Tabs of the logs to the left (so I have more space).
I found two related bugs (Message Notebook mode).
_ Open CB, and disable the ThreadSearch with a right click on the Logs "title bar". Re-enable it (with a right click) CB crash.
_ Open CB. Click on the ThreadSearch, and the disable it. Wait......... Several tabs shows the ThreadSearch window now.
Good night!
dje:
Hi !
--- Quote from: Albenejean on January 03, 2008, 01:30:32 am ---
--- Quote ---_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)
--- End quote ---
Now I prefer
--- End quote ---
I'm not sure to understand what you mean (sorry :oops:) Could you be more precise ?
--- Quote ---I found two related bugs (Message Notebook mode).
_ Open CB, and disable the ThreadSearch with a right click on the Logs "title bar". Re-enable it (with a right click) CB crash.
_ Open CB. Click on the ThreadSearch, and the disable it. Wait......... Several tabs shows the ThreadSearch window now.
--- End quote ---
I had already seen the second. It is an InfoPane bug. I have to submit it on BerliOS providing my code to be sure the bug is not in mine :)
Dje
Albenejean:
--- Quote ---Quote from: Albenejean on Today at 12:30:32 AM
Quote
_ when the window is closed, you memorize th code, but not the search results. It would be great that you memorize both (or that you launch the last search??)
Now I prefer
I'm not sure to understand what you mean (sorry Embarassed) Could you be more precise ?
--- End quote ---
My **problem** only happens in the detached window mode.
The problem is that when the window is detached it takes too much place on the screen. So when I search something, I ... search, and then I close the window so that I can have a nice look at my code.
But sometimes, I want to go back to the search to look for the next occurence. And.... damned I have closed the window!!!
So what I wanted to have is a window that you can hide without loosing the results. Perhaps you can do it with the Visible property of wxWidget. You can perhaps do the following : check if the window already exists. If no you create it. If it exists you check if it is visible. If no you set it visible. If it is visible, ..... well you have nothing to do.
It would be even more better if you set an option to turn the window automatically invisible when you click outside it.
dje:
Hi !
I released v1.1 of the plugin at this page.
So, I think there may be nothing to do.
@Albenejean
Please test with SVN4767 and ThreadSearch v1.1.
What I did:
- I run C::B
- I configure C::B so that ThreadSearch is managed by the layout and the logger is the TreeCtrl.
- I Clicked on Settings/Editor... then on Keyboard shortcuts
- I select in the Commands tree the Menu bar/View/ThreadSearch command
- I assign Ctrl+T keyboard shortcut to this command
- I click on Ok
And now, I can run searches, use the plugin for previewing/opening files, close the ThreadSearch window with the X button or the menu item View/ThreadSearch or the shortcut Ctrl+T
Another solution is to let the messages notebook manage ThreadSearch panel and show/hide it with F2 (default shortcut).
I am working on XP SP2 but when I see your picture, you may not. If the problem remains, could you tell more on the OS ?
Dje
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version