Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Syntax highlighting file for Kate/KWrite/KDevelop

Dale Glass
Evil Scripter
Join date: 12 Feb 2006
Posts: 252
05-13-2006 12:30
Done by editing the C file, so it probably still could be trimmed a bit.

First part.

CODE

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE language SYSTEM "language.dtd">
<language name="LSL" version="1.0" kateversion="2.4" section="Sources" extensions="*.lsl" mimetype="" priority="5" license="GPL" author="Dale Glass">
<highlighting>
<list name="keywords">
<item> do </item>
<item> else </item>
<item> enum </item>
<item> for </item>
<item> if </item>
<item> return </item>
<item> while </item>
<item> default </item>
<item> state </item>
<item> jump </item>
</list>
<list name="types">
<item> integer </item>
<item> string </item>
<item> float </item>
<item> list </item>
<item> vector </item>
<item> rotation </item>
<item> key </item>
</list>
<list name="functions">
<item> llAbs </item>
<item> llAcos </item>
<item> llAddToLandBanList </item>
<item> llAddToLandPassList </item>
<item> llAdjustSoundVolume </item>
<item> llAllowInventoryDrop </item>
<item> llAngleBetween </item>
<item> llApplyImpulse </item>
<item> llApplyRotationalImpulse </item>
<item> llAsin </item>
<item> llAtan2 </item>
<item> llAttachToAvatar </item>
<item> llAvatarOnSitTarget </item>
<item> llAxes2Rot </item>
<item> llAxisAngle2Rot </item>
<item> llBase64ToInteger </item>
<item> llBase64ToString </item>
<item> llBreakAllLinks </item>
<item> llBreakLink </item>
<item> llCeil </item>
<item> llClearCameraParams </item>
<item> llCloseRemoteDataChannel </item>
<item> llCloud </item>
<item> llCollisionFilter </item>
<item> llCollisionSound </item>
<item> llCollisionSprite </item>
<item> llCos </item>
<item> llCreateLink </item>
<item> llCSV2List </item>
<item> llDeleteSubList </item>
<item> llDeleteSubString </item>
<item> llDetachFromAvatar </item>
<item> llDetectedGrab </item>
<item> llDetectedGroup </item>
<item> llDetectedKey </item>
<item> llDetectedLinkNumber </item>
<item> llDetectedName </item>
<item> llDetectedOwner </item>
<item> llDetectedPos </item>
<item> llDetectedRot </item>
<item> llDetectedType </item>
<item> llDetectedVel </item>
<item> llDialog </item>
<item> llDie </item>
<item> llDumpList2String </item>
<item> llEdgeOfWorld </item>
<item> llEjectFromLand </item>
<item> llEmail </item>
<item> llEscapeURL </item>
<item> llEuler2Rot </item>
<item> llFabs </item>
<item> llFloor </item>
<item> llForceMouselook </item>
<item> llFrand </item>
<item> llGetAccel </item>
<item> llGetAgentInfo </item>
<item> llGetAgentSize </item>
<item> llGetAlpha </item>
<item> llGetAndResetTime </item>
<item> llGetAnimation </item>
<item> llGetAnimationList </item>
<item> llGetAttached </item>
<item> llGetBoundingBox </item>
<item> llGetCameraPos </item>
<item> llGetCameraRot </item>
<item> llGetCenterOfMass </item>
<item> llGetCreator </item>
<item> llGetColor </item>
<item> llGetDate </item>
<item> llGetEnergy </item>
<item> llGetForce </item>
<item> llGetFreeMemory </item>
<item> llGetGeometricCenter </item>
<item> llGetGMTclock </item>
<item> llGetInventoryCreator </item>
<item> llGetInventoryKey </item>
<item> llGetInventoryName </item>
<item> llGetInventoryNumber </item>
<item> llGetInventoryPermMask </item>
<item> llGetInventoryType </item>
<item> llGetKey </item>
<item> llGetLandOwnerAt </item>
<item> llGetLinkKey </item>
<item> llGetLinkName </item>
<item> llGetLinkNumber </item>
<item> llGetListEntryType </item>
<item> llGetListLength </item>
<item> llGetLocalPos </item>
<item> llGetLocalRot </item>
<item> llGetMass </item>
<item> llGetNextEmail </item>
<item> llGetNotecardLine </item>
<item> llGetNumberOfNotecardLines </item>
<item> llGetNumberOfPrims </item>
<item> llGetNumberOfSides </item>
<item> llGetObjectDesc </item>
<item> llGetObjectMass </item>
<item> llGetObjectName </item>
<item> llGetObjectPermMask </item>
<item> llGetOmega </item>
<item> llGetOwner </item>
<item> llGetOwnerKey </item>
<item> llGetParcelFlags </item>
<item> llGetPermissions </item>
<item> llGetPermissionsKey </item>
<item> llGetPos </item>
<item> llGetPrimitiveParams </item>
<item> llGetRegionCorner </item>
<item> llGetRegionFlags </item>
<item> llGetRegionFPS </item>
<item> llGetRegionName </item>
<item> llGetRegionTimeDilation </item>
<item> llGetRootPosition </item>
<item> llGetRootRotation </item>
<item> llGetRot </item>
<item> llGetScale </item>
<item> llGetScriptName </item>
<item> llGetScriptState </item>
<item> llGetSimulatorHostname </item>
<item> llGetStartParameter </item>
<item> llGetStatus </item>
<item> llGetSubString </item>
<item> llGetSunDirection </item>
<item> llGetTexture </item>
<item> llGetTextureOffset </item>
<item> llGetTextureRot </item>
<item> llGetTextureScale </item>
<item> llGetTime </item>
<item> llGetTimeOfDay </item>
<item> llGetTimestamp </item>
<item> llGetTorque </item>
<item> llGetUnixTime </item>
<item> llGetVel </item>
<item> llGetWallclock </item>
<item> llGiveInventory </item>
<item> llGiveInventoryList </item>
<item> llGiveMoney </item>
<item> llGodLikeRezObject </item>
<item> llGround </item>
<item> llGroundContour </item>
<item> llGroundNormal </item>
<item> llGroundRepel </item>
<item> llGroundSlope </item>
<item> llHTTPRequest </item>
<item> llInsertString </item>
<item> llInstantMessage </item>
<item> llIntegerToBase64 </item>
<item> llKey2Name </item>
<item> llList2CSV </item>
<item> llList2Float </item>
<item> llList2Integer </item>
<item> llList2Key </item>
<item> llList2List </item>
<item> llList2ListStrided </item>
<item> llList2Rot </item>
<item> llList2String </item>
<item> llList2Vector </item>
<item> llListFindList </item>
<item> llListInsertList </item>
<item> llListRandomize </item>
<item> llListReplaceList </item>
<item> llListSort </item>
<item> llListStatistics </item>
<item> llListen </item>
<item> llListenControl </item>
<item> llListenRemove </item>
<item> llLoadURL </item>
<item> llLog </item>
<item> llLog10 </item>
<item> llLookAt </item>
<item> llLoopSound </item>
<item> llLoopSoundMaster </item>
<item> llLoopSoundSlave </item>
<item> llMakeFire </item>
<item> llMakeFountain </item>
<item> llMakeSmoke </item>
<item> llMapDestination </item>
<item> llMD5String </item>
<item> llMessageLinked </item>
<item> llMinEventDelay </item>
<item> llModifyLand </item>
<item> llModPow </item>
<item> llMoveToTarget </item>
<item> llOffsetTexture </item>
<item> llOpenRemoteDataChannel </item>
<item> llOverMyLand </item>
<item> llOwnerSay </item>
<item> llParcelMediaCommandList </item>
<item> llParcelMediaQuery </item>
<item> llParseString2List </item>
<item> llParseStringKeepNulls </item>
<item> llParticleSystem </item>
<item> llPassCollisions </item>
<item> llPassTouches </item>
<item> llPlaySound </item>
<item> llPlaySoundSlave </item>
<item> llPointAt </item>
<item> llPow </item>
<item> llPreloadSound </item>
<item> llPushObject </item>
<item> llRefreshPrimURL </item>
<item> llReleaseCamera </item>
<item> llReleaseControls </item>
<item> llRemoteDataReply </item>
<item> llRemoteDataSetRegion </item>
<item> llRemoteLoadScriptPin </item>
<item> llRemoveFromLandBanList </item>
<item> llRemoveFromLandPassList </item>
<item> llRemoveInventory </item>
<item> llRemoveVehicleFlags </item>
<item> llRequestAgentData </item>
<item> llRequestInventoryData </item>
<item> llRequestPermissions </item>
<item> llRequestSimulatorData </item>
<item> llResetOtherScript </item>
<item> llResetScript </item>
<item> llResetTime </item>
<item> llRezAtRoot </item>
<item> llRezObject </item>
<item> llRot2Angle </item>
<item> llRot2Axis </item>
<item> llRot2Euler </item>
<item> llRot2Fwd </item>
<item> llRot2Left </item>
<item> llRot2Up </item>
<item> llRotBetween </item>
<item> llRotLookAt </item>
<item> llRotTarget </item>
<item> llRotTargetRemove </item>
<item> llRotateTexture </item>
<item> llRound </item>
<item> llSameGroup </item>
<item> llSay </item>
<item> llScaleTexture </item>
<item> llScriptDanger </item>
<item> llSendRemoteData </item>
<item> llSensor </item>
<item> llSensorRemove </item>
<item> llSensorRepeat </item>
<item> llSetAlpha </item>
<item> llSetBuoyancy </item>
<item> llSetCameraAtOffset </item>
<item> llSetCameraEyeOffset </item>
<item> llSetCameraParams </item>
<item> llSetColor </item>
<item> llSetDamage </item>
<item> llSetForce </item>
<item> llSetForceAndTorque </item>
<item> llSetHoverHeight </item>
<item> llSetLinkAlpha </item>
<item> llSetLinkColor </item>
<item> llSetLocalRot </item>
<item> llSetObjectDesc </item>
<item> llSetObjectName </item>
<item> llSetParcelMusicURL </item>
<item> llSetPayPrice </item>
<item> llSetPos </item>
<item> llSetPrimURL </item>
<item> llSetPrimitiveParams </item>
<item> llSetRemoteScriptAccessPin </item>
<item> llSetRot </item>
<item> llSetScale </item>
<item> llSetScriptState </item>
<item> llSetSitText </item>
<item> llSetSoundQueueing </item>
<item> llSetSoundRadius </item>
<item> llSetStatus </item>
<item> llSetText </item>
<item> llSetTexture </item>
<item> llSetTextureAnim </item>
<item> llSetTimerEvent </item>
<item> llSetTorque </item>
<item> llSetTouchText </item>
<item> llSetVehicleFlags </item>
<item> llSetVehicleFloatParam </item>
<item> llSetVehicleRotationParam </item>
<item> llSetVehicleType </item>
<item> llSetVehicleVectorParam </item>
<item> llShout </item>
<item> llSin </item>
<item> llSitTarget </item>
<item> llSleep </item>
<item> llSqrt </item>
<item> llStartAnimation </item>
<item> llStopAnimation </item>
<item> llStopHover </item>
<item> llStopLookAt </item>
<item> llStopMoveToTarget </item>
<item> llStopPointAt </item>
<item> llStopSound </item>
<item> llStringLength </item>
<item> llStringToBase64 </item>
<item> llSubStringIndex </item>
<item> llTakeCamera </item>
<item> llTakeControls </item>
<item> llTan </item>
<item> llTarget </item>
<item> llTargetOmega </item>
<item> llTargetRemove </item>
<item> llTeleportAgentHome </item>
<item> llToLower </item>
<item> llToUpper </item>
<item> llTriggerSound </item>
<item> llTriggerSoundLimited </item>
<item> llUnescapeURL </item>
<item> llUnSit </item>
<item> llVecDist </item>
<item> llVecMag </item>
<item> llVecNorm </item>
<item> llVolumeDetect </item>
<item> llWater </item>
<item> llWhisper </item>
<item> llWind </item>
<item> llXorBase64StringsCorrect </item>

</list>
<list name="constants">
<item> ACTIVE </item>
<item> AGENT </item>
<item> AGENT_ALWAYS_RUN </item>
<item> AGENT_ATTACHMENTS </item>
<item> AGENT_AWAY </item>
<item> AGENT_BUSY </item>
<item> AGENT_CROUCHING </item>
<item> AGENT_FLYING </item>
<item> AGENT_IN_AIR </item>
<item> AGENT_MOUSELOOK </item>
<item> AGENT_ON_OBJECT </item>
<item> AGENT_SCRIPTED </item>
<item> AGENT_SITTING </item>
<item> AGENT_TYPING </item>
<item> AGENT_WALKING </item>
<item> ALL_SIDES </item>
<item> ANIM_ON </item>
<item> ATTACH_BACK </item>
<item> ATTACH_BELLY </item>
<item> ATTACH_CHEST </item>
<item> ATTACH_CHIN </item>
<item> ATTACH_HEAD </item>
<item> ATTACH_LEAR </item>
<item> ATTACH_LEYE </item>
<item> ATTACH_LFOOT </item>
<item> ATTACH_LHAND </item>
<item> ATTACH_LHIP </item>
<item> ATTACH_LLARM </item>
<item> ATTACH_LLLEG </item>
<item> ATTACH_LPEC </item>
<item> ATTACH_LSHOULDER </item>
<item> ATTACH_LUARM </item>
<item> ATTACH_LULEG </item>
<item> ATTACH_MOUTH </item>
<item> ATTACH_NOSE </item>
<item> ATTACH_PELVIS </item>
<item> ATTACH_REAR </item>
<item> ATTACH_REYE </item>
<item> ATTACH_RFOOT </item>
<item> ATTACH_RHAND </item>
<item> ATTACH_RHIP </item>
<item> ATTACH_RLARM </item>
<item> ATTACH_RLLEG </item>
<item> ATTACH_RPEC </item>
<item> ATTACH_RSHOULDER </item>
<item> ATTACH_RUARM </item>
<item> ATTACH_RULEG </item>
<item> CAMERA_ACTIVE </item>
<item> CAMERA_BEHINDNESS_ANGLE </item>
<item> CAMERA_BEHINDNESS_LAG </item>
<item> CAMERA_DISTANCE </item>
<item> CAMERA_FOCUS </item>
<item> CAMERA_FOCUS_LAG </item>
<item> CAMERA_FOCUS_LOCKED </item>
<item> CAMERA_FOCUS_OFFSET </item>
<item> CAMERA_FOCUS_THRESHOLD </item>
<item> CAMERA_PITCH </item>
<item> CAMERA_POSITION </item>
<item> CAMERA_POSITION_LAG </item>
<item> CAMERA_POSITION_LOCKED </item>
<item> CAMERA_POSITION_THRESHOLD </item>
<item> CHANGED_ALLOWED_DROP </item>
<item> CHANGED_COLOR </item>
<item> CHANGED_INVENTORY </item>
<item> CHANGED_LINK </item>
<item> CHANGED_OWNER </item>
<item> CHANGED_REGION </item>
<item> CHANGED_SCALE </item>
<item> CHANGED_SHAPE </item>
<item> CHANGED_TELEPORT </item>
<item> CHANGED_TEXTURE </item>
<item> CONTROL_BACK </item>
<item> CONTROL_DOWN </item>
<item> CONTROL_FWD </item>
<item> CONTROL_LBUTTON </item>
<item> CONTROL_LEFT </item>
<item> CONTROL_ML_LBUTTON </item>
<item> CONTROL_RIGHT </item>
<item> CONTROL_ROT_LEFT </item>
<item> CONTROL_ROT_RIGHT </item>
<item> CONTROL_UP </item>
<item> DATA_BORN </item>
<item> DATA_NAME </item>
<item> DATA_ONLINE </item>
<item> DATA_RATING </item>
<item> DATA_SIM_POS </item>
<item> DATA_SIM_RATING </item>
<item> DATA_SIM_STATUS </item>
<item> DEBUG_CHANNEL </item>
<item> DEG_TO_RAD </item>
<item> EOF </item>
<item> FALSE </item>
<item> INVENTORY_ALL </item>
<item> INVENTORY_ANIMATION </item>
<item> INVENTORY_BODYPART </item>
<item> INVENTORY_CLOTHING </item>
<item> INVENTORY_GESTURE </item>
<item> INVENTORY_LANDMARK </item>
<item> INVENTORY_NONE </item>
<item> INVENTORY_NOTECARD </item>
<item> INVENTORY_OBJECT </item>
<item> INVENTORY_SCRIPT </item>
<item> INVENTORY_SOUND </item>
<item> INVENTORY_TEXTURE </item>
<item> LAND_LARGE_BRUSH </item>
<item> LAND_LEVEL </item>
<item> LAND_LOWER </item>
<item> LAND_MEDIUM_BRUSH </item>
<item> LAND_NOISE </item>
<item> LAND_RAISE </item>
<item> LAND_REVERT </item>
<item> LAND_SMALL_BRUSH </item>
<item> LAND_SMOOTH </item>
<item> LINK_ALL_CHILDREN </item>
<item> LINK_ALL_OTHERS </item>
<item> LINK_ROOT </item>
<item> LINK_SET </item>
<item> LINK_THIS </item>
<item> LIST_STAT_GEOMETRIC_MEAN </item>
<item> LIST_STAT_MAX </item>
<item> LIST_STAT_MEAN </item>
<item> LIST_STAT_MEDIAN </item>
<item> LIST_STAT_MIN </item>
<item> LIST_STAT_NUM_COUNT </item>
<item> LIST_STAT_RANGE </item>
<item> LIST_STAT_STD_DEV </item>
<item> LIST_STAT_SUM </item>
<item> LIST_STAT_SUM_SQUARES </item>
<item> LOOP </item>
<item> MASK_BASE </item>
<item> MASK_EVERYONE </item>
<item> MASK_GROUP </item>
<item> MASK_NEXT </item>
<item> MASK_OWNER </item>
<item> NULL_KEY </item>
<item> PARCEL_FLAG_ALLOW_CREATE_OBJECTS </item>
<item> PARCEL_FLAG_ALLOW_DAMAGE </item>
<item> PARCEL_FLAG_ALLOW_FLY </item>
<item> PARCEL_FLAG_ALLOW_LANDMARK </item>
<item> PARCEL_FLAG_ALLOW_SCRIPTS </item>
<item> PARCEL_FLAG_ALLOW_TERRAFORM </item>
<item> PARCEL_FLAG_LOCAL_SOUND_ONLY </item>
<item> PARCEL_FLAG_USE_ACCESS_GROUP </item>
<item> PARCEL_FLAG_USE_ACCESS_LIST </item>
<item> PARCEL_FLAG_USE_BAN_LIST </item>
<item> PARCEL_FLAG_USE_LAND_PASS_LIST </item>
<item> PARCEL_MEDIA_COMMAND_AGENT </item>
<item> PARCEL_MEDIA_COMMAND_AUTO_ALIGN </item>
<item> PARCEL_MEDIA_COMMAND_LOOP </item>
<item> PARCEL_MEDIA_COMMAND_PAUSE </item>
<item> PARCEL_MEDIA_COMMAND_PLAY </item>
<item> PARCEL_MEDIA_COMMAND_STOP </item>
<item> PARCEL_MEDIA_COMMAND_TEXTURE </item>
<item> PARCEL_MEDIA_COMMAND_TIME </item>
<item> PARCEL_MEDIA_COMMAND_UNLOAD </item>
<item> PARCEL_MEDIA_COMMAND_URL </item>
<item> PASSIVE </item>
<item> PAY_DEFAULT </item>
<item> PAY_HIDE </item>
<item> PERMISSION_ATTACH </item>
<item> PERMISSION_CHANGE_LINKS </item>
<item> PERMISSION_CONTROL_CAMERA </item>
<item> PERMISSION_DEBIT </item>
<item> PERMISSION_TAKE_CONTROLS </item>
<item> PERMISSION_TRACK_CAMERA </item>
<item> PERMISSION_TRIGGER_ANIMATION </item>
<item> PERM_ALL </item>
<item> PERM_COPY </item>
<item> PERM_MODIFY </item>
<item> PERM_MOVE </item>
<item> PERM_TRANSFER </item>
<item> PI </item>
<item> PING_PONG </item>
<item> PI_BY_TWO </item>
<item> PRIM_BUMP_BARK </item>
<item> PRIM_BUMP_BLOBS </item>
<item> PRIM_BUMP_BRICKS </item>
<item> PRIM_BUMP_BRIGHT </item>
<item> PRIM_BUMP_CHECKER </item>
<item> PRIM_BUMP_CONCRETE </item>
<item> PRIM_BUMP_DARK </item>
<item> PRIM_BUMP_DISKS </item>
<item> PRIM_BUMP_GRAVEL </item>
<item> PRIM_BUMP_LARGETILE </item>
<item> PRIM_BUMP_NONE </item>
<item> PRIM_BUMP_SHINY </item>
<item> PRIM_BUMP_SIDING </item>
<item> PRIM_BUMP_STONE </item>
<item> PRIM_BUMP_STUCCO </item>
<item> PRIM_BUMP_SUCTION </item>
<item> PRIM_BUMP_TILE </item>
<item> PRIM_BUMP_WEAVE </item>
<item> PRIM_BUMP_WOOD </item>
<item> PRIM_COLOR </item>
<item> PRIM_FULLBRIGHT </item>
<item> PRIM_HOLE_CIRCLE </item>
<item> PRIM_HOLE_DEFAULT </item>
<item> PRIM_HOLE_SQUARE </item>
<item> PRIM_HOLE_TRIANGLE </item>
<item> PRIM_MATERIAL </item>
<item> PRIM_MATERIAL_FLESH </item>
<item> PRIM_MATERIAL_GLASS </item>
<item> PRIM_MATERIAL_LIGHT </item>
<item> PRIM_MATERIAL_METAL </item>
<item> PRIM_MATERIAL_PLASTIC </item>
<item> PRIM_MATERIAL_RUBBER </item>
<item> PRIM_MATERIAL_STONE </item>
<item> PRIM_MATERIAL_WOOD </item>
<item> PRIM_PHANTOM </item>
<item> PRIM_PHYSICS </item>
<item> PRIM_POSITION </item>
<item> PRIM_ROTATION </item>
<item> PRIM_SHINY_HIGH </item>
<item> PRIM_SHINY_LOW </item>
<item> PRIM_SHINY_MEDIUM </item>
<item> PRIM_SHINY_NONE </item>
<item> PRIM_SIZE </item>
<item> PRIM_TEMP_ON_REZ </item>
<item> PRIM_TEXTURE </item>
<item> PRIM_TYPE </item>
<item> PRIM_TYPE_BOX </item>
<item> PRIM_TYPE_CYLINDER </item>
<item> PRIM_TYPE_PRISM </item>
<item> PRIM_TYPE_RING </item>
<item> PRIM_TYPE_SPHERE </item>
<item> PRIM_TYPE_TORUS </item>
<item> PRIM_TYPE_TUBE </item>
<item> PSYS_PART_BOUNCE_MASK </item>
<item> PSYS_PART_EMISSIVE_MASK </item>
<item> PSYS_PART_END_ALPHA </item>
<item> PSYS_PART_END_COLOR </item>
<item> PSYS_PART_END_SCALE </item>
<item> PSYS_PART_FLAGS </item>
<item> PSYS_PART_FOLLOW_SRC_MASK </item>
<item> PSYS_PART_FOLLOW_VELOCITY_MASK </item>
<item> PSYS_PART_INTERP_COLOR_MASK </item>
<item> PSYS_PART_INTERP_SCALE_MASK </item>
<item> PSYS_PART_MAX_AGE </item>
<item> PSYS_PART_START_ALPHA </item>
<item> PSYS_PART_START_COLOR </item>
<item> PSYS_PART_START_SCALE </item>
<item> PSYS_PART_TARGET_LINEAR_MASK </item>
<item> PSYS_PART_TARGET_POS_MASK </item>
<item> PSYS_PART_WIND_MASK </item>
<item> PSYS_SRC_ACCEL </item>
<item> PSYS_SRC_ANGLE_BEGIN </item>
<item> PSYS_SRC_ANGLE_END </item>
<item> PSYS_SRC_BURST_PART_COUNT </item>
<item> PSYS_SRC_BURST_RADIUS </item>
<item> PSYS_SRC_BURST_RATE </item>
<item> PSYS_SRC_BURST_SPEED_MAX </item>
<item> PSYS_SRC_BURST_SPEED_MIN </item>
<item> PSYS_SRC_INNERANGLE </item>
<item> PSYS_SRC_MAX_AGE </item>
<item> PSYS_SRC_OMEGA </item>
<item> PSYS_SRC_OUTERANGLE </item>
<item> PSYS_SRC_PATTERN </item>
<item> PSYS_SRC_PATTERN_ANGLE </item>
<item> PSYS_SRC_PATTERN_ANGLE_CONE </item>
<item> PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY </item>
<item> PSYS_SRC_PATTERN_DROP </item>
<item> PSYS_SRC_PATTERN_EXPLODE </item>
<item> PSYS_SRC_TARGET_KEY </item>
<item> PSYS_SRC_TEXTURE </item>
<item> PUBLIC_CHANNEL </item>
<item> RAD_TO_DEG </item>
<item> REGION_FLAG_ALLOW_DAMAGE </item>
<item> REGION_FLAG_ALLOW_DIRECT_TELEPORT </item>
<item> REGION_FLAG_BLOCK_FLY </item>
<item> REGION_FLAG_BLOCK_TERRAFORM </item>
<item> REGION_FLAG_DISABLE_COLLISIONS </item>
<item> REGION_FLAG_DISABLE_PHYSICS </item>
<item> REGION_FLAG_FIXED_SUN </item>
<item> REGION_FLAG_SANDBOX </item>
<item> REMOTE_DATA_CHANNEL </item>
<item> REMOTE_DATA_REPLY </item>
<item> REMOTE_DATA_REQUEST </item>
<item> REVERSE </item>
<item> ROTATE </item>
<item> SCALE </item>
<item> SCRIPTED </item>
<item> SMOOTH </item>
<item> SQRT2 </item>
<item> STATUS_BLOCK_GRAB </item>
<item> STATUS_DIE_AT_EDGE </item>
<item> STATUS_PHANTOM </item>
<item> STATUS_PHYSICS </item>
<item> STATUS_RETURN_AT_EDGE </item>
<item> STATUS_ROTATE_X </item>
<item> STATUS_ROTATE_Y </item>
<item> STATUS_ROTATE_Z </item>
<item> STATUS_SANDBOX </item>
<item> TRUE </item>
<item> TWO_PI </item>
<item> TYPE_FLOAT </item>
<item> TYPE_INTEGER </item>
<item> TYPE_INVALID </item>
<item> TYPE_KEY </item>
<item> TYPE_ROTATION </item>
<item> TYPE_STRING </item>
<item> TYPE_VECTOR </item>
<item> VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY </item>
<item> VEHICLE_ANGULAR_DEFLECTION_TIMESCALE </item>
<item> VEHICLE_ANGULAR_FRICTION_TIMESCALE </item>
<item> VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE </item>
<item> VEHICLE_ANGULAR_MOTOR_DIRECTION </item>
<item> VEHICLE_ANGULAR_MOTOR_TIMESCALE </item>
<item> VEHICLE_BANKING_EFFICIENCY </item>
<item> VEHICLE_BANKING_MIX </item>
<item> VEHICLE_BANKING_TIMESCALE </item>
<item> VEHICLE_BUOYANCY </item>
<item> VEHICLE_FLAG_CAMERA_DECOUPLED </item>
<item> VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT </item>
<item> VEHICLE_FLAG_HOVER_TERRAIN_ONLY </item>
<item> VEHICLE_FLAG_HOVER_UP_ONLY </item>
<item> VEHICLE_FLAG_HOVER_WATER_ONLY </item>
<item> VEHICLE_FLAG_LIMIT_MOTOR_UP </item>
<item> VEHICLE_FLAG_LIMIT_ROLL_ONLY </item>
<item> VEHICLE_FLAG_MOUSELOOK_BANK </item>
<item> VEHICLE_FLAG_MOUSELOOK_STEER </item>
<item> VEHICLE_FLAG_NO_DEFLECTION_UP </item>
<item> VEHICLE_HOVER_EFFICIENCY </item>
<item> VEHICLE_HOVER_HEIGHT </item>
<item> VEHICLE_HOVER_TIMESCALE </item>
<item> VEHICLE_LINEAR_DEFLECTION_EFFICIENCY </item>
<item> VEHICLE_LINEAR_DEFLECTION_TIMESCALE </item>
<item> VEHICLE_LINEAR_FRICTION_TIMESCALE </item>
<item> VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE </item>
<item> VEHICLE_LINEAR_MOTOR_DIRECTION </item>
<item> VEHICLE_LINEAR_MOTOR_OFFSET </item>
<item> VEHICLE_LINEAR_MOTOR_TIMESCALE </item>
<item> VEHICLE_REFERENCE_FRAME </item>
<item> VEHICLE_TYPE_AIRPLANE </item>
<item> VEHICLE_TYPE_BALLOON </item>
<item> VEHICLE_TYPE_BOAT </item>
<item> VEHICLE_TYPE_CAR </item>
<item> VEHICLE_TYPE_NONE </item>
<item> VEHICLE_TYPE_SLED </item>
<item> VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY </item>
<item> VEHICLE_VERTICAL_ATTRACTION_TIMESCALE </item>
<item> ZERO_ROTATION </item>
<item> ZERO_VECTOR </item>
</list>
<list name="events">
<item> at_rot_target </item>
<item> at_target </item>
<item> attach </item>
<item> changed </item>
<item> collision </item>
<item> collision_end </item>
<item> collision_start </item>
<item> control </item>
<item> dataserver </item>
<item> email </item>
<item> land_collision </item>
<item> land_collision_end </item>
<item> land_collision_start </item>
<item> link_message </item>
<item> listen </item>
<item> money </item>
<item> moving_end </item>
<item> moving_start </item>
<item> no_sensor </item>
<item> not_at_rot_target </item>
<item> not_at_target </item>
<item> object_rez </item>
<item> on_rez </item>
<item> remote_data </item>
<item> run_time_permissions </item>
<item> sensor </item>
<item> state_entry </item>
<item> state_exit </item>
<item> timer </item>
<item> touch </item>
<item> touch_end </item>
<item> touch_start </item>
</list>
Dale Glass
Evil Scripter
Join date: 12 Feb 2006
Posts: 252
05-13-2006 12:30
CODE

<contexts>
<context attribute="Normal Text" lineEndContext="#stay" name="Normal">
<DetectSpaces />
<RegExpr attribute="Preprocessor" context="Outscoped" String="#\s*if\s+0" beginRegion="Outscoped" firstNonSpace="true" />
<DetectChar attribute="Preprocessor" context="Preprocessor" char="#" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//BEGIN" beginRegion="Region1" firstNonSpace="true" />
<StringDetect attribute="Region Marker" context="Region Marker" String="//END" endRegion="Region1" firstNonSpace="true" />
<keyword attribute="Keyword" context="#stay" String="keywords"/>
<keyword attribute="Function" context="#stay" String="functions"/>
<keyword attribute="Constant" context="#stay" String="constants"/>
<keyword attribute="Data Type" context="#stay" String="types"/>
<keyword attribute="Event" context="#stay" String="events"/>
<DetectIdentifier />
<DetectChar attribute="Symbol" context="#stay" char="{" beginRegion="Brace1" />
<DetectChar attribute="Symbol" context="#stay" char="}" endRegion="Brace1" />
<Float attribute="Float" context="#stay">
<AnyChar String="fF" attribute="Float" context="#stay"/>
</Float>
<HlCOct attribute="Octal" context="#stay"/>
<HlCHex attribute="Hex" context="#stay"/>
<Int attribute="Decimal" context="#stay" >
<StringDetect attribute="Decimal" context="#stay" String="ULL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LUL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LLU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="UL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LU" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="LL" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="U" insensitive="TRUE"/>
<StringDetect attribute="Decimal" context="#stay" String="L" insensitive="TRUE"/>
</Int>
<HlCChar attribute="Char" context="#stay"/>
<DetectChar attribute="String" context="String" char="""/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<AnyChar attribute="Symbol" context="#stay" String=":!%&()+,-/.*<=>?[]|~^;"/>
</context>
<context attribute="String" lineEndContext="#pop" name="String">
<LineContinue attribute="String" context="#stay"/>
<HlCStringChar attribute="String Char" context="#stay"/>
<DetectChar attribute="String" context="#pop" char="""/>
</context>
<context attribute="Region Marker" lineEndContext="#pop" name="Region Marker">
</context>
<context attribute="Comment" lineEndContext="#pop" name="Commentar 1">
<IncludeRules context="##Alerts" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar 2">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment"/>
<IncludeRules context="##Alerts" />
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Preprocessor">
<LineContinue attribute="Preprocessor" context="#stay"/>
<RegExpr attribute="Preprocessor" context="Define" String="define.*((?=\\))"/>
<RegExpr attribute="Preprocessor" context="#stay" String="define.*"/>
<RangeDetect attribute="Prep. Lib" context="#stay" char=""" char1="""/>
<RangeDetect attribute="Prep. Lib" context="#stay" char="<" char1=">"/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar/Preprocessor" char="/" char1="*" beginRegion="Comment2"/>
</context>
<context attribute="Preprocessor" lineEndContext="#pop" name="Define">
<LineContinue attribute="Preprocessor" context="#stay"/>
</context>
<context attribute="Comment" lineEndContext="#stay" name="Commentar/Preprocessor">
<Detect2Chars attribute="Comment" context="#pop" char="*" char1="/" endRegion="Comment2" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped" >
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<DetectChar attribute="String" context="String" char="""/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" />
<RegExpr attribute="Preprocessor" context="#pop" String="#\s*(endif|else|elif)" endRegion="Outscoped" firstNonSpace="true" />
</context>
<context attribute="Comment" lineEndContext="#stay" name="Outscoped intern">
<DetectSpaces />
<IncludeRules context="##Alerts" />
<DetectIdentifier />
<DetectChar attribute="String" context="String" char="""/>
<IncludeRules context="##Doxygen" />
<Detect2Chars attribute="Comment" context="Commentar 1" char="/" char1="/"/>
<Detect2Chars attribute="Comment" context="Commentar 2" char="/" char1="*" beginRegion="Comment"/>
<RegExpr attribute="Comment" context="Outscoped intern" String="#\s*if" beginRegion="Outscoped" firstNonSpace="true" />
<RegExpr attribute="Comment" context="#pop" String="#\s*endif" endRegion="Outscoped" firstNonSpace="true" />
</context>
</contexts>
<itemDatas>
<itemData name="Normal Text" defStyleNum="dsNormal"/>
<itemData name="Keyword" defStyleNum="dsKeyword"/>
<itemData name="Data Type" defStyleNum="dsDataType"/>
<itemData name="Function" defStyleNum="dsFunction"/>
<itemData name="Constant" defStyleNum="dsConstant"/>
<itemData name="Decimal" defStyleNum="dsDecVal"/>
<itemData name="Event" defStyleNum="dsEvent"/>
<itemData name="Octal" defStyleNum="dsBaseN"/>
<itemData name="Hex" defStyleNum="dsBaseN"/>
<itemData name="Float" defStyleNum="dsFloat"/>
<itemData name="Char" defStyleNum="dsChar"/>
<itemData name="String" defStyleNum="dsString"/>
<itemData name="String Char" defStyleNum="dsChar"/>
<itemData name="Comment" defStyleNum="dsComment"/>
<itemData name="Symbol" defStyleNum="dsNormal"/>
<itemData name="Preprocessor" defStyleNum="dsOthers"/>
<itemData name="Prep. Lib" defStyleNum="dsOthers"/> <!--,Qt::darkYellow,Qt::yellow,false,false)); -->
<itemData name="Alert" defStyleNum="dsAlert" />
<itemData name="Region Marker" defStyleNum="dsRegionMarker" />
</itemDatas>
</highlighting>
<general>
<comments>
<comment name="singleLine" start="//" />
</comments>
<keywords casesensitive="1" />
</general>
</language>
loki Popinjay
Registered User
Join date: 28 Dec 2005
Posts: 20
Thanx
05-13-2006 13:45
Thanx Dale ...

This will come in handy. Just began experimenting in lsl and I just love Kate :-)
ninjafoo Ng
Just me :)
Join date: 11 Feb 2006
Posts: 713
05-14-2006 00:22
Thanks Dale!!

Big Quanta fan myself :D
_____________________
FooRoo : clothes,bdsm,cages,houses & scripts

QAvimator (Linux, MacOS X & Windows) : http://qavimator.org/
Vinci Calamari
Free Software Promoter
Join date: 27 Feb 2006
Posts: 192
05-14-2006 01:54
Hi, ive made a file "lsl.xml" out of it and added a short description for those who don't know how to do it at: http://stux.wikiinfo.org/moin.py/Scripting


BTW: Also consider adding
Kate to this page http://secondlife.com/badgeo/wakka.php?wakka=AlternativeEditors
_____________________
The SecondTux Linux User Wiki:
http://stux.wikiinfo.org
Jesse Malthus
OMG HAX!
Join date: 21 Apr 2006
Posts: 649
05-15-2006 09:08
But why? The linux client can't copy/paste, so isn't this a waste?
ninjafoo Ng
Just me :)
Join date: 11 Feb 2006
Posts: 713
05-15-2006 09:25
Not at all, you can paste into SL on linux using Zi Ree's paste proxy script

/263/9d/92387/1.html
_____________________
FooRoo : clothes,bdsm,cages,houses & scripts

QAvimator (Linux, MacOS X & Windows) : http://qavimator.org/
Vinci Calamari
Free Software Promoter
Join date: 27 Feb 2006
Posts: 192
05-16-2006 00:08
From: Jesse Malthus
But why? The linux client can't copy/paste, so isn't this a waste?


Nobody said that it will keep that way. And there are indeed already workarounds. Maybe in one of the next versions copy&paste will work. And even sound can come as 'nobody expects the spanish inquisition' ;-)

Vinci
_____________________
The SecondTux Linux User Wiki:
http://stux.wikiinfo.org
Zi Ree
Mrrrew!
Join date: 25 Feb 2006
Posts: 723
05-16-2006 01:23
It's great to have a syntax highlighter available offline. Thanks!

Even though copy / paste does not really work yet, this way you can at least hack together a basic script offline, without having to fear the client crashing under your fingers while in the midst of developing :)

And the future will come :) So we should be prepared *drumroll* :)
_____________________
Zi!

(SuSE Linux 10.2, Kernel 2.6.13-15, AMD64 3200+, 2GB RAM, NVidia GeForce 7800GS 512MB (AGP), KDE 3.5.5, Second Life 1.13.1 (6) alpha soon beta thingie)

Blog: http://ziree.wordpress.com/ - QAvimator: http://qavimator.org

Second Life Linux Users Group IRC Channel: irc.freenode.org #secondlifelug
Dale Glass
Evil Scripter
Join date: 12 Feb 2006
Posts: 252
05-16-2006 03:17
From: Jesse Malthus
But why? The linux client can't copy/paste, so isn't this a waste?


It does work in Wine though. Which is how I'm currently using it.
Jesse Malthus
OMG HAX!
Join date: 21 Apr 2006
Posts: 649
05-16-2006 09:04
Cool! Thanks for the link to the paste proxy. My computer refuses to boot SL in Wine in a timley manner.
A vim syntax file would be nice though.... :)
ninjafoo Ng
Just me :)
Join date: 11 Feb 2006
Posts: 713
05-17-2006 01:39
Just in case anybody is wondering, you want to save it in a file called lsl.xml and place it in ~/.kde/share/apps/katepart/syntax/

:)
_____________________
FooRoo : clothes,bdsm,cages,houses & scripts

QAvimator (Linux, MacOS X & Windows) : http://qavimator.org/
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
05-24-2006 19:24
Hi.

Am I reading correctly that one could use this cut and paste script to cut and paste to the SciTE text editor, which has a Linux version, and for which there is an LSL syntax file?

Is there an LSL syntax file for Kate? What is Kate - a notepad equivalent or is it a programmer's editor?

I don't do Linux, I was trying to help out Llauren Mandelbrot, who is a SL user, running Linux, and who has experience with other programming languages, so me trying to help is pretty silly, since although I can write small scripts, I am no programmer and I don't do Linux at, well technically I guess I have run Linux for 5 minutes or so.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
05-24-2006 20:17
From: SuezanneC Baskerville
Am I reading correctly that one could use this cut and paste script to cut and paste to the SciTE text editor, which has a Linux version, and for which there is an LSL syntax file?

Nah. I believe SciTe uses a different syntax. Ezhar Fairlight would know more about that than I, given the whole brilliant SciTe-EZ modified editor. :)

From: SuezanneC Baskerville
Is there an LSL syntax file for Kate? What is Kate - a notepad equivalent or is it a programmer's editor?

This one appears to be for Kate, though I haven't tested it yet myself. Kate is a standard editor that comes as part of KDE, a common linux desktop environment. It's a barebones editor that handles tasks like syntax highlighting, compares, and virtual projects. KWrite is more analogous to Windows Notepad, whereas KDevelop would be similar to Microsoft Visual Studio.


Aaaaand... given I use Kate a bunch myself, I might just give this a try. Nifty!
_____________________
---
Jesse Malthus
OMG HAX!
Join date: 21 Apr 2006
Posts: 649
05-24-2006 20:22
The paste script is great, don't get my wrong, but there is no way to copy out, and that's not something that can be done by sending synthetic keypress events (evil :) ), so you pretty much have to work outside of SL all the time.
I might try my hand at a VI(M) syntax file later....
Elbereth Witte
Registered User
Join date: 13 Apr 2006
Posts: 20
05-25-2006 05:17
xse is no good for me, eats my CPU alive, types slower than I would if I did a line, went to the kitchen and back, then did another line.

The program "dasher" seems to work fairly well, but it doesn't seem to have a file dump option. (though it may come close on an interactive level if you stack the deck)
Jeffrey Gomez
Cubed™
Join date: 11 Jun 2004
Posts: 3,522
05-26-2006 10:18
Just dropped this into Kate to look over some code I'm going to be converting. Works great! :D
_____________________
---
Vinci Calamari
Free Software Promoter
Join date: 27 Feb 2006
Posts: 192
05-27-2006 03:13
Don't forget that this is not yet updated to 1.10.1. All those extension that were listed on LSL wiki seemed to get updated by Adam Marker in his Shill project (http://adammarker.org/shill/index.html)
_____________________
The SecondTux Linux User Wiki:
http://stux.wikiinfo.org