Scintilla itself is cross platform. The code I've been working on I've only 
built using Windows, but I don't anticipate any problems for other platforms. 
Since it is "inside" Blender, all the platform dependent issues are already 
taken care of :)

Justin




----- Original Message -----
> From: Isaac Lenton <[email protected]>
> To: Justin Dailey <[email protected]>; bf-blender developers 
> <[email protected]>
> Cc: 
> Sent: Wednesday, December 19, 2012 10:23 AM
> Subject: Re: [Bf-committers] Text Editor - Scintilla Integration
> 
> Hi
> 
> I think this could be good for the long term. This was kind of what I was 
> getting at with the idea of using vim script files (or some other 
> per-developed 
> system with existing lexers). 
> 
> I don't know much about Scintilla but what about cross platform support 
> (fine on windows, but what about other systems)?
> 
> Thanks,
> Isaac Lenton
> [email protected]
> 
> On 20/12/2012, at 1:13, Justin Dailey <[email protected]> wrote:
> 
>>  Hello everyone,
>>  Since it was recently brought up about further extending the text editor 
> syntax highlighting for more languages, I figured I would mention that I have 
> currently been working on implementingScintilla[1] as the main editing engine 
> for the text editor. (For those of you unfamiliar with Scintilla, it is the 
> editing engine for such editors as SciTE, Notepad++, Code::Blocks, etc). 
> I've already written most of the wrapper code for scintilla and mapped about 
> 90% of the text editor operators. It doesn't do any loading/saving, handing 
> multiple files, etc yet but that will come in the future. 
>> 
>> 
>>  It also does syntax highlighting. Scintilla comes with about 90 lexers 
> (lexers are what do the parsing and coloring), granted we only need to keep a 
> few of them. Any language which it doesn't support currently (OSL, GLSL) can 
> have a lexer written for it if needed.  Full integration of scintilla is 
> still a 
> ways off but I figured I would give a glimpse of good things to come :-)
>> 
>>  And just to be clear, I'm not trying to say that implementing syntax 
> highlighting for OSL or other languages is not needed right now, I'm just 
> trying to make sure we don't run off and try to restructure the text editor 
> too much to implement major features if scintilla will work. :-)
>> 
>> 
>> 
>>  [1] http://www.scintilla.org/
>> 
>> 
>> 
>>  Thanks, 
>> 
>>  Justin (dail)
>> 
>>  _______________________________________________
>>  Bf-committers mailing list
>>  [email protected]
>>  http://lists.blender.org/mailman/listinfo/bf-committers
> 
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to