gnope php gtk gui gnope.org  

Problem whit gtksourceview

 
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners
View previous topic :: View next topic  
Author Message
thaumiel



Joined: 22 Mar 2007
Posts: 2

PostPosted: Thu Mar 22, 2007 10:05 am    Post subject: Problem whit gtksourceview Reply with quote

Hi, I hope someone here can help me with my problem and I apologize in advance for my english.

So lets get to my problem.

I need a simple editor with sintax highlighting, and then I noticed php-gtk and whitin it gtksourceview, I saw some examples online an tried them, they work but only when they load a file, if I start typing it works too, until I type ' or ", then it stop highlighting what I type. It doesnt mather if I specify that what I type its php, c, c++ or anything else, whatever the language is, it stops highlighting the once I type ' or ", and stays that way until I run again the script. So hping you understand my problem, gtksourceview stops highlighting the code once I type a string,

I hope someone knows how to solve this, Im runing it on windows xp.

If I could explain myself let me know cause cause english its not my language.

Thanks for your help.
Back to top
kksou



Joined: 06 Sep 2006
Posts: 25

PostPosted: Fri Mar 23, 2007 6:54 am    Post subject: Reply with quote

Believe you have setup php-gtk2 using gnope installer. Think it's the problem with the sourceview2.dll that comes with the installer. (If you have a linux version of php-gtk2, you will know that the sourceview widget and the example code works fine.)

They haven't posted any gnope installer updates for quite some time already.

If you really need sourceview running properly, and you are adventurous enough, you could refer to Elizabeth Smith's website that gives you details how to compile your own php-gtk2 on windows.

Regards,
/kksou
Back to top
thaumiel



Joined: 22 Mar 2007
Posts: 2

PostPosted: Fri Mar 23, 2007 9:21 pm    Post subject: Reply with quote

Thanks for your reply, I tryed on linux and you are right, it doesnt have the problem, but Im afraid that I needed the editor in a short time, so I decided to do it in c, since the editor its really simple and I didnt saw a reply. I apreciate your help and the link, once I have some free time I'll give it a try because I'm really interested in php-gtk.

Again, thanks.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    gnope.org Forum Index -> PHP GTK2 Beginners All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Templates enhanced by DigiWiki. Hosting by Tradebit.