FW: Re: Wx::StyledTextCtrl

2010-08-04 Thread herbert breunung
zou need to use Wx::STC; >Hello Ahmad, > >Thanks for the links. I feel dumb because I still can't figure out how >to make a simple hello-world editor with Wx::StyledTextCtrl. I can't >find anything remotely like a simple example. I tried writing my own: > >---

Re: Wx::StyledTextCtrl

2010-08-04 Thread Daniel Carrera
WHOO HOO!!! THANKS! On Wed, Aug 4, 2010 at 3:35 PM, Ahmad Zawawi wrote: > use strict; > use warnings; > use Wx; > use Wx::STC;  # To import Wx::StyledTextCtrl > package MyApp; > use base 'Wx::App'; > sub OnInit { >        my $frame = Wx::Frame->new(undef,

Re: Wx::StyledTextCtrl

2010-08-04 Thread Ahmad Zawawi
use strict; use warnings; use Wx; use Wx::STC; # To import Wx::StyledTextCtrl package MyApp; use base 'Wx::App'; sub OnInit { my $frame = Wx::Frame->new(undef, -1, "Hello World"); my $ctrl = Wx::StyledTextCtrl->new($frame); $frame->Show( 1 );

Re: Wx::StyledTextCtrl

2010-08-04 Thread Daniel Carrera
Hello Ahmad, Thanks for the links. I feel dumb because I still can't figure out how to make a simple hello-world editor with Wx::StyledTextCtrl. I can't find anything remotely like a simple example. I tried writing my own: -%<-- use strict; use Wx; packag

Re: Wx::StyledTextCtrl

2010-08-04 Thread herbert breunung
g to figure out how to >>> > add it to my program: >>> > >>> > 1) I cannot find it on the wxWidgets reference: >>> > >>> > http://docs.wxwidgets.org/stable/wx_classref.html#classref

Re: Wx::StyledTextCtrl

2010-08-04 Thread herbert breunung
t find it on the wxWidgets reference: > >http://docs.wxwidgets.org/stable/wx_classref.html#classref > >2) But I'm pretty sure it exists and that wxPerl has it: > >http://www.mail-archive.com/wxperl-users@perl.org/msg00748.html > > >Can anyone point me to some

Re: Wx::StyledTextCtrl

2010-08-04 Thread Ahmad Zawawi
: wxStyledTextCtrl. >> > Apparently it is the Scintilla editor. I'm trying to figure out how to >> > add it to my program: >> > >> > 1) I cannot find it on the wxWidgets reference: >> > >> > http://docs.wxwidgets.org/stable/wx_classref.

Re: Wx::StyledTextCtrl

2010-08-04 Thread Alessandro
gt; 1) I cannot find it on the wxWidgets reference: > > http://docs.wxwidgets.org/stable/wx_classref.html#classref > > 2) But I'm pretty sure it exists and that wxPerl has it: > > http://www.mail-archive.com/wxperl-users@perl.org/msg00748.html > > > Can anyone point me

Wx::StyledTextCtrl

2010-08-04 Thread Daniel Carrera
retty sure it exists and that wxPerl has it: http://www.mail-archive.com/wxperl-users@perl.org/msg00748.html Can anyone point me to some documentation for Wx::StyledTextCtrl? I am keen to try it. Cheers. Daniel. -- Intolerant people should be shot.

Re: missing constants from Wx::StyledTextCtrl (Scintilla)

2008-08-25 Thread herbert breunung
the version thing bothered me to, is asked in wx-users ml twice without responce so i looked up in wx sources and hardcoded a mapping. :) cheers herbert

missing constants from Wx::StyledTextCtrl (Scintilla)

2008-08-24 Thread Gabor Szabo
Looking at Wx-0.84/ext/stc/cpp/st_constants.cpp and comparing it to include/SciLexer.h in Scintilla 1.76 I see several constants missing from Wx-0.84 specifically I miss: SCE_PL_VARIABLE_INDEXER (16) #define SCE_PL_POD_VERB 31 #define SCE_PL_SUB_PROTOTYPE 40 #define SCE_PL_FORMAT_IDENT 41 #defi

Re: Wx::StyledTextCtrl MarkeDefine

2008-08-02 Thread Mattia Barbon
Gabor Szabo wrote: On Fri, Aug 1, 2008 at 12:34 PM, Mattia Barbon <[EMAIL PROTECTED]> wrote: Gabor Szabo wrote: Hi, I am probably too tired but I don't understand what can be the problem: $page is a Wx::StyledTextCtrl object this line works: $page->MarkerAdd($li

Re: Wx::StyledTextCtrl MarkeDefine

2008-08-02 Thread Gabor Szabo
On Fri, Aug 1, 2008 at 12:34 PM, Mattia Barbon <[EMAIL PROTECTED]> wrote: > Gabor Szabo wrote: > > Hi, > >> I am probably too tired but I don't understand what can be the problem: >> >> $page is a Wx::StyledTextCtrl object >> >> this li

Re: Wx::StyledTextCtrl MarkeDefine

2008-08-02 Thread Mattia Barbon
Gabor Szabo wrote: Hi, I am probably too tired but I don't understand what can be the problem: $page is a Wx::StyledTextCtrl object this line works: $page->MarkerAdd($line_number-1, 0); though I don't see any visible change on the margin. This line $page-&g

Re: Wx::StyledTextCtrl MarkeDefine

2008-07-31 Thread Gabor Szabo
erstand what can be the problem: >> >> $page is a Wx::StyledTextCtrl object >> >> this line works: >> >>$page->MarkerAdd($line_number-1, 0); >> >> though I don't see any visible change on the margin. >> >> This line >>

Re: Wx::StyledTextCtrl MarkeDefine

2008-07-31 Thread Mark Dootson
Hi, Try using Wx::Colour objects for background, foreground params. Mark Gabor Szabo wrote: I am probably too tired but I don't understand what can be the problem: $page is a Wx::StyledTextCtrl object this line works: $page->MarkerAdd($line_number-1, 0); though I don't se

Wx::StyledTextCtrl MarkeDefine

2008-07-31 Thread Gabor Szabo
I am probably too tired but I don't understand what can be the problem: $page is a Wx::StyledTextCtrl object this line works: $page->MarkerAdd($line_number-1, 0); though I don't see any visible change on the margin. This line $page->MarkerDefine(0, wxSTC_MARK

Re: Wx::StyledTextCtrl is missing from docs

2008-07-06 Thread Mattia Barbon
Gabor Szabo wrote: Hi, As far as I can see the docs of StyledTextCtrl are missing from http://prdownloads.sourceforge.net/wxperl/wxPerl-0.82-wx-2.8.7-docs-html.zip (it is not mentioned in the manua_classref.html file) I bumped into it as the Wx::Demo is using Wx::StyledTextCtrl if Wx::STC

Wx::StyledTextCtrl is missing from docs

2008-07-05 Thread Gabor Szabo
As far as I can see the docs of StyledTextCtrl are missing from http://prdownloads.sourceforge.net/wxperl/wxPerl-0.82-wx-2.8.7-docs-html.zip (it is not mentioned in the manua_classref.html file) I bumped into it as the Wx::Demo is using Wx::StyledTextCtrl if Wx::STC is available. But I don&#

Re: No Method DragAcceptFiles provided via Class Wx::StyledTextCtrl

2008-05-13 Thread Mattia Barbon
herbert breunung wrote: Thanks Mattia but please add also to Wx::Frame It used to be available on WIndows ony, but it seems it's available on all platforms now. Will add. Regards, Mattia Correction: it is availabel on all platforms except GTK. So no luck. Regards, Mattia

Re: No Method DragAcceptFiles provided via Class Wx::StyledTextCtrl

2008-05-13 Thread herbert breunung
Thanks Mattia but please add also to Wx::Frame It used to be available on WIndows ony, but it seems it's available on all platforms now. Will add. Regards, Mattia

Re:No Method DragAcceptFiles provided via Class Wx::StyledTextCtrl

2008-05-11 Thread Mattia Barbon <[EMAIL PROTECTED]>
> but we all agree that there should be one :) > > since i get this errormsg only under xubuntu, not windows i foreward it > so maybe there is a bug not on my side. It used to be available on WIndows ony, but it seems it's available on all platforms now. Will add. Regards, Mattia

No Method DragAcceptFiles provided via Class Wx::StyledTextCtrl

2008-05-10 Thread herbert breunung
but we all agree that there should be one :) since i get this errormsg only under xubuntu, not windows i foreward it so maybe there is a bug not on my side. the code produces the error was a simple $ep->DragAcceptFiles(1); $ep beeing of course a STC instance. hope it helps cheers herbert kep