Page 1 of 2

OT: Multiedit

Posted: Mon Nov 26, 2007 9:51 am
by Otto
Does someone know where to setup:
File specification and Starting path in the search window?
Thanks in advance
Otto

Image

Posted: Mon Nov 26, 2007 11:51 am
by Eugeniusz Owsiak
Otto.

Tools->Customize->Search->File Find->Starting Path

regards Eugeniusz

Posted: Mon Nov 26, 2007 12:11 pm
by Antonio Linares
Otto,

I recommend you to review UEStudio:
http://www.ultraedit.com/index.php?name=Content&pid=150

I was a multiedit user until I found UEStudio. It is excellent and very friendly :-)

Posted: Mon Nov 26, 2007 1:38 pm
by Otto
Thank you Eugeniuzs. I never found this setup-window.
Thanks again.

@Antonio
I tried ultraedit but at the moment I don't see any adantage for me.
I use ME since the DOS-version ...

Editor

Posted: Mon Nov 26, 2007 4:53 pm
by TimStone
Antonio,

I also use Multi-Edit. With the xBase add on that is included, it does a great job with .prg files ( and virtually anything else ). It also has an included file compare ( line by line ) utility that is excellent. Formatting is important, and it works well.

I have also used it since the DOS version and have looked at ( and tried ) other editors, but none provide a reason to switch.

Tim

Posted: Mon Nov 26, 2007 5:19 pm
by Otto
Hello Tim,
thank you for your answer.
Last Sunday I spend some time on the macro possibilities ME has and I tried to find out how ME does the editing of TAGs in htm view.
Do you think this could be done with prg-files, too?

Another question:
Many times I have to convert data from other formats to dbf. It would be fine if you could go from column to column and press a key and a macro would write the position to the place (see example: Pos1 18, Pos2 27 …). Sometimes clients have databases with more than 100 columns. Then you could extract this line and you could create very easy a dbf-structure programmatically.
Do you think this could work?

1 19940226 45023 Sehr geehrter Herr Herrn Liebmann
Pos1 18 Pos2 27 Pos3 43 Pos4 74 Pos5 91
1** 19930212 123 Liebe Familie Familie Adebahr
A 19950313 6057HR Sehr geehrte Damen und Herren Firma Alpine May
FXA 20060603 111596 Sehr geehrter Herr Herrn Fischer
M 19950603 63874 Sehr geehrter Herr Herrn Aber

Regards,
Otto

Macros

Posted: Mon Nov 26, 2007 7:41 pm
by TimStone
Thats probably a post that would get answers on the Multi-Edit forum. They have a whole section on Macros. I only use the keystroke Macro recorder which is not working in Vista ... but they are trying to fix it.

Go to www.multiedit.com and under support look at the forum. There is a section for Macros and I'll bet you will get an immediate reply on how to handle that issue.

Tim

Posted: Mon Nov 26, 2007 7:53 pm
by Otto
Thank you, Tim. I post this question on the ME forum.
Regards,
Otto

Ultra Edit questions

Posted: Tue Nov 27, 2007 1:57 am
by TimStone
Antonio,

I found your list for highlighting, reserved words and that works ( I'm taking another look at UE ).

Here are a couple of questions:

1) Multi-Edit has a nice Comment capability that allows us to display a recorded macro for placing a comment table above a function. Does UE have a similar capability ?

2) I noticed the FUNCTION list. However, the only functions it adds are those in the format FUNCTION abc( ) and if the ( ) is not included, it doesn't show it on the list. I did a cut and paste of your list from another thread ( for the word file ). Is there a way to get it to recognise FUNCTION abc ?

Tim

Posted: Tue Nov 27, 2007 9:13 am
by Antonio Linares
Tim,

1) UEStudio has macros support but I have never used them :-)

2) Add this to wordlist.txt:
/Function String 4 = "%*^{Function^}^{Method^}*"

Notice that there is no a ( at the end

Posted: Tue Nov 27, 2007 4:18 pm
by James Bott
Tim

>1) Multi-Edit has a nice Comment capability that allows us to display a recorded macro for placing a comment table above a function. Does UE have a similar capability ?

Yes, UE has macros and templates. You can define a section of text and insert it. I use this to insert a complete header to each PRG with date and time automatically inserted. I also have another template that inserts a basic report, then I just modify to suit.

There is another program, Texter, that does a similar thing, but with all applications. You define a few characters that trigger a replacement when you press Tab. You can use to to insert date and time, a word, or even whole paragraphs. I find it really useful. It is free. Check it out here:

http://lifehacker.com/software//lifehac ... 238306.php

James

Macro

Posted: Tue Nov 27, 2007 4:57 pm
by TimStone
I guess I would need to study the Macro routine in UE. I can click on a function and it builds the header with the name, defined fields, date of revision, etc. It used to update nicely but that has not been working recently. Vista did throw ME some curves.

They advertised multiple monitor support but its not documented and apparently doesn't let me move documents outside of the window to another monitor. This is one thing nice about Word ... you can open two documents, put one on the other monitor, and compare text. I am enjoying the use of more screen "real estate". That is truly a nice feature I started using in Vista.

Posted: Tue Nov 27, 2007 5:35 pm
by James Bott
Tim,

>I guess I would need to study the Macro routine in UE. I can click on a function and it builds the header with the name, defined fields, date of revision, etc. It used to update nicely but that has not been working recently. Vista did throw ME some curves.

I don't think it will do what you describe. What do you mean by "defined fields" and "date of revision?" Do you mean a list of vars used? Revision date of the PRG or of the function inside the PRG?

Since I always declare all vars used in a fuction or method as locals, that is already documented for me. And the last revision is the file date so I don't need that either. I document most of my changes to an existing PRG at the top of the PRG in a header there and I can auto-insert the current date and time with a UE macro or Texter.

>They advertised multiple monitor support but its not documented and apparently doesn't let me move documents outside of the window to another monitor. This is one thing nice about Word ... you can open two documents, put one on the other monitor, and compare text. I am enjoying the use of more screen "real estate". That is truly a nice feature I started using in Vista.

Hmm, do you mean opening different MDI child windows on different monitors? Can't you just run multiple copies of the editor?

Ultra Edit / Multi Edit

Posted: Tue Nov 27, 2007 9:29 pm
by TimStone
To be clearer:

I have a Comment button that runs a macro / template that inserts a header at the highlighted Function or at the top of the PRG ( or Class, or Procedure, or Method ). It is part of Evolve which comes with Multi - Edit. It puts in the Function name automatically ( or the file name at the top of the PRG ), a title Description: ( and prompts for the detail ), the date ( which updates if you click on the function line again ), the calling routine ( prompts for the details ), any parameters ( listed ), the return value , and you can add more ( like notes ), etc. The format is user modifyable. I looked at Ultra Edit and it doesn't have the same range of values that can be automatically inserted. It does name of a file, date, and some other information, but most of what this includes is not apparently retrieveable in Ultra Edit.

I'm still looking at it ... some features are nice, but its actually forcing me to look more closely at what I can do in Multi-Edit.

Tim

Posted: Wed Nov 28, 2007 5:02 am
by James Bott
Tim,

>I have a Comment button that runs a macro...

It sounds very powerful. For me, I find UE's templates adequate for my needs.

James