Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: killerbot on April 04, 2007, 08:25:33 pm
-
ON my windows system, in the output dir now popped up a codesnippets.bat (since the codesnippets updates).
Why does that have to be there, or is it a left over of a experiment.
I think the best thing would be if it is not there. 1 executable should be enough, so no others. (hehe those old darn batch files, the good old days ...)
EDIT : double clicking it, just gives me a lot of error boxes, and double clicking the exe in the plugins complains it doesn't find wxscintilla.dll
-
So one more extra file is added. ;)
One Zero Byte file is coming up with Official Distribution for last couple of weeks which is surely a leftover. Just open <C::B_Dir>\share\CodeBlocks\plugins directory. You'll find a file named sta00336 :)
-
So one more extra file is added. ;)
One Zero Byte file is coming up with Official Distribution for last couple of weeks which is surely a leftover. Just open <C::B_Dir>\share\CodeBlocks\plugins directory. You'll find a file named sta00336 :)
will kill it, should be out of the next nightly
-
will kill it, should be out of the next nightly
Thanks :)
-
ON my windows system, in the output dir now popped up a codesnippets.bat (since the codesnippets updates).
Why does that have to be there, or is it a left over of a experiment.
I think the best thing would be if it is not there. 1 executable should be enough, so no others. (hehe those old darn batch files, the good old days ...)
EDIT : double clicking it, just gives me a lot of error boxes, and double clicking the exe in the plugins complains it doesn't find wxscintilla.dll
If you cd to .../src/devel then double click it, it actually runs CodeSnippets. Its a wrapper around the plugin.
It derives from an experiment to get wxAUI to run CodeSnippets reliably on Linux without snapping it into a dock window whenever you left click on a menu item.
wxAUI simply will not leave a Linux floating window alone. Any click on the main menu will dock all the windows whether you want it or not.
It's not a CodeSnippet's problem. It even happens with the floating debugger windows.
So for linux users, I left the wrapper in ../share/codeblocks/plugins. If a linux user wants to run CodeSnippets as a floating window without wxAUI interference they'll have to run the wrapper from ../share/codeblocks/plugins.
Since I test the code for both linux and MSW, I tested an equivalent .exe also (same code, different name).
The .bat & .sh files were just easy ways for me to run and test it. They also provide a starting point to explain to Linux users how to run as a floating window.
-
Oh, I forgot to mention. As soon as wxAUI fixes this Linux bug, we can do away with the CodeSnippets floating window work-around.
But without it, Linux users will have to bite the bullet, live with the bug, and be unable to use a floating CodeSnippets.
From my perspective, it annoys the hell out of me not to be able to have floating windows and use the main menu at the same time.