multiple line search / filter explorer view / word swap

multiple line search / filter explorer view / word swap

11
Basic UserBasic User
11

    Dec 05, 2006#1

    I bought UE.

    I can't find some things:

    a) How to find multiple lines of text?
    b) How to filter the explorer window for only .txt messages and other filters?
    c) Is there a word swap function?

    Thanks in advance for any help.

    Ganda

    6,683583
    Grand MasterGrand Master
    6,683583

      Dec 05, 2006#2

      1. Use forum search - there is a big thread which explains how to find/replace multiple lines.
      2. Mark in the File Tree View a drive letter. Then press secondary (normally right) mouse button to open the context menu and click on "Set Filter". The file filter can be specified only on the drives, not on the subdirectories. The Browser button in the File Filter dialog will show you 2 predefined filters and and you you can edit/modify the filter list too.
      3. No. Create a macro for it with a macro hot key if you often need word swapping. Simply record a manual word swap. Save the macro in a macro file which you specify as being auto-loaded at every start of UltraEdit.
      Best regards from an UC/UE/UES for Windows user from Austria

      11
      Basic UserBasic User
      11

        Dec 05, 2006#3

        Thank you Mofi.

        a) ok.
        b) thank you. it works.
        c) I've tried to create a macro but the macro does not do what I want to do.

        Ganda

        206
        MasterMaster
        206

          Dec 05, 2006#4

          c) I've tried to create a macro but the macro does not do what I want to do.
          You need to explain exactly what you want to do.
          Software For Metalworking
          http://closetolerancesoftware.com

          11
          Basic UserBasic User
          11

            Dec 05, 2006#5

            I would like to click within a word and swap that word with the word right of it. It is a beautiful option in boxer text editor.
            I often swap words when I write texts

            6,683583
            Grand MasterGrand Master
            6,683583

              Dec 06, 2006#6

              Here is an example your swap words feature could be done with a macro:

              InsertMode
              ColumnModeOff
              HexOff
              Clipboard 7
              ClearClipboard
              StartSelect
              SelectWord
              Cut
              EndSelect
              IfCharIs 32
              Key DEL
              Key Ctrl+RIGHT ARROW
              Paste
              " "
              Else
              Paste
              EndIf
              ClearClipboard
              Clipboard 0
              Best regards from an UC/UE/UES for Windows user from Austria

              11
              Basic UserBasic User
              11

                Dec 06, 2006#7

                yes!!
                thank you very much Mofi.

                Is it not possible in UE to autoload 2 macros on startup?

                Thanks again for your help.

                6,683583
                Grand MasterGrand Master
                6,683583

                  Dec 06, 2006#8

                  At Macro - Set Auto Load you can specify to load a macro file. A macro file can contain more than 1 macro. Every macro recorded is appended to the existing macros from currently loaded macro file.

                  If you already have 2 macro files with 1 macro in each file. Load the first macro file, then use Macro - Load and Append to Existing and save the macro file which now contains 2 macros. Specify this macro file as being automatically load.

                  See also my first post at Help with macro creating how to create a new macro with macro code posted in the forums.

                  Please note:
                  For quick usage Macro - Quick Record can be used. But a quick recorded macro does not have a macro name and it is not allowed to have 2 macros in a macro file with identical macro name. So quick recorded macros should be always renamed with Macro - Delete Macro/Modify Properties before saving the macros into a macro file.

                  If you have 2 macro files with 1 quick recorded macro in each file, rename the first macro before appending the second macro file and then rename also the second macro. This is important for the macro list view - see View - Views/Lists - Macro List.

                  Bego has written about the PlayMacro macro command for running several macros from within a macro. I think you don't need this here. Bego misunderstood your problem.

                  At Macro - Set Auto Load you can also specify to automatically run 1 of the macros in the macro file once on all opened files specified on the command line when UltraEdit is started. That's what Bego is talking about.
                  Best regards from an UC/UE/UES for Windows user from Austria