-
Notifications
You must be signed in to change notification settings - Fork 382
/
Copy pathREXX-SeveralDialects_byGertMassheimer.xml
103 lines (100 loc) · 17.3 KB
/
REXX-SeveralDialects_byGertMassheimer.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<NotepadPlus>
<!--
Notepad++ userDefinedLanguage Documentation
URL https://npp-user-manual.org/docs/user-defined-language-system/
URL https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/udl-list.md
GitHub Repository: https://github.com/notepad-plus-plus/userDefinedLanguages/blob/master/UDLs/REXX-SeveralDialects_byGertMassheimer.xml
Change History
2024/04/04
Moved "::ROUTINE" from "Folders in code1, open" to "Keywords2"
"::ROUTINE" directive does not end with an "END" or "RETURN".
Moved "::METHOD" from "Folders in code1, open" to "Keywords2"
Even though "RETURN" ends a ":METHOD" adding "RETURN" to one of the "ends"
causes problems noted below.
Moved "PROCEDURE" and "RETURN" from "Folders in code1" to "Keywords2"
The problem is that Notepad++ thinks that
(1) Either the "RETURN" or "END" terminates a "PROCEDURE"
(2) Either the "RETURN" or "END" terminates a "DO"
(3) A "RETURN" in the middle of a "PROCEDURE" ends a PROCEDURE
Move "Folders in code1" to "Folders in code2"
The problem is that Notepad++ thinks that
(1) "DONE" begins a "DO" statement
(2) "PEND" ends a "DO" statement
Move "SELECT" from "Keywords1" to "Folders in code2, open"
2024/04/04
Added Special Characters ": ;" to "Operators1"
Not sure if users of this UDL like this change but its usually
best practice to highlight statement terminator (i.e. semicolon).
Added Negator "^" to "Operators1"
Added Special Variables (RC, etc.)
Use "Keywords5" for Special Variables
Used "keywords5" to allow customization of the style later.
Changed Style "Keywords5"
Coded Style "Keywords5" with same style as "Keywords2" for now.
Open to recommendations on what would be nice for this style.
Corrected udlVersion back to 2.1.
-->
<UserLang name="Rexx" ext="rex nrx" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00-- 01 02 03/* 04*/</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
<Keywords name="Numbers, extras1"></Keywords>
<Keywords name="Numbers, extras2"></Keywords>
<Keywords name="Numbers, suffix1"></Keywords>
<Keywords name="Numbers, suffix2"></Keywords>
<Keywords name="Numbers, range"></Keywords>
<Keywords name="Operators1">& ( ) . [ \ ] { | } ~ + < = > ^ ; :</Keywords>
<Keywords name="Operators2"></Keywords>
<Keywords name="Folders in code1, open"></Keywords>
<Keywords name="Folders in code1, middle"></Keywords>
<Keywords name="Folders in code1, close"></Keywords>
<Keywords name="Folders in code2, open">DO SELECT</Keywords>
<Keywords name="Folders in code2, middle"></Keywords>
<Keywords name="Folders in code2, close">END</Keywords>
<Keywords name="Folders in comment, open"></Keywords>
<Keywords name="Folders in comment, middle"></Keywords>
<Keywords name="Folders in comment, close"></Keywords>
<Keywords name="Keywords1">ADDRESS ARG BOOLEAN BYTE CALL CLASS CROSSREF DIAG DOUBLE DROP EXIT EXPOSE FLOAT FORWARD GUARD IMPORT INT INTERPRET ITERATE LEAVE LONG METHOD NOCROSSREF NODIAG NOFORMAT NOP NOREPLACE NOSTRICTARGS NOSTRICTASSIGN NOSTRICTCASE NOSTRICTSIGNAL NOTRACE NOUTF9 NOVERBOSE NOVERBOSEX NULL NUMERIC OPTIONS PACKAGE PARSE PROPERTIES PULL PUSH QUEUE RAISE REPLY REQUIRES REXX SAY SELF SHORT SIGNAL STRICTARGS STRICTASSIGN STRICTCASE STRICTSIGNAL SUPER TRACE USE UTF9 VERBOSE VERBOSEX</Keywords>
<Keywords name="Keywords2">::CLASS ::METHOD ::REQUIRES ::ROUTINE ABSTRACT ADDITIONAL ALL ANY APPEND ARRAY BINARY BOTH BY CASELESS CATCH CHAR CLOSE CONSTANT DATETIME DIGITS ELSE ENGINEERING ERROR EXISTS EXTENDS FAILURE FINAL FINALLY FLUSH FOR FOREVER FORM FUZZ HALT HANDLE IF IMPLEMENTS INHERIT INHERITABLE INTERFACE LABEL LINE LOSTDIGITS LOWER NAME NATIVE NEW NOBUFFER NOMETHOD NORMAL NOSTRING NOTREADY NOVALUE OBJECT OFF ON OPEN OTHERWISE OVER POSITION PRIVATE PROCEDURE PROTECT PUBLIC PUT QUERY READ RECLENGTH REPLACE RESULTS RETURN RETURNS SCIENTIFIC SEEK SIGNALS SIZE SORT SORTADDITIONAL SOURCE STATIC STREAMTYPE SUBCLASS SYNTAX SYS THEN TIMESTAMP TO UNTIL UPPER USER USERID USES VALUE VAR VARIABLE VERSION VOLATILE WHEN WHILE WITH WRITE</Keywords>
<Keywords name="Keywords3">ABBREV ABS BEEP BITAND BITOR BITXOR B2X CENTER CENTRE ChangeStr CHARIN CHAROUT CHARS COMPARE CONDITION COPIES COUNTSTR C2X DATE DATATYPE DELSTR DELWORD D2C D2X DIRECTORY ERRORTEXT ENDLOCAL FILESPEC FORMAT INSERT LASTPOS LEFT LENGTH LINEIN LINEOUT LINES MAX METHODS MIN OVERLAY POS QUEUED RANDOM REVERSE RIGHT RS RxFuncAdd RxFuncDrop RxFuncQuery RxQueue SetLocal SIGN SOURCELINE SPACE STREAM STRIP SUBSTR SUBWORD SYMBOL TIME TRANSLATE TRUNC VERIFY WORD WORDINDEX WORDLENGTH WORDPOS WORDS XRANGE X2B X2C X2D</Keywords>
<Keywords name="Keywords4">AbsRect2LogRect Add AddAttribute AddAutoStartMethod AddBitmapButton AddBlackFrame AddBlackRect AddButton AddButtonGroup AddCategoryComboEntry AddCategoryListEntry AddCheckBox AddCheckBoxStem AddCheckGroup AddComboBox AddComboEntry AddComboInput AddDirectory AddEntryLine AddEtchedFrame AddEtchedHorizontal AddEtchedVertical AddFullSeq AddGrayFrame AddGrayRect AddGroupBox AddInput AddInputGroup AddInputStem AddListBox AddListControl AddListEntry AddMenuItem AddMenuSeparator AddOkCancelLeftBottom AddOkCancelLeftTop AddOkCancelRightBottom AddOkCancelRightTop AddPasswordLine AddPopupMenu AddProgressBar AddRadioButton AddRadioGroup AddRadioStem AddRow AddScrollBar AddSequence AddSliderControl AddStyle AddTabControl AddText AddTreeControl AddUserMsg AddWhiteFrame AddWhiteRect AdjustToRectangle AlignLeft AlignTop Arrange AskDialog AssignFocus AssignWindow AsyncMessageHandling AutoDetection BackgroundBitmap BackgroundColor BkColor Cancel CaptureMouse CategoryComboAddDirectory CategoryComboDrop CategoryListAddDirectory CategoryListDrop CategoryPage ChangeBitmap ChangeBitmapButton ChangeCategoryComboEntry ChangeCategoryListEntry ChangeComboEntry ChangeListEntry ChangePage Check CheckMenuItem Child Clear ClearButtonRect ClearMessages ClearRect ClearSelRange ClearTicks ClearWindowRect ClientToScreen CloseDropDown Collapse CollapseAndReset ColumnInfo ColumnWidth CombineELwithSB ComboAddDirectory ComboDrop ConnectAllSBEvents ConnectAnimatedButton ConnectBitmapButton ConnectButton ConnectButtonNotify ConnectCheckBox ConnectComboBox ConnectComboBoxNotify ConnectCommonNotify ConnectControl ConnectDraw ConnectEditNotify ConnectEntryLine ConnectList ConnectListBox ConnectListBoxify ConnectListControl ConnectListLeftDoubleClick ConnectListNotify ConnectMenuItem ConnectMouseCapture ConnectMove ConnectMultiListBox ConnectPosChanged ConnectRadioButton ConnectResize ConnectScrollBar ConnectScrollBarNotify ConnectSliderControl ConnectSliderNotify ConnectStaticNotify ConnectTabNotify ConnectTreeControl ConnectTreeNotify CountTicks Create CreateBrush CreateCategoryDialog CreateCenter CreateFont CreateMenu CreatePen CurrentCategory CursorPos Cursor_AppStarting Cursor_Arrow Cursor_Cross Cursor_No Cursor_Wait DeInstall DeSelectIndex DefListDragHandler DefTreeDragHandler DefineDialog Delete DeleteAll DeleteCategoryComboEntry DeleteCategoryListEntry DeleteColumn DeleteComboEntry DeleteFont DeleteListEntry DeleteObject Deselect DeselectRange DeterminePosition DetermineSBPosition DimBitmap Disable DisableCategoryItem DisableItem DisableMenuItem DisplaceBitmap Display Draw DrawAngleArc DrawArc DrawBitmap DrawButton DrawLine DrawPie DrawPixel DropHighlight DropHighlighted Dump Edit EditSelection Enable EnableCategoryItem EnableItem EnableMenuItem EndAsyncExecution EndEdit EnsureCaretVisibility EnsureVisible ErrorDialog Execute ExecuteAsync Expand FileNameDialog FillDrawing Find FindCategoryComboEntry FindCategoryListEntry FindComboEntry FindListEntry FindNearestXY FindPartial FirstVisible FirstVisibleLine Focus FocusCategoryItem FocusItem Focused FontColor FontToDC ForegroundWindow FreeButtonDC FreeDC FreeWindowDC Get GetArcDirection GetAttrib GetBitmapSizeX GetBitmapSizeY GetBmpDisplacement GetButtonControl GetButtonDC GetButtonRect GetCategoryAttrib GetCategoryCheckBox GetCategoryComboEntry GetCategoryComboItems GetCategoryComboLine GetCategoryEntryLine GetCategoryListEntry GetCategoryListItems GetCategoryListLine GetCategoryMultiList GetCategoryRadioButton GetCategoryValue GetCheckBox GetCheckControl GetClientRect GetComboBox GetComboEntry GetComboItems GetComboLine GetCurrentCategoryComboIndex GetCurrentCategoryListIndex GetCurrentComboIndex GetCurrentListIndex GetDC GetData GetDataStem GetEditControl GetEntryLine GetFirstVisible GetFocus GetID GetItem GetLine GetLineStep GetListBox GetListControl GetListEntry GetListItemHeight GetListItems GetListLine GetListWidth GetMenuItemState GetMouseCapture GetMultiList GetPageStep GetPixel GetPos GetProgressBar GetRadioButton GetRadioControl GetRect GetSBPos GetSBRange GetScrollBar GetSelectedPage GetSize GetSliderControl GetStaticControl GetTabControl GetText GetTextSize GetTick GetTreeControl GetValue GetWindowDC GetWindowRect GrayMenuItem HScrollPos HandleMessages Help Hide HideCategoryItem HideFast HideItem HideItemFast HideWindow HideWindowFast HitTest Indent Indeterminate InfoDialog Init InitAutoDetection InitCategories InitDialog InitRange InitSelRange InsertCategoryComboEntry InsertCategoryListEntry InsertColumn InsertComboEntry InsertListEntry IsAncestor IsChecked IsDialogActive IsDropDownOpen IsModified IsMouseButtonDown ItemHeight ItemInfo ItemPos ItemState ItemText ItemTitle Items ItemsPerPage Last LastSelected Leaving LineFromIndex LineIndex LineLength LineScroll ListAddDirectory ListDrop Load LoadBitmap LoadFrame LoadItems LoadMenu LogRect2AbsRect MakeFirstVisible Margins Maximize Minimize Modify ModifyColumn Move MoveCategoryItem MoveItem MSSleep Next NextLeft NextPage NextRight NextSelected NextVisible NoAutoDetection OK ObjectToDC OpaqueText OpenDropDown PageHasChanged Parent PasswordChar PeekDialogMessage Play Popup PopupAsChild PosRectangle Prepare4nItems Previous PreviousPage PreviousSelected PreviousVisible ProcessMessage Range Rectangle Redraw RedrawButton RedrawClient RedrawItems RedrawRect RedrawWindow RedrawWindowRect ReleaseMouseCapture RemoveBitmap RemoveImages RemoveSmallImages RemoveStyle ReplaceSelText ReplaceStyle RequiredWindowSize Resize ResizeCategoryItem ResizeItem RestoreCursorShape RestoreEditClass Root Rows Run RxMessageBox RxWinExec ScreenSize ScreenToClient Scroll ScrollBitmapFromTo ScrollButton ScrollCommand ScrollInButton ScrollText SelRange SelectIndex SelectRange Selected SelectedIndex SelectedIndexes SelectedItems SendMessageToCategoryItem SendMessageToItem SetArcDirection SetAttrib SetCategoryAttrib SetCategoryCheckBox SetCategoryComboLine SetCategoryEntryLine SetCategoryItemFont SetCategoryListLine SetCategoryListTabulators SetCategoryMultiList SetCategoryRadioButton SetCategoryStaticText SetCategoryValue SetCheckBox SetColor SetColumnWidth SetComboLine SetCurrentCategoryComboIndex SetCurrentCategoryListIndex SetCurrentComboIndex SetCurrentListIndex SetCursorPos SetData SetDataStem SetEntryLine SetFocus SetFont SetHScrollPos SetImages SetItemFont SetItemPos SetItemState SetItemText SetLimit SetLineStep SetListColumnWidth SetListItemHeight SetListLine SetListTabulators SetListWidth SetMargins SetMax SetMenu SetMenuItemRadio SetMin SetModified SetMultiList SetPadding SetPageStep SetPos SetRadioButton SetRange SetReadOnly SetRect SetSBPos SetSBRange SetSelEnd SetSelStart SetSize SetSmallImages SetStaticText SetStep SetTabulators SetTickAt SetTickFrequency SetTitle SetVScrollPos SetValue SetWidth SetWindowRect SetWindowTitle Show ShowCategoryItem ShowFast ShowItem ShowItemFast ShowWindow ShowWindowFast SmallSpacing SnapToGrid SortChildren Spacing StartIt State Step StopIt StringWidth Style SubclassEdit SysAddFileHandle SysAddRexxMacro SysBootDrive SysClearRexxMacroSpace SysCloseEventSem SysCloseMutexSem SysCls SysCopyObject SysCreateEventSem SysCreateMutexSem SysCreateObject SysCreatePipe SysCurPos SysCurState SysDriveInfo SysDriveMap SysDropFuncs SysDropRexxMacro SysDumpVariables SysFileCopy SysFileDelete SysFileExist SysFileMove SysFileSearch SysFileSystemType SysFileTree SysFork SysFromUnicode SysGetCollate SysGetErrortext SysGetFileDateTime SysGetKey SysGetMessage SysGetMessageX SysIni SysIsFile SysIsFileCompressed SysIsFileDirectorySysIsFileEncrypted SysIsFileLink SysIsFileNotContentIndexed SysIsFileOffline SysIsFileSparse SysIsFileTemporary SysLoadFuncs SysLoadRexxMacroSpace SysMkDir SysOpenEventSem SysOpenMutexSem SysPostEventSem SysProcessType SysPulseEventSem SysQueryProcess SysQueryProcessCodePage SysQueryRexxMacro SysReleaseMutexSem SysReorderRexxMacro SysRequestMutexSem SysResetEventSem SysRmDir SysSaveRexxMacroSpace SysSearchPath SysSetFileDateTime SysSetPriority SysSetProcessCodePage SysShutdownSystem SysSleep SysStemCopy SysStemDelete SysStemInsert SysStemSort SysSwitchSession SysSystemDirectory SysTempFileName SysTextScreenRead SysTextScreenSize SysToUnicode SysUtilVersion SysVersion SysVolumeLable SysWait SysWaitEventSem SysWaitNamedPipe SysWildCard SysWinDecryptFile SysWinEncryptFile SysWinGetDefaultPrinter SysWinGetPrinters SysWinSetDefaultPrinter SysWinVer TextBkColor TextColor TiledBackgroundBitmap Title ToTheTop Toggle TransparentText Uncheck UncheckMenuItem Update UpdateItem VScrollPos Validate Value VisibleItems Width WriteDirect WriteToButton WriteToWindow</Keywords>
<Keywords name="Keywords5">.DIRSEP .ENDOFLINE .FILE .LINE .MN .RC .RESULT .RS RC RESULT SIGL</Keywords>
<Keywords name="Keywords6"></Keywords>
<Keywords name="Keywords7"></Keywords>
<Keywords name="Keywords8"></Keywords>
<Keywords name="Delimiters">00' 01 02' 03" 04 05" 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="LINE COMMENTS" fgColor="808080" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="2" fontSize="10" nesting="0" />
<WordsStyle name="NUMBERS" fgColor="800040" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="KEYWORDS2" fgColor="008000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="KEYWORDS3" fgColor="FF00FF" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="KEYWORDS4" fgColor="8000FF" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="KEYWORDS5" fgColor="008000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="OPERATORS" fgColor="FF8000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="FOLDER IN CODE1" fgColor="008000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="FOLDER IN CODE2" fgColor="008000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS1" fgColor="0080FF" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="DELIMITERS2" fgColor="0080C0" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="Lucida Console" fontStyle="0" fontSize="10" nesting="0" />
<WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0" />
<WordsStyle name="REGEX" fgColor="8000FF" bgColor="F2F4FF" fontStyle="0" nesting="0" />
</Styles>
</UserLang>
</NotepadPlus>