Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support highlighting 3 more acet-* functions #224

Merged
merged 1 commit into from
Mar 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions extension/data/alllispkeys.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2671,6 +2671,9 @@ acet-help
acet-help-trap
acet-ini-get
acet-ini-set
acet-laytrans
acet-ms-to-ps
acet-ps-to-ms
acet-reg-del
acet-reg-get
acet-reg-prodkey
Expand Down
2 changes: 1 addition & 1 deletion extension/syntaxes/autolisp.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"match": "(?<=\\(|\\[|'|\\s|^)(?i:vla-Quit|vla-RealToString|vla-RecomputeTableBlock|vla-RefreshPlotDeviceInfo|vla-Regen|vla-Reload|vla-Remove|vla-RemoveAllOverrides|vla-RemoveCustomByIndex|vla-RemoveCustomByKey|vla-RemoveFromMenuBar|vla-RemoveItems|vla-RemoveLeader|vla-RemoveLeaderLine|vla-RemoveMenuFromMenuBar|vla-RemoveVertex|vla-Rename|vla-RenameCellStyle|vla-RenameProfile|vla-Replace|vla-ReselectSubRegion|vla-ResetBlock|vla-ResetCellValue|vla-ResetProfile|vla-Restore|vla-Reverse|vla-Rotate|vla-Rotate3D|vla-RunMacro|vla-Save|vla-SaveAs|vla-ScaleEntity|vla-SectionSolid|vla-Select|vla-SelectAtPoint|vla-SelectByPolygon|vla-SelectOnScreen|vla-SelectSubRegion|vla-SendCommand|vla-SendModelessOperationEnded|vla-SendModelessOperationStart|vla-SetAlignment|vla-SetAlignment2|vla-SetAutoScale|vla-SetAutoScale2|vla-SetBackgroundColor|vla-SetBackgroundColor2|vla-SetBackgroundColorNone|vla-SetBitmaps|vla-SetBlockAttributeValue|vla-SetBlockAttributeValue2|vla-SetBlockRotation|vla-SetBlockScale|vla-SetBlockTableRecordId|vla-SetBlockTableRecordId2|vla-SetBreakHeight|vla-SetBulge|vla-SetCellAlignment|vla-SetCellBackgroundColor|vla-SetCellBackgroundColorNone|vla-SetCellClass|vla-SetCellContentColor|vla-SetCellDataType|vla-SetCellFormat|vla-SetCellGridColor|vla-SetCellGridLineWeight|vla-SetCellGridVisibility|vla-SetCellState|vla-SetCellStyle|vla-SetCellTextHeight|vla-SetCellTextStyle|vla-SetCellType|vla-SetCellValue|vla-SetCellValueFromText|vla-SetColor|vla-SetColor2|vla-SetColorBookColor|vla-SetColumnName|vla-SetColumnWidth|vla-SetContentColor|vla-SetContentColor2|vla-SetContentLayout|vla-SetControlPoint|vla-SetCustomByIndex|vla-SetCustomByKey|vla-SetCustomData|vla-SetCustomScale|vla-SetDatabase|vla-SetDataFormat|vla-SetDataType|vla-SetDataType2|vla-SetDoglegDirection|vla-SetFieldId|vla-SetFieldId2|vla-SetFitPoint|vla-SetFont|vla-SetFormat|vla-SetFormat2|vla-SetFormula|vla-SetGridColor|vla-SetGridColor2|vla-SetGridDoubleLineSpacing|vla-SetGridLineStyle|vla-SetGridLinetype|vla-SetGridLineWeight|vla-SetGridLineWeight2|vla-SetGridSpacing|vla-SetGridVisibility|vla-SetGridVisibility2|vla-SetInvisibleEdge|vla-SetLayoutsToPlot|vla-SetLeaderLineVertices|vla-SetMargin|vla-SetNames|vla-SetOverride|vla-SetPattern|vla-SetProjectFilePath|vla-SetRelativeDrawOrder|vla-SetRGB|vla-SetRotation|vla-SetRowHeight|vla-SetScale|vla-SetSnapSpacing|vla-SetSubSelection|vla-SetTemplateId|vla-SetText|vla-SetTextHeight|vla-SetTextHeight2|vla-SetTextRotation|vla-SetTextString|vla-SetTextStyle|vla-SetTextStyle2|vla-SetTextStyleId|vla-SetToolTip|vla-SetValue|vla-SetValueFromText|vla-SetVariable|vla-SetView|vla-SetWeight|vla-SetWidth|vla-SetWindowToPlot|vla-SetXData|vla-SetXRecordData|vla-SliceSolid|vla-Split|vla-StartBatchMode|vla-StartUndoMark|vla-SwapOrder|vla-SyncModelView|vla-TransformBy|vla-TranslateCoordinates|vla-Unload|vla-UnloadArx|vla-UnloadDVB|vla-UnmergeCells|vla-Update|vla-UpdateMTextAttribute|vla-Wblock|vla-ZoomAll|vla-ZoomCenter|vla-ZoomExtents|vla-ZoomPickWindow|vla-ZoomPrevious|vla-ZoomScaled|vla-ZoomWindow|vlarts-init|vlax-3d-point|vlax-add-cmd|vlax-create-object|vlax-curve-getArea|vlax-curve-getClosestPointTo|vlax-curve-getClosestPointToProjection|vlax-curve-getDistAtParam|vlax-curve-getDistAtPoint|vlax-curve-getEndParam|vlax-curve-getEndPoint|vlax-curve-getFirstDeriv|vlax-curve-getParamAtDist|vlax-curve-getParamAtPoint|vlax-curve-getPointAtDist|vlax-curve-getPointAtParam|vlax-curve-getSecondDeriv|vlax-curve-getStartParam|vlax-curve-getStartPoint|vlax-curve-isClosed|vlax-curve-isPeriodic|vlax-curve-isPlanar|vlax-dump-Object|vlax-ename->vla-object|vlax-erased-p|vlax-for|vlax-get|vlax-get-acad-object|vlax-get-object|vlax-get-or-create-object|vlax-get-property|vlax-import-type-library|vlax-invoke|vlax-invoke-method|vlax-ldata-delete|vlax-ldata-get|vlax-ldata-list|vlax-ldata-put|vlax-ldata-test|vlax-machine-product-key|vlax-make-safearray|vlax-make-variant|vlax-map-Collection|vlax-method-applicable-p|vlax-object-released-p|vlax-product-key|vlax-property-available-p|vlax-put|vlax-put-property|vlax-queueexpr|vlax-read-enabled-p|vlax-reg-app|vlax-release-object|vlax-remove-cmd|vlax-safearray->list|vlax-safearray-fill|vlax-safearray-get-dim|vlax-safearray-get-element|vlax-safearray-get-l-bound|vlax-safearray-get-u-bound|vlax-safearray-put-element|vlax-safearray-type|vlax-tmatrix|vlax-typeinfo-available-p|vlax-user-product-key|vlax-variant-change-type|vlax-variant-type|vlax-variant-value|vlax-vbAbort|vlax-vbAbortRetryIgnore|vlax-vbApplicationModal|vlax-vbArchive|vlax-vbArray|vlax-vbBoolean|vlax-vbCancel|vlax-vbCritical|vlax-vbCurrency|vlax-vbDataObject|vlax-vbDate|vlax-vbDefaultButton1|vlax-vbDefaultButton2|vlax-vbDefaultButton3|vlax-vbDirectory|vlax-vbDouble|vlax-vbEmpty|vlax-vbError|vlax-vbExclamation|vlax-vbHidden|vlax-vbHiragana|vlax-vbIgnore|vlax-vbInformation|vlax-vbInteger|vlax-vbKatakana|vlax-vbLong|vlax-vbLowerCase|vlax-vbNarrow|vlax-vbNo|vlax-vbNormal|vlax-vbNull|vlax-vbObject|vlax-vbOK|vlax-vbOKCancel|vlax-vbOKOnly|vlax-vbProperCase|vlax-vbQuestion|vlax-vbReadOnly|vlax-vbRetry|vlax-vbRetryCancel|vlax-vbSingle|vlax-vbString|vlax-vbSystem|vlax-vbSystemModal|vlax-vbUpperCase|vlax-vbVariant|vlax-vbVolume|vlax-vbWide|vlax-vbYes|vlax-vbYesNo|vlax-vbYesNoCancel|vlax-vla-object->ename|vlax-write-enabled-p|vlisp-dclres-list|vlisp-dclres-load-dialog|vlisp-export-symbol|vlisp-fasres-list|vlisp-fasres-load|vlisp-import-exsubrs|vlisp-import-symbol|vlisp-inires-list|vlr-acdb-reactor|vlr-add|vlr-added-p|vlr-beep-reaction|vlr-command-reactor|vlr-current-reaction-name|vlr-data|vlr-data-set|vlr-deepclone-reactor|vlr-docmanager-reactor|vlr-document|vlr-dwg-reactor|vlr-dxf-reactor|vlr-editor-reactor|vlr-insert-reactor|vlr-linker-reactor|vlr-lisp-reactor|vlr-miscellaneous-reactor|vlr-mouse-reactor|vlr-notification|vlr-object-reactor|vlr-owner-add|vlr-owner-remove|vlr-owners|vlr-pers|vlr-pers-activate|vlr-pers-dictname|vlr-pers-list|vlr-pers-p|vlr-pers-release|vlr-reaction-names|vlr-reaction-set|vlr-reactions|vlr-reactor.getdictkey|vlr-reactors|vlr-remove|vlr-remove-all|vlr-set-notification|vlr-sysvar-reactor|vlr-toolbar-reactor|vlr-trace-reaction|vlr-type|vlr-types|vlr-undo-reactor|vlr-wblock-reactor|vlr-window-reactor|vlr-xref-reactor|vmon|vports|wcmatch|while|write-char|write-line|xdroom|xdsize|xstrcase|zerop)(?=\\]|\\s|\\)|\\()"
},{
"name": "keyword",
"match":"(?<=\\(|\\[|'|\\s|^)(?i:acet-layerp-mode|acet-layerp-mark|acet-ent-geomextents|acet-error-init|acet-error-restore|acet-file-attr|acet-file-chdir|acet-file-copy|acet-file-cwd|acet-file-dir|acet-file-mkdir|acet-file-move|acet-file-remove|acet-file-rmdir|acet-help|acet-help-trap|acet-ini-get|acet-ini-set|acet-reg-del|acet-reg-get|acet-reg-prodkey|acet-reg-put|acet-ss-drag-move|acet-ss-drag-rotate|acet-ss-drag-scale|acet-str-collate|acet-str-equal|acet-str-find|acet-str-format|acet-str-replace|acet-str-wcmatch|acet-sys-beep|acet-sys-command|acet-sys-foreground|acet-sys-keystate|acet-sys-lasterr|acet-sys-procid|acet-sys-sleep|acet-sys-spawn|acet-sys-term|acet-sys-wait|acet-ui-message|acet-ui-pickdir|acet-ui-progress|acet-ui-status|acet-ui-txted|acet-util-ver|Acet:READONLY|Acet:HIDDEN|Acet:SYSTEM|Acet:DIRECTORY|Acet:ARCHIVE|Acet:OK|Acet:OKCANCEL|Acet:ABORTRETRYIGNORE|Acet:YESNOCANCEL|Acet:YESNO|Acet:RETRYCANCEL|Acet:ICONSTOP|Acet:ICONQUESTION|Acet:ICONWARNING|Acet:ICONINFORMATION|Acet:DEFBUTTON1|Acet:DEFBUTTON2|Acet:DEFBUTTON3|Acet:DEFBUTTON4|Acet:IDOK|Acet:IDCANCEL|Acet:IDABORT|Acet:IDRETRY|Acet:IDIGNORE|Acet:IDYES|Acet:IDNO|Acet:IDCLOSE|Acet:IDHELP|_vlisp-version|pause)(?=\\]|\\s|\\)|\\()"
"match":"(?<=\\(|\\[|'|\\s|^)(?i:acet-layerp-mode|acet-layerp-mark|acet-ent-geomextents|acet-error-init|acet-error-restore|acet-file-attr|acet-file-chdir|acet-file-copy|acet-file-cwd|acet-file-dir|acet-file-mkdir|acet-file-move|acet-file-remove|acet-file-rmdir|acet-help|acet-help-trap|acet-ini-get|acet-ini-set|acet-laytrans|acet-ms-to-ps|acet-ps-to-ms|acet-reg-del|acet-reg-get|acet-reg-prodkey|acet-reg-put|acet-ss-drag-move|acet-ss-drag-rotate|acet-ss-drag-scale|acet-str-collate|acet-str-equal|acet-str-find|acet-str-format|acet-str-replace|acet-str-wcmatch|acet-sys-beep|acet-sys-command|acet-sys-foreground|acet-sys-keystate|acet-sys-lasterr|acet-sys-procid|acet-sys-sleep|acet-sys-spawn|acet-sys-term|acet-sys-wait|acet-ui-message|acet-ui-pickdir|acet-ui-progress|acet-ui-status|acet-ui-txted|acet-util-ver|Acet:READONLY|Acet:HIDDEN|Acet:SYSTEM|Acet:DIRECTORY|Acet:ARCHIVE|Acet:OK|Acet:OKCANCEL|Acet:ABORTRETRYIGNORE|Acet:YESNOCANCEL|Acet:YESNO|Acet:RETRYCANCEL|Acet:ICONSTOP|Acet:ICONQUESTION|Acet:ICONWARNING|Acet:ICONINFORMATION|Acet:DEFBUTTON1|Acet:DEFBUTTON2|Acet:DEFBUTTON3|Acet:DEFBUTTON4|Acet:IDOK|Acet:IDCANCEL|Acet:IDABORT|Acet:IDRETRY|Acet:IDIGNORE|Acet:IDYES|Acet:IDNO|Acet:IDCLOSE|Acet:IDHELP|_vlisp-version|pause)(?=\\]|\\s|\\)|\\()"
}
]
}
Expand Down