User forums > General (but related to Code::Blocks)
File explorer window
Klokan:
Hm, I see text "Read only" at the bottom status bar, but no graphical mark in the file tab.
Also there is no mark in the File Explorer.
dmoore:
--- Quote from: Klokan on June 15, 2007, 02:25:44 pm ---Hi dmoore,
I have just tried it, it looks good.
--- End quote ---
glad you like
--- Quote ---I have few suggestions on the File Explorer:
- possibility to open up a system menu on the file/directory -> I use it very often to checkout/checkin file/directory in my ClearCase versioning system
--- End quote ---
not sure what you mean by system menu... "environment->settings->interpreted languages" lets you add actions for files that will populate the right click context menu (for files only at this point, working on directory implementation as well). actions can be things like spawning Nautilus/Windows explorer, running interpreters, image viewers etc
--- Quote ---- possibility to synchronize the File Explorer with the current opened file.
--- End quote ---
good idea. will do very soon.
--- Quote ---- possibility to change the sorting: directories first, then files
--- End quote ---
isn't that what it is now?
--- Quote ---- possibility to change the sorting: file names or extensions or date,....
--- End quote ---
yes, I'll add that option eventually
--- Quote ---- possibility to refresh the File Explorer
--- End quote ---
forgot to put that command in the menu... next revision. I'm debating whether to force refresh after running the Interpreter Actions.
--- Quote ---- somehow mark read-only files (some small lock icon maybe?)
--- End quote ---
will do.
dmoore:
--- Quote from: Klokan on June 15, 2007, 02:25:44 pm ---- possibility to change the sorting: directories first, then files
--- End quote ---
looks like wxtreectrl is a bit iffy on win32. I'm having trouble getting oncompareitems to overload properly... (i've tried to copy from the wxwidgets treectrl sample, whose overload is supposed to work)
Pecan:
--- Quote from: dmoore on June 15, 2007, 11:11:12 pm ---
--- Quote from: Klokan on June 15, 2007, 02:25:44 pm ---- possibility to change the sorting: directories first, then files
--- End quote ---
looks like wxtreectrl is a bit iffy on win32. I'm having trouble getting oncompareitems to overload properly... (i've tried to copy from the wxwidgets treectrl sample, whose overload is supposed to work)
--- End quote ---
Yep, I've had a hell of a time figuring that out too. But ArtoJ does it just fine.
Look at CodeSnippets. CodeSnippetsTreeCtrl::OnCompareItems.
ArtoJ has this criptic statement in the header:
--- Code: --- private:
// Must use this so overridden OnCompareItems() works on MSW,
// see wxWidgets Samples -> TreeCtrl sample
//
// Yes, again, ugly way to solve wxWidgets' weirdness
DECLARE_DYNAMIC_CLASS(CodeSnippetsTreeCtrl)
}
--- End code ---
and this in the cpp
--- Code: ---
IMPLEMENT_DYNAMIC_CLASS(CodeSnippetsTreeCtrl, wxTreeCtrl)
--- End code ---
dmoore:
unfortunately I've added those lines Pecan and still not working. I must have something stupid in my code that's stopping the call from going through.
(if you want to check out my FileExplorer.cpp and FileExplorer.h from my cbilplugins SVN and take a look I'd be very appreciative)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version