Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Editor's right-click menu can open file's containing folder.

(1/5) > >>

codeman:
My 2nd patch:
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3038&group_id=5358

I use this feature from Visual Studio all the time.

Unfortunately it is platform specific, so I could only make it work for WIN32.

oBFusCATed:
The correct macro to check for is __WXMSW__ not _WIN32.

On linux xdg-open can be used.

codeman:
Thanks.

Ok Ive updated the patch to use the __WXMSW__ define.

I will try xdg-open when I get back to my linux box, unless someone else wants to do it.

ollydbg:

--- Quote from: codeman on July 24, 2010, 10:07:53 pm ---My 2nd patch:
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3038&group_id=5358

I use this feature from Visual Studio all the time.

Unfortunately it is platform specific, so I could only make it work for WIN32.

--- End quote ---

Nice work.
But I can't apply your patch. (I just copy the patch, and create a a.patch file, then apply the patch by tortoiseSVN, then failed)
but it seems your patch was generated from "msys git" ? Can git used to access cb repo?

MortenMacFly:

--- Quote from: codeman on July 24, 2010, 10:07:53 pm ---https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=3038&group_id=5358

--- End quote ---
That is a very nice idea, however, I wonder whether wxWidgets can do that, too (in a cross platform way). Implementing such functionality OS natively should be our last option usually. Did you have a look at wxWidgets API first / ask in a wx forum?

Navigation

[0] Message Index

[#] Next page

Go to full version