Only shows lines with "xyz"...

Only shows lines with "xyz"...

5
NewbieNewbie
5

    Sep 19, 2005#1

    This is a feature that I'm dreaming with....

    I only want to shows lines in my file that have the number "X" in the selected column...
    (For others columns sum proposes)

    Is that any kind possible??

    Thanks!!

    (Congratz for UltraEdit, r0x alot...)

      Sep 19, 2005#2

      That is what i wanted:

      Find: %06022*^p
      Replace: nothing
      (Don't forget to check the Regular Expressions in Find window)

      Not exactly what I wanted, but solves the problem pretty good... ;)


      Now another question... is there any how put the command "Sum Columns/Selection" in Toolbar?

      Because I couldn't find... :(

      Thanks again!

      6,682583
      Grand MasterGrand Master
      6,682583

        Add any menu item to toolbar

        Sep 20, 2005#3

        This article is for UltraEdit 11.xx !!!

        For all users who want to add any menu item to toolbar.

        First use the Manage Toolbar Configurations dialog to save the current toolbar as new one. "Advanced" and "Basic" are standard toolbars, which can be automatically modified during an update of UltraEdit. So it's always a good advice to save a modified personal toolbar with a different name, for example "MyToolbar" or "Personal".

        The toolbars are stored as ASCII files with DOS line termination with the extension *.tfg in the directory of the ini-file. The name of the file is the name you specified in the manage toolbar configurations dialog. The menus are stored in files with the extension *.mfg. UltraEdit always creates a copy of the current used menu and toolbar files. The name of this files are "ini-name.mnu" for the menu and "ini-name.tbr". For default uedit32.ini you can find the files:

        Advanced.mfg, Advanced.tfg, Basic.mfg, Basic.tfg, Uedit32.mnu, Uedit32.tbr

        Where is the ini-file? Look at topic "INI File Selection and Advanced Settings" in the help of UltraEdit. Each ini-file has it's on set of menu and toolbar files!

        Next you can modify the toolbar with the Customize Toolbar dialog.

        But there are some menu items, which are not available in the customize toolbar dialog! No problem.

        Open now the currently used menu file, for example Advanced.mfg. You will see easily, how this file is structured. Now search for the menu item you want. For LeoDiniz question it is "&Sum Columns/Selection". At this line, look for the program internal ID name for this function.

        Now open also your toolbar file, for example MyToolbar.tfg. Goto the line, where you want to insert the function. The ID names are clear enough for understanding. Copy the line and paste it at correct position and replace the ID name by the name of the function you want. For LeoDiniz it is ID_SUMCOLUMNS and save the modified toolbar.

        Close UltraEdit and start again. UltraEdit will detected that MyToolbar.tfg is not identical to Uedit32.tbr and will copy MyToolbar.tfg to Uedit32.tbr and now the function you want is present in your toolbar.

        You can do this for all functions which have an ID in the menu, but functions without an icon in the menu will also have no icon in the toolbar!
        Best regards from an UC/UE/UES for Windows user from Austria