Notepad3: [Feature Request] adding OpenGL Shader Language Syntax Highlighting..?

Created on 8 Oct 2017  路  6Comments  路  Source: rizonesoft/Notepad3

for the emulator Higan by Byuu.. it can utilize OpenGL Shader files .fs and .vs
.fs = OpenGL (Fragment Shader)
.vs = OpenGL (Vertex Shader)

is it possible to add it?

I found these for reference..
http://www.mindcontrol.org/%7Ehplus/ultra-edit-glsl.html
http://www.vim.org/scripts/script.php?script_id=1002

BUT this one looks most promising, since it was written for Notepad++
http://www.lighthouse3d.com/2013/01/notepad-glsl-4-3-syntax-highlight/

ps:
enhancement tag please ;) :D

Scintilla upstream enhancement / feature req.

All 6 comments

Updated label for this feature request.

If the language structure of OpenGL Shader is similar to any of Scintilla's Lexers
(https://github.com/rizonesoft/Notepad3/tree/master/scintilla/lexers),
we could adapt to it and only specify the keywords, etc... (Like Non-Scintilla's AHL Lexer in NP3)
Unfortunately, there is not such a nice "Custom Lexer definition template" as shown in Notepad++ :-/

@MelchiorGaspar : If the OpenGL Shader language is similar to some other lexers (except keywords), we can try to implement the support based on this lexer (if you supply the keywords, identifier, etc.).
For example, we base the Go-language lexer on the D lexer, which is similar to C/C++ lexer adding only Go specific keywords.
If not, we have to wait for Scintilla's lexer authors and we should close this issue until it is available.

closing, due to lack of interest.

NO no lack of interest.. I was in the hospital for the past 4 months... :(
home now again as of March 26th 2018...

oh ok so upstream then... oh well...

@MelchiorGaspar : sorry for that, hope you are recovered completely.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zb-z picture zb-z  路  3Comments

dlong500 picture dlong500  路  3Comments

omega32 picture omega32  路  3Comments

RaffaeleBianc0 picture RaffaeleBianc0  路  3Comments

craigo- picture craigo-  路  4Comments