News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

wxSmithStc - wxStyledTextCtrl in wxSmith

Started by Someone else, May 08, 2012, 06:36:53 PM

Previous topic - Next topic

Someone else

I was working on a project, in which I needed to use wxStyledTextCtrl, and it was nowhere to be found in wxSmith, so instead of just simply writing plain C++ code (which would be the easy option), I decided, that I might as well learn how to write a C::B plugin, so I did.
That delayed my project about a week, but at least I got a nice plugin done.

Now that it is done I decided I might as well release it for everyone to use.

Basically it allows you to use wxStyledTextCtrl, from within wxSmith, and it might be useful to some.

I'm uploading the source code, since I don't know if there would be any use in attaching the compiled plugin, as it would only function in one version of Code::Blocks.

Link: http://www.mediafire.com/download.php?hgyes5dssg4ps92

MortenMacFly

Quote from: Someone else on May 08, 2012, 06:36:53 PM
Basically it allows you to use wxStyledTextCtrl, from within wxSmith, and it might be useful to some.
Well sorry to say that, but in recent nightly builds wxStyledTextCtrl is integrated with wxSmith already...?!
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

Someone else

#2
Well, this is quite old, so at the time I wrote it, I don't think that was the case.
Since when?

Edit: I've downloaded nightly build 7932, but I can't find it in wxSmith.
I've noticed other additions but not wxStc. Where is it?

MortenMacFly

Quote from: Someone else on May 08, 2012, 11:41:34 PM
I've noticed other additions but not wxStc. Where is it?
I answered in the other thread.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

hovercraft

Nowadays, wxWidgets 3.x already have wxStyledTextCtrl component as regular (not contributed) item.
Unfortunately, there is still no stable version of Code::Blocks for modern wx, right?
So, I decided to update the wxSmith plugin from "Someone else".
It is now can be built both on Windows and Linux.
It allows design wx-3.x.x applications with wxStyledTextCtrl component from within Code::Blocks
built against wx-2.8.12.
I aware about wxSmithSTC pugin shipped with C::B source, but
in my opinion, the "Someone else" variant is better,
because it directly exposes the wxStyledTextCtrl interface available in wx itself, making resulting code more uniform
between different wx-RAD tools (wxFormBuilder for example),
thus making future maintanance of code easier.

Link: http://www.mediafire.com/download/xumv7nh9z5mguti/wxSmithStc-2.0.zip

oBFusCATed

Please post patches against latest svn trunk or some of the git master branches.

Here you can find guides how to make patches: http://wiki.codeblocks.org/index.php/Creating_a_patch_to_submit_%28Patch_Tracker%29
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]