Ticket #3762 (closed enhancement: fixed)

Opened 7 years ago

Last modified 7 years ago

Initial support of OpenShadingLanguage syntax

Reported by: sergey Owned by:
Priority: major Milestone: 4.8.19
Component: mcedit Version: master
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset: committed-master

Description

Hi everyone,

Here is a patch which adds support of OpenShadingLanguage? (OSL) syntax highlight. This language is quite common in the rendering industry this days, so think it worth adding such a syntax.

The new syntax file is based on C syntax, with some special keywords from OSL's lexer. It might be not ideal still, but works fine here for Blender. Anyway, recon it's good enough, and could be refined further later once/when it's really needed.

Change History

comment:1 Changed 7 years ago by andrew_b

  • Status changed from new to closed
  • Votes for changeset set to committed-master
  • Resolution set to fixed
  • Milestone changed from Future Releases to 4.8.19
Note: See TracTickets for help on using tickets.