////////////////////////////////////////////////////////////////////////////// // // Siebel eScript highlighter written by Juan Pablo Santos Rodríguez // Contact at: juanpablo.santos at vass dot es // // This file should help highligthing Siebel eScript (v 7.00). // Although I made a comprehensive research on keywords it is possible that // I've missed one or two keywords, feel free to contact me to update the // file, thanks // // You can use this file as long as you don't delete the first 12 lines of // the file :-) // Language: Siebel eScript Filter: Siebel eScript files (*.sbl)|*.sbl HelpFile: CaseSensitive: 1 LineComment: // BlockCommentBeg: /* BlockCommentEnd: */ IdentifierBegChars: a..z A..Z _%@. IdentifierChars: a..z A..Z _ 0..9 NumConstBegChars: 0..9 NumConstChars: 0..9 #abcdefABCDEF. EscapeChar: ////////////////////////////////////////////////////////////////////////////// // keyword table KeyWords1: // Funciones Array Blob Clib Date .E function global .LN10 .LN2 .LOG2E .LOG10E Math .PI SElib .SQRT1_2 .SQRT2 // Eventos Applet_ChangeFieldValue Applet_ChangeRecord Applet_InvokeMethod Applet_PreInvokeMethod Application_Close Application_InvokeMethod Application_Navigate Application_PreInvokeMethod Application_PreNavigate Application_Start BusComp_Associate BusComp_ChangeRecord BusComp_CopyRecord BusComp_DeleteRecord BusComp_InvokeMethod BusComp_NewRecord BusComp_PreAssociate BusComp_PreCopyRecord BusComp_PreDeleteRecord BusComp_PreGetFieldValue BusComp_PreInvokeMethod BusComp_PreNewRecord BusComp_PreQuery BusComp_PreSetFieldValue BusComp_PreWriteRecord BusComp_Query BusComp_SetFieldValue BusComp_WriteRecord Service_InvokeMethod Service_PreCanInvokeMethod Service_PreInvokeMethod WebApplet_InvokeMethod WebApplet_PreInvokeMethod WebApplet_Load WebApplet_ShowControl WebApplet_ShowListColumn WebApplet_PreCanInvoke KeyWords2: // Métodos .acos .asin .atan .atan2 .atexit .asctime .bigEndian .bsearch .charAt .charCodeAt .chdir .clearerr .clock .cos .cosh .ctime .cursor .data .defined .difftime .dynamicLink .escape .errno .fclose .flock .feof .ferror .fflush .fgetc .fgetpos .fgets .fprintf .fputc .fopen .fputs .fread .freopen .fromCharCode .fromSystem .fscanf .fseek .fsetpos .ftell .fwrite .get .getc .getArrayLength .getcwd .getDate .getenv .getFullYear .getDay .getHours .getMilliseconds .getMinutes .getMonth .getSeconds .getString .getTime .getTimezoneOffset .getUTCDate .getUTCDay .getUTCFullYear .getUTCHours .getUTCMilliseconds .getUTCMinutes .getValue .gmtime .getUTCMonth .getUTCSeconds .getYear .indexOf .isalnum .isalpha .isascii .iscntrl .isdigit .isgraph .islower .isprint .ispunct .isspace .isupper .isxdigit .isFinite .isNaN .join .lastIndexOf .length .localtime .memchr .memcmp .memcpy .memmove .memset .mkdir .mktime .parse .parseFLoat .parseInt .perror .put .putc .putenv .putString .putValue .qsort .remove .rename .reverse .rewind .rmdir .rsprintf .setArrayLength .setDate .setFullYear .setHours .setMilliseconds .setMinutes .setMonth .setSeconds .setTime .setUTCDate .setUTCFullYear .setUTCHours .setUTCMilliseconds .setMinutes .setMonth .setSeconds .setTime .setYear .size .sin .sinh .sort .split .sprintf .sscanf .strcat .strchr .strcmp .strcmpi .strcpy .strcspn .strftime .strerror .stricmp .strlen .strlwr .strncat .strncmp .strncmpi .strncpy .strnicmp .strpbrk .strrchr .strspn .strstr .strstri .substring .subBuffer .system .tan .tanh .time .tmpfile .tmpnam .toascii .ToBoolean .ToBuffer .ToBytes .toGMTString .ToInt32 .ToInteger .toLocaleString .tolower .toLowerCase .toUpperCase .ToNumber .ToObject .ToPrimitive .toString .ToString .toSystem .ToUint16 .ToUint32 .toUTCString .undefine .unescape .ungetc .unicode .UTC // Órdenes AllView break CancelOperation CatalogView catch case class continue const ContactView ContinueOperation debugger default delete do else enum export extends false finally for ForwardBackward ForwardOnly goto GroupView if import in ManagerView new NewAfter NewAfterCopy NewBefore NewBeforeCopy NoneSetView Nothing null OrganizationView PersonalView return super SalesRepView SubOrganizationView switch this throw true try typeof var void while with KeyWords3: // Palabras reservadas Siebel eScript .ActivateField .ActiveApplet .ActiveBusComp .ActiveBusObject .ActiveControl .ActivateMultipleFields .ActiveViewName .AddChild .Associate .ActiveMode .Attach .Applet .BusComp .BusObject .ClearToQuery .Copy .CurrencyCode .CreateSiebelAppObject .DeactivateFields .DeleteRecord .Detach .EnableExceptions .ExecuteQuery .ExecuteQuery2 .FirstRecord .FindActiveXControl .FindControl .FindApplet .GetAssocBusComp .GetBusComp .GetBusObject .GetChild .GetChildCount .GetFieldValue .GetFirstProperty .GetFormattedFieldValue .GetLastErrCode .GetLastErrText .GetMultipleFieldValues .GetMVGBusComp .GetNamedSearch .GetNextProperty .GetPicklistBusComp .GetProperty .GetProfileAttr .GetProperty .GetPropertyCount .GetSearchExpr .GetSearchSpec .GetService .GetSharedGlobal .GetType .GetUserProperty .GetValue .GetViewMode .GotoView .InsertChildAt .InvokeMethod .LastRecord .Login .LoginId .LoginName .LookUpMessage .LoadObjects .Logoff .Name .NewPropertySet .NewRecord .NextRecord .NextSelected .ParentBusComp .Pick .PositionId .PositionName .PostChanges .PreviousRecord .PropertyExists .RaiseError .RaiseErrorText .RefineQuery .RemoveChild .RemoveProperty .Reset .Release .SetFieldValue .SetFormattedFieldValue .SetMultipleFieldValues .SetNamedSearch .SetPositionId .SetPositionName .SetPositionId .SetProfileAttr .SetProperty .SetSearchExpr .SetSearchSpec .SetSharedGlobal .SetSortSpec .SetType .SetUserProperty .SetValue .SetViewMode .ShowStatus .TheApplication .Trace .TraceOff .TraceOn .UndoRecord .ViewMode .WriteRecord // Palabras reservadas Siebel eScript para que salgan resaltadas al usar un With ActivateField ActiveApplet ActiveBusComp ActiveBusObject ActiveControl ActivateMultipleFields ActiveViewName AddChild Associate ActiveMode Attach Applet BusComp BusObject ClearToQuery Copy CurrencyCode Clipboard CreateSiebelAppObject DeactivateFields DeleteRecord Detach EnableExceptions ExecuteQuery ExecuteQuery2 FirstRecord FindActiveXControl FindControl FindApplet GetAssocBusComp GetBusComp GetBusObject GetChild GetChildCount GetFieldValue GetFirstProperty GetFormattedFieldValue GetLastErrCode GetLastErrText GetMultipleFieldValues GetMVGBusComp GetNamedSearch GetNextProperty GetPicklistBusComp GetProperty GetProfileAttr GetProperty GetPropertyCount GetSearchExpr GetSearchSpec GetService GetSharedGlobal GetType GetUserProperty GetValue GetViewMode GotoView InsertChildAt InvokeMethod LastRecord Login LoginId LoginName LookUpMessage LoadObjects Logoff Name NewPropertySet NewRecord NextRecord NextSelected ParentBusComp Pick PositionId PositionName PostChanges PreviousRecord PropertyExists RaiseError RaiseErrorText RefineQuery RemoveChild RemoveProperty Reset Release SetFieldValue SetFormattedFieldValue SetMultipleFieldValues SetNamedSearch SetPositionId SetPositionName SetPositionId SetProfileAttr SetProperty SetSearchExpr SetSearchSpec SetSharedGlobal SetSortSpec SetType SetUserProperty SetValue SetViewMode ShowStatus SendKeys Shell TheApplication Trace TraceOff TraceOn UndoRecord ViewMode WriteRecord ////////////////////////////////////////////////////////////////////////////// StringBegChar: " ' StringEndChar: " ' MultilineStrings: 0 UsePreprocessor: 0 CurrLineHighlighted: 1 ////////////////////////////////////////////////////////////////////////////// // colors // note: first value is foreground, second is background color // and third (optional) represents font attribute: // B - bold // I - italic // U - underline // S - strike out // attributes can be combined: eg. B or BI // as value, it could be used any standard windows color: // clBlack, clMaroon, clGreen, clOlive, clNavy, // clPurple, clTeal, clGray, clSilver, clRed, clLime, // clYellow, clBlue, clFuchsia, clAqua, clLtGray, // clDkGray, clWhite, clScrollBar, clBackground, // clActiveCaption, clInactiveCaption, clMenu, clWindow, // clWindowFrame, clMenuText, clWindowText, clCaptionText, // clActiveBorder, clInactiveBorder, clAppWorkSpace, // clHighlight, clHighlightText, clBtnFace, clBtnShadow, // clGrayText, clBtnText, clInactiveCaptionText, // clBtnHighlight, cl3DDkShadow, cl3DLight, clInfoText, // clInfoBk // as value, it could be used hex numeric constant too: // $BBGGRR - BB: blue, GG: green, RR: red, eg: $FF6A00 SpaceCol: clWindowText clWindow Keyword1Col: clGreen clWindow B Keyword2Col: clNavy clWindow B Keyword3Col: clOlive clWindow B IdentifierCol: clNavy clWindow CommentCol: clGray clWindow I NumberCol: clRed clWindow StringCol: clMaroon clWindow SymbolCol: clGray clWindow PreprocessorCol: clBlue clWindow SelectionCol: clWhite clNavy CurrentLineCol: clBlack clWindow OverrideTxtFgColor: 0 BlockAutoindent: 1 BlockBegStr: { ( BlockEndStr: } ) MatchedBracesCol: clRed clWindow