Warning, /frameworks/syntax-highlighting/autotests/folding/highlight.wrl.fold is written in an unsupported language. File is not indexed.
0001 #VRML V2.0 utf8
0002 #
0003 # VRML highlighting test for Kate's syntax highlighting
0004 #
0005
0006 # Keywords
0007 DEF, EXTERNPROTO, FALSE, IS, NULL, PROTO, ROUTE, TO, TRUE, USE, eventIn,
0008 eventOut, exposedField, field
0009
0010 # Data types
0011 MFColor, MFFloat, MFInt32, MFNode. MFRotation, MFString, MFTime, MFVec2f,
0012 MFVec3f, SFBool, SFColor, SFFloat, SFImage, SFInt32, SFNode, SFRotation,
0013 SFString, SFTime, SFVec2f, SFVec3f
0014
0015 # Predefined nodes
0016 Anchor, Appearance, AudioClip, Background, Billboard, Box, Collision, Color,
0017 ColorInterpolator, Cone, Coordinate, CoordinateInterpolator, Cylinder,
0018 CylinderSensor, DirectionalLight, ElevationGrid, Extrusion, Fog, FontStyle,
0019 Group, ImageTexture, IndexedFaceSet, IndexedLineSet, Inline, LOD, Material,
0020 MovieTexture, NavigationInfo, Normal, NormalInterpolator, OrientationInterpolator,
0021 PixelTexture, PlaneSensor, PointLight, PointSet, PositionInterpolator,
0022 ProximitySensor, ScalarInterpolator, Script, Shape, Sound, Sphere, SphereSensor,
0023 SpotLight, Switch, Text, TextureCoordinate, TextureTransform, TimeSensor,
0024 TouchSensor, Transform, Viewpoint, VisibilitySensor, WorldInfo
0025
0026 # Some real VRML constructs to see if highlighting of int, float etc. works
0027 NavigationInfo <beginfold id='1'>{</beginfold id='1'>
0028 avatarSize [0.25, 1.6, 0.75]
0029 headlight TRUE
0030 speed 1
0031 type ["WALK", "ANY"]
0032 visibilityLimit 0.0
0033 <endfold id='1'>}</endfold id='1'>
0034
0035 # some further testing for strings: linefeeds are allowed within strings
0036 Text <beginfold id='1'>{</beginfold id='1'>
0037 string ["some special in-string characters: \" \\
0038 some more text in the next line
0039 and yet another line"]
0040 <endfold id='1'>}</endfold id='1'>
0041