[Bf-committers] Syntax Highlighting & Alternate Languages

Jonathan Smith j.jaydez at gmail.com
Thu Jul 28 03:21:49 CEST 2011


Never mind, I just read the other thread, which has already been discussing
this...

On Thu, Jul 28, 2011 at 10:08 AM, Jonathan Smith <j.jaydez at gmail.com> wrote:

> I wonder if there would be a way to open this up to python scripting, that
> way addons could be created for syntax highlighting in any language the user
> would want.
>
>  Since at this time Gamekit has not yet been added to Blender, I don't see
> any point in including Lua highlighting. However if you wanted to work on it
> in anticipation of Gamekit being added that would be great!
>
> Cheers,
> Jonathan
>
> PS. This is all just my opinion, I'm not a Blender Developer.
>
>
> On Wed, Jul 27, 2011 at 12:11 PM, Benjamin Tolputt <
> btolputt at internode.on.net> wrote:
>
>> On 27/07/2011 1:07 PM, Kent Mein wrote:
>> > It sounds like a good reason to me for it to be included. Assuming it
>> > doesn't create any conflicts, I don't see any reason why this wouldn't
>> > be something to include, unless it has some external library
>> > requirements that makes blender more complicated and or it add's quite
>> > a bit to the file size. If there are conflicts I'm sure they can be
>> > worked around.
>>
>> Well, so long as the syntax highlighting sticks only to the basics
>> (comments, strings, numbers, built-in variables/functions, and
>> keywords), it only requires a couple of extra functions in the
>> text_draw.c file & to use the showsyntax short as an index value as
>> opposed to a boolean one. The code is actually quite basic, but the core
>> development team needs to buy into the concept to make it worthwhile.
>>
>> Quite simply put, there isn't much point in writing the extension if
>> everyone needs to patch & compile Blender themself. Not everyone has a
>> native compiler (I would bet a vast majority of users don't) and the
>> code in question is native, so not just a patch to the Python UI code.
>> I'm trying to make things easier not just for myself but for everyone
>> using the Blender text view for alternate scripting languages.
>>
>> --
>> Regards,
>>
>> Benjamin Tolputt
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
>
>


More information about the Bf-committers mailing list