pex-gl / pex-context

Modern WebGL state wrapper for PEX: allocate GPU resources (textures, buffers), setup state pipelines and passes, and combine them into commands.
http://pex-gl.github.io/pex-context/
MIT License
160 stars 12 forks source link

Highlight non-ASCII characters in code editor #19

Closed vorg closed 6 years ago

vorg commented 7 years ago

Sometimes my Safari / CodeMirror inserts invisible character into GLSL code preventing it from compiling. We can highlight it using the following option for CodeMirror. I haven't added it by default as it will probably break emojis in strings etc. Are we using them?

specialChars: /[^\x00-\x7F]/
vorg commented 6 years ago

This is pex-nodes issue