Author Topic: wxSmithStc - wxStyledTextCtrl in wxSmith  (Read 4263 times)

Offline Someone else

  • Single posting newcomer
  • *
  • Posts: 3
wxSmithStc - wxStyledTextCtrl in wxSmith
« on: May 08, 2012, 06:36:53 pm »
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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: wxSmithStc - wxStyledTextCtrl in wxSmith
« Reply #1 on: May 08, 2012, 07:44:31 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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline Someone else

  • Single posting newcomer
  • *
  • Posts: 3
Re: wxSmithStc - wxStyledTextCtrl in wxSmith
« Reply #2 on: May 08, 2012, 11:41:34 pm »
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?
« Last Edit: May 09, 2012, 12:05:37 am by Someone else »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9489
Re: wxSmithStc - wxStyledTextCtrl in wxSmith
« Reply #3 on: May 09, 2012, 11:42:01 am »
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: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline hovercraft

  • Single posting newcomer
  • *
  • Posts: 2
Re: wxSmithStc - wxStyledTextCtrl in wxSmith
« Reply #4 on: November 10, 2015, 09:50:46 am »
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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11716
    • Travis build status
Re: wxSmithStc - wxStyledTextCtrl in wxSmith
« Reply #5 on: November 10, 2015, 08:27:22 pm »
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!]