File indexing completed on 2024-05-12 04:02:08

0001 <!DOCTYPE html>
0002 <html><head>
0003 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
0004 <title>highlight.wrl</title>
0005 <meta name="generator" content="KF5::SyntaxHighlighting - Definition (VRML) - Theme (Breeze Light)"/>
0006 </head><body style="background-color:#ffffff;color:#1f1c1b"><pre>
0007 <span style="color:#898887">#VRML V2.0 utf8</span>
0008 <span style="color:#898887">#</span>
0009 <span style="color:#898887"># VRML highlighting test for Kate's syntax highlighting</span>
0010 <span style="color:#898887">#</span>
0011 
0012 <span style="color:#898887"># Keywords</span>
0013 <span style="font-weight:bold">DEF</span>, <span style="font-weight:bold">EXTERNPROTO</span>, <span style="font-weight:bold">FALSE</span>, <span style="font-weight:bold">IS</span>, <span style="font-weight:bold">NULL</span>, <span style="font-weight:bold">PROTO</span>, <span style="font-weight:bold">ROUTE</span>, <span style="font-weight:bold">TO</span>, <span style="font-weight:bold">TRUE</span>, <span style="font-weight:bold">USE</span>, <span style="font-weight:bold">eventIn</span>,
0014 <span style="font-weight:bold">eventOut</span>, <span style="font-weight:bold">exposedField</span>, <span style="font-weight:bold">field</span>
0015 
0016 <span style="color:#898887"># Data types</span>
0017 <span style="color:#0057ae">MFColor</span>, <span style="color:#0057ae">MFFloat</span>, <span style="color:#0057ae">MFInt32</span>, <span style="color:#0057ae">MFNode</span>. <span style="color:#0057ae">MFRotation</span>, <span style="color:#0057ae">MFString</span>, <span style="color:#0057ae">MFTime</span>, <span style="color:#0057ae">MFVec2f</span>,
0018 <span style="color:#0057ae">MFVec3f</span>, <span style="color:#0057ae">SFBool</span>, <span style="color:#0057ae">SFColor</span>, <span style="color:#0057ae">SFFloat</span>, <span style="color:#0057ae">SFImage</span>, <span style="color:#0057ae">SFInt32</span>, <span style="color:#0057ae">SFNode</span>, <span style="color:#0057ae">SFRotation</span>,
0019 <span style="color:#0057ae">SFString</span>, <span style="color:#0057ae">SFTime</span>, <span style="color:#0057ae">SFVec2f</span>, <span style="color:#0057ae">SFVec3f</span>
0020 
0021 <span style="color:#898887"># Predefined nodes</span>
0022 <span style="color:#0057ae;font-weight:bold">Anchor</span>, <span style="color:#0057ae;font-weight:bold">Appearance</span>, <span style="color:#0057ae;font-weight:bold">AudioClip</span>, <span style="color:#0057ae;font-weight:bold">Background</span>, <span style="color:#0057ae;font-weight:bold">Billboard</span>, <span style="color:#0057ae;font-weight:bold">Box</span>, <span style="color:#0057ae;font-weight:bold">Collision</span>, <span style="color:#0057ae;font-weight:bold">Color</span>,
0023 <span style="color:#0057ae;font-weight:bold">ColorInterpolator</span>, <span style="color:#0057ae;font-weight:bold">Cone</span>, <span style="color:#0057ae;font-weight:bold">Coordinate</span>, <span style="color:#0057ae;font-weight:bold">CoordinateInterpolator</span>, <span style="color:#0057ae;font-weight:bold">Cylinder</span>, 
0024 <span style="color:#0057ae;font-weight:bold">CylinderSensor</span>, <span style="color:#0057ae;font-weight:bold">DirectionalLight</span>, <span style="color:#0057ae;font-weight:bold">ElevationGrid</span>, <span style="color:#0057ae;font-weight:bold">Extrusion</span>, <span style="color:#0057ae;font-weight:bold">Fog</span>, <span style="color:#0057ae;font-weight:bold">FontStyle</span>,
0025 <span style="color:#0057ae;font-weight:bold">Group</span>, <span style="color:#0057ae;font-weight:bold">ImageTexture</span>, <span style="color:#0057ae;font-weight:bold">IndexedFaceSet</span>, <span style="color:#0057ae;font-weight:bold">IndexedLineSet</span>, <span style="color:#0057ae;font-weight:bold">Inline</span>, <span style="color:#0057ae;font-weight:bold">LOD</span>, <span style="color:#0057ae;font-weight:bold">Material</span>,
0026 <span style="color:#0057ae;font-weight:bold">MovieTexture</span>, <span style="color:#0057ae;font-weight:bold">NavigationInfo</span>, <span style="color:#0057ae;font-weight:bold">Normal</span>, <span style="color:#0057ae;font-weight:bold">NormalInterpolator</span>, <span style="color:#0057ae;font-weight:bold">OrientationInterpolator</span>,
0027 <span style="color:#0057ae;font-weight:bold">PixelTexture</span>, <span style="color:#0057ae;font-weight:bold">PlaneSensor</span>, <span style="color:#0057ae;font-weight:bold">PointLight</span>, <span style="color:#0057ae;font-weight:bold">PointSet</span>, <span style="color:#0057ae;font-weight:bold">PositionInterpolator</span>,
0028 <span style="color:#0057ae;font-weight:bold">ProximitySensor</span>, <span style="color:#0057ae;font-weight:bold">ScalarInterpolator</span>, <span style="color:#0057ae;font-weight:bold">Script</span>, <span style="color:#0057ae;font-weight:bold">Shape</span>, <span style="color:#0057ae;font-weight:bold">Sound</span>, <span style="color:#0057ae;font-weight:bold">Sphere</span>, <span style="color:#0057ae;font-weight:bold">SphereSensor</span>,
0029 <span style="color:#0057ae;font-weight:bold">SpotLight</span>, <span style="color:#0057ae;font-weight:bold">Switch</span>, <span style="color:#0057ae;font-weight:bold">Text</span>, <span style="color:#0057ae;font-weight:bold">TextureCoordinate</span>, <span style="color:#0057ae;font-weight:bold">TextureTransform</span>, <span style="color:#0057ae;font-weight:bold">TimeSensor</span>,
0030 <span style="color:#0057ae;font-weight:bold">TouchSensor</span>, <span style="color:#0057ae;font-weight:bold">Transform</span>, <span style="color:#0057ae;font-weight:bold">Viewpoint</span>, <span style="color:#0057ae;font-weight:bold">VisibilitySensor</span>, <span style="color:#0057ae;font-weight:bold">WorldInfo</span>
0031 
0032 <span style="color:#898887"># Some real VRML constructs to see if highlighting of int, float etc. works</span>
0033 <span style="color:#0057ae;font-weight:bold">NavigationInfo</span> { 
0034     avatarSize      [<span style="color:#b08000">0.25</span>, <span style="color:#b08000">1.6</span>, <span style="color:#b08000">0.75</span>]
0035     headlight       <span style="font-weight:bold">TRUE</span>
0036     speed           <span style="color:#b08000">1</span>
0037     type            [<span style="color:#bf0303">"WALK"</span>, <span style="color:#bf0303">"ANY"</span>]
0038     visibilityLimit <span style="color:#b08000">0.0</span>
0039 }
0040 
0041 <span style="color:#898887"># some further testing for strings: linefeeds are allowed within strings</span>
0042 <span style="color:#0057ae;font-weight:bold">Text</span> { 
0043     string [<span style="color:#bf0303">"some special in-string characters: </span><span style="color:#3daee9">\"</span><span style="color:#bf0303"> </span><span style="color:#3daee9">\\</span>
0044 <span style="color:#bf0303">            some more text in the next line</span>
0045 <span style="color:#bf0303">            and yet another line"</span>]
0046 }
0047 
0048 </pre></body></html>