Code Monkey home page Code Monkey logo

Comments (3)

Dev-iL avatar Dev-iL commented on September 7, 2024

VRML-related strings and their default settings:

Editor.Language.VRMLX3DV.SyntaxHighlighting=Btrue

Editor.Language.VRMLX3DV.Color.keyword=C-16776961
Editor.Language.VRMLX3DV.Color.field-keyword=C-9145228
Editor.Language.VRMLX3DV.Color.terminal-symbol=C-2196224
Editor.Language.VRMLX3DV.Color.string=C-6283024
Editor.Language.VRMLX3DV.Color.node-keyword=C-16022329
Editor.Language.VRMLX3DV.Color.data-type-keyword=C-6737152
Editor.Language.VRMLX3DV.Color.comment=C-14513374

Editor.Language.VRMLX3DV.Indenting=SSmartIndent
Editor.Language.VRMLX3DV.Extensions=Swrl;x3dv

For future reference - the easiest way to find these strings and get their defaults is to:

  1. Make a copy of matlab.prf.
  2. Go to Preferences > MATLAB > Editor/Debugger > Languages > (select desired language from the drop down) > w/o changing anything click "apply".
  3. Compare old and new .prf.

from matlab-schemer.

scottclowe avatar scottclowe commented on September 7, 2024

Thanks @Dev-iL!

Taking the diff of matlab.prf is a great suggestion. In the past I've just opened a text-editor and done a text search.

from matlab-schemer.

scottclowe avatar scottclowe commented on September 7, 2024

This is now done.

Since VRMLX3DV settings are the same as VRML, only the name has changed with the new release, I have set things up so the values imported for VRMLX3DV will come from the VRML, and the appropriate value will be exported to VRML depending on the MATLAB version number.

After creating sample.x3d (source) and sample.x3dv (source), I realised that X3D is in XML format and takes its syntax highlighting colours from there, whereas X3DV takes its colours from the VRML settings. Consequently, I changed the default value inheritance, so that VRML is based on XML if its values are undefined. This should lead to greater consistency between the X3D and X3DV syntax highlighting.

from matlab-schemer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.