Jump to content
JonRobertson

Uses clause: List of unit names forming a group

Recommended Posts

Are wildcards supported in () groups? Is this list valid for MMX?

Winapi;System.Win;System;Data;Vcl;(hyie*,ie*,imageen*);pp*;Rz*;ra*;vcl.ww*

Ctrl-Alt-U is moving (hyie*,ie*,imageen*) below everything in the list. My expectation is that my () group is invalid and MMX is ignoring it. Before:

uses
  Winapi.Windows,
  System.Classes, System.Generics.Collections, System.ImageList, System.SysUtils,
  Data.Win.ADODB,
  Vcl.ActnPopup, Vcl.BaseImageCollection, Vcl.Buttons, Vcl.Controls, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Forms, Vcl.Graphics,
  Vcl.ImgList, Vcl.Menus, Vcl.PlatformDefaultStyleActnCtrls, Vcl.StdCtrls, Vcl.OleServer, Vcl.VirtualImageList,
  hyiedefs, hyieutils, iemio, iemview, ieview, iesettings, iexBitmaps, iexLayers, iexProcEffects, iexRulers,
  iexToolbars, iexUserInteractions, imageenio, imageenproc, imageenview,
  RzButton, RzCmboBx, RzLabel, RzPanel, RzSplit, RzShellDialogs,
  SVGIconImageCollection, SVGIconImageListBase, SVGIconVirtualImageList,
  OutlookXP, uAisDocument, uUserSettings, udmResources, udmDocResources;

After:

uses
  Winapi.Windows,
  System.Classes, System.Generics.Collections, System.ImageList, System.SysUtils,
  Data.Win.ADODB,
  Vcl.ActnPopup, Vcl.BaseImageCollection, Vcl.Buttons, Vcl.Controls, Vcl.Dialogs, Vcl.ExtCtrls, Vcl.Forms, Vcl.Graphics,
  Vcl.ImgList, Vcl.Menus, Vcl.PlatformDefaultStyleActnCtrls, Vcl.StdCtrls, Vcl.OleServer, Vcl.VirtualImageList,
  RzButton, RzCmboBx, RzLabel, RzPanel, RzSplit, RzShellDialogs,
  hyiedefs, hyieutils, iemio, iemview, ieview, iesettings, iexBitmaps, iexLayers, iexProcEffects, iexRulers,
  iexToolbars, iexUserInteractions, imageenio, imageenproc, imageenview, SVGIconImageCollection, SVGIconImageListBase,
  SVGIconVirtualImageList, OutlookXP, uAisDocument, uUserSettings, udmResources, udmDocResources;

 

Share this post


Link to post
1 hour ago, JonRobertson said:

Are wildcards supported in () groups?

Not yet.

 

1 hour ago, JonRobertson said:

My expectation is that my () group is invalid and MMX is ignoring it.

It is. All units not matching a group are placed after the grouped units.

  • Thanks 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×