Syntax Highlighting (2005/02/28) [Closed] Added to t3

User-contributed CVS development builds. Please test and give feedback!

Moderators: jesterKing, stiv

antihc3
Posts: 0
Joined: Sun Sep 26, 2004 4:14 am

Syntax Highlighting (2005/02/28) [Closed] Added to t3

Post by antihc3 »

Need tests to make sure every thing works right before i commit this to tuhopuu3
I will be cleaning up the patch to make it more blender like but that will not effect anything
-All colors for higlighting is in the theme settings
-Syntax highlight uses the same button as show line numbers for now untell i ensure every thing works, then i will make a new button for it.

windows build of bf-blender [ UPDATE }
http://www.antihc3.dyndns.org/blender/d ... 050308.zip

bf-blender patch with indent fix aswell [ UPDATE }
http://www.antihc3.dyndns.org/blender/d ... light.diff

tuhopuu3 linux build [ UPDATE }
http://www.antihc3.dyndns.org/blender/d ... 308.tar.gz
http://www.antihc3.dyndns.org/blender/d ... 308.tar.gz

tuhopuu3 patch [ UPDATE }
http://www.antihc3.dyndns.org/blender/d ... light.diff

All feed back is needed plz.

Here is screen shots
http://www.antihc3.dyndns.org/txt_color_done.jpg
Last edited by antihc3 on Fri Mar 25, 2005 7:30 am, edited 7 times in total.

bullx
Posts: 0
Joined: Mon Jan 05, 2004 9:25 pm

Post by bullx »

i'm not a coder but it looks nice, really nice.

-efbie-
Posts: 0
Joined: Wed Oct 27, 2004 9:47 pm

Post by -efbie- »

woaw really nice ! and it is nicely integrated with the theme system !
altough you'll need a new icon for the button :)

i've found a bug : the last word of comments isn't properly highlighted :
http://www.mentalwarp.com/~fred/divers/pythoncolors.png

gabio
Posts: 0
Joined: Thu Jan 15, 2004 6:41 am
Location: Canada - Québec - Sherbrooke
Contact:

Post by gabio »

Now this is something worthy. Me is testing it.
I saw the bug stated earlier, but that it. ;) good job

antihc3
Posts: 0
Joined: Sun Sep 26, 2004 4:14 am

Post by antihc3 »

I will get that bug fixed up tonight hopfully thanks :oops:

fobsta
Posts: 0
Joined: Sat Jun 12, 2004 11:21 pm

Post by fobsta »

I had to go into the theme manager and define the colours for the syntax highlighting - otherwise it was black text on the grey background

is this correct?

antihc3
Posts: 0
Joined: Sun Sep 26, 2004 4:14 am

Post by antihc3 »

Yes this is right as of now.

malCanDo
Posts: 1
Joined: Mon Oct 21, 2002 1:44 pm
Location: Ireland
Contact:

Post by malCanDo »

Excellent work!!! This will make editing Python scripts a LOT quicker!

If you're updating the python editor, what about adding "Number Lines" to the menu ( rather than just an Icon ), and also maybe turn it on by default?

Mal

antihc3
Posts: 0
Joined: Sun Sep 26, 2004 4:14 am

Post by antihc3 »

Ok new builds are up and that bug should be fix :D

Cyberdigitus
Posts: 46
Joined: Tue Oct 29, 2002 3:27 pm
Location: Belgium

Post by Cyberdigitus »

Hmm nice. Any chance of some kind of intellisense too ? :)

raphael
Posts: 4
Joined: Mon May 26, 2003 10:18 pm
Location: france
Contact:

Post by raphael »

Hello,

thanks a lot for this patch. ;)
I applyed it to the bf sources and compiled blender, ok.. but if i change the theme and save it as user default, i have a segfault on sartup.

fobsta
Posts: 0
Joined: Sat Jun 12, 2004 11:21 pm

Post by fobsta »

Hi

Great work

here are my suggestions

can you make Blenders highlight text colours the same as the Python editor IDLE? So for example a string in either editor will be green? This will help consistency between apps?

I noticed there is no option to set the colour of 'Python definitions' which are blue in IDLE. Can you give us this option please?

thanks for all your great hard work

antihc3
Posts: 0
Joined: Sun Sep 26, 2004 4:14 am

Post by antihc3 »

Ok Segfault noted will fix that up.

As far as the colors go, i am thinking of some type of default settings but also that is why it is part of the theme, so ppl can make it what thay want.

ZanQdo
Posts: 0
Joined: Sun Apr 11, 2004 4:57 am

Post by ZanQdo »

This is what I wanted, so usefull, thank you :D

antihc3
Posts: 0
Joined: Sun Sep 26, 2004 4:14 am

Post by antihc3 »

Ok new builds an patchs are up. I fixed the segfault when saveing user defaults and saveing .blend file with text open.

Has anyone had any other problems ?

Post Reply