! POV-Ray 3.5 patterns V0.1 (for NEdit 5.3) ! ! written by Marc 'BlackJack' Rintsch ! ! Install: Invoke nedit on the commandline with ! ! nedit -import povray35.pats ! ! Then choose 'Preferences->Save Defaults...' from the menu. ! nedit.highlightPatterns: POV-Ray:1:0{\n\ Linecomment:"//":"$"::Comment::\n\ Blockcomment:"/\\*":"\\*/"::Comment::\n\ BlockcommentNested:"/\\*":"\\*/"::Comment:Blockcomment:\n\ BlockcommentNested2:"/\\*":"\\*/"::Comment:BlockcommentNested:\n\ String:"""":""""::String::\n\ String escape:"\\\\.":::Numeric Const:String:\n\ String Functions:"<(?:str|concat|chr|substr|str(?:upr|lwr)|vstr)>":::Identifier::\n\ Language Directives:"#(?:break|case|debug|declare|default|else|end|error|f(?:close|open)|if|ifdef|ifndef|include|local|macro|range|read|render|statistics|switch|undef|version|warning|while|write)>":::Preprocessor::\n\ Keywords:"<(?:array|backgound|bicubic_patch|blob|box|camera|color|colour|cone|cubic|cylinder|density|difference|disc|finish|fog|function|global_settings|height_field|interior|interior_texture|intersection|irid|isosurface|julia_fractal|lathe|light_(?:source|group)|material|media|merge|mesh|mesh2|normal|object|parametric|photons|pigment|plane|poly|polygon|prism|quadric|quartic|radiosity|rainbow|reflection|scattering|sky_sphere|smooth_triangle|sphere|spheresweep|spline|superellipsoid|sor|text|texture|texture_list|torus|transform|triangle|union|warp|(?:vertex|normal|uv)_vectors|(?:face|normal|uv)_indices|(?:material|texture|image|color|colour|pigment|bump|normal|slope|density)_map)>":::Keyword::\n\ Attributes:"<((?:always|max)_sample|(?:arc|falloff|ultra_wide)_angle|(?:blur|dispersion)_samples|(?:bounded|clipped|contained)_by|(?:bright|flat|rough|thick|tight)ness|(?:bump|brick|phong)_size|(?:b|bezier|cubic|linear|natural|quadratic)_spline|(?:conic|linear)_sweep|(?:cubic|ramp|scallop|sine|triangle|poly)_wave|(?:density|load|save)_file|(?:ex|in)terior|(?:image|pigment)_pattern|(?:look|point)_at|[uv]_steps|a(?:mbient|rea)_light|aa_(?:threshold|level)|absorption|accuracy|adaptive|adc_bailout|agate|agate_turb|all|all_intersections|altitude|ambient|angle|append|ascii|assumed_gamma|autostop|average|black_hole|blue|boxed|bozo|brick|brilliance|bumps|caustics|cells|charset|checker|circular|collect|confidence|conserve_energy|control[01]|coords|count|crackle|crand|cube|cutaway_textures|cylind(?:er|drical)|dents|df3|diffuse|direction|dispersion|dist_exp|double_illuminate|eccentricity|error_bound|evaluate|expand_thresholds|exponent|facets|fade_(?:distance|power|color)|falloff|filter|filter|fisheye|fog_(?:type|offset|alt)|form|frequency|fresnel|gather|generator|gif|global_lights|gradient|granite|gray_threshold|green|hexagon|hf_gray_16|hierarchy|hollow|hypercomplex|inside_vector|inter(?:polate|vals)|inverse|ior|irid_wavelength|jitter|jpeg|julia|lambda|leopard|location|looks_like|low_error_factor|magnet|major_radius|mandel|map_type|marble|max_(?:gradient|intersections|iteration|trace(?:_level|))|media_(?:attenuation|interaction)|metallic|method|metric|minimum_reuse|mortar|nearest_count|no_(?:bump_scale|image|reflection|shadow)|noise|noise_generator|number_of_waves|octaves|offset|omega|omnimax|once|onion|open|orient(?:ation|)|orthographic|p(?:ass|rojected)_through|panoramic|parallel|perspective|pgm|phase|phong|planar|png|pot|ppm|precision|precompute|pretrace_(?:start|end)|pwr|quaternion|quick_colo(?:u|)r|quilted|radial|radius|ratio|read|reciprocal|recursion_limit|red|refraction|repeat|rgb(?:[ft]|ft|)|right|ripples|rotate|samples|scale|shadowless|size|sky|slice|slope|smooth|solid|spacing|specular|spherical|spiral[12]|split_union|spotlight|strength|sturm|sys|target|tga|threshold|tiff|tolerance|toroidal|trans(?:late|mit)|ttf|turb_depth|turbulence|type|up|use_(?:alpha|colo(?:u|)r|index)|utf8|uv_(?:mapping|vectors)|variance|warp|water_level|waves|width|wood|wrinkles|write)>":::Identifier::\n\ Float:"<(\\d)*\\.?(\\d)*(\\d[eE][+-]?\\d+)?>":::Numeric Const::\n\ Float Functions:"<(abs|acos|acosh|asc|asin|asinh|atan|atanh|atan2|ceil|cos|cosh|defined|degrees|dimensions|dimension_size|div|exp|file_exists|floor|int|ln|log|max|min|mod|pow|radians|rand|seed|select|sin|sinh|sqrt|strcmp|strlen|tan|tanh|val|vdot|vlength)>":::Identifier::\n\ Float builtin:"<(clock|clock_(delta|on)|false|(final|initial)_(clock|frame)|frame_number|image_(width|height)|no|off|on|pi|true|version|yes)>":::Numeric Const::\n\ Vector functions:"<((min|max)_extent|trace|v(axis_rotate|cross|rotate|normalize|turbulance))>":::Identifier::\n\ Vector builtin:"<([xyztuv])>":::Numeric Const::\n\ } nedit.languageModes: POV-Ray:.pov .POV::Auto:::3: