Click to See Complete Forum and Search --> : PHP editor with multi-line search feature?


Gary King
11-08-2004, 07:19 PM
I'm looking for a(n excellent) PHP editor that also has multi-line search feature, so I can search for more than one line instead of only one line (this feature is a must!)

Any suggestions? :) Also of course the editor has to be excellent overall as well :)

jazz_snob
11-10-2004, 02:22 AM
OK, I dig jEdit but have never done a search like your asking for, so I just tried it. CTRL-F brings up the search dialog, i typed in 'function' as the search word and choose 'search all buffers' and it poped up a dialog showing each occurence of 'function' in each buffer WAY COOL :cool: , including line # on which it occurs and you just click on the one you want and your whisked away to that line in that buffer!

I use jEdit for everything: PHP, HTML, java, XML, etc... ( specifically I use jEdit version 4.1; I'd tried a later version but didn't like the way they moved some stuff around ).

Try jEdit. Its free. Its x-platform. Its low-carb.

-Tom.

Shrike
11-10-2004, 06:57 AM
I know Textpad can do it. Any editor with a decent regexp parser will be able to do it.

planetsim
11-10-2004, 07:00 AM
And you couldnt find one in this http://phpbuilder.com/board/showthread.php?s=&threadid=10209798

Gary King
11-10-2004, 11:56 PM
Originally posted by planetsim
And you couldnt find one in this http://phpbuilder.com/board/showthread.php?s=&threadid=10209798

too long a thread

Also, jEdit does not have a multiple line search. You can only search for one line

planetsim
11-11-2004, 12:11 AM
The reason its long is to stop these type of threads. Maybe there should be a search within the thread ;)

jazz_snob
11-11-2004, 01:17 AM
Originally posted by Gary W
too long a thread

Also, jEdit does not have a multiple line search. You can only search for one line

I must have misunderstood your question...this (http://dev.flat5software.com/search_screen_shot.html) isn't multiple line search? Or did you mean search for a multiple of key words at once?

Gary King
11-11-2004, 04:54 PM
Originally posted by jazz_snob
I must have misunderstood your question...this (http://dev.flat5software.com/search_screen_shot.html) isn't multiple line search? Or did you mean search for a multiple of key words at once?

I mean, being able to search for something like the following:

<?php

print 'I want to search ALL of these lines in one search';

exit;

?>

in the open document

Weedpacket
11-11-2004, 05:25 PM
I use a now-extinct program that allows C escape sequences to specify newline characters. HTML-Kit (http://www.phpbuilder.com/board/showthread.php?s=&postid=10222977#post10222977) can do that as well.

Gary King
11-11-2004, 05:45 PM
I want it to work so that I can simply copy and paste multiple lines from a location and paste it into a search box in the editor.

pohopo
11-11-2004, 08:51 PM
i am not sure why the feature is a must. i used to use homesite where you could do this, but i rarely ever had to use this feature.

Weedpacket
11-11-2004, 10:24 PM
That extinct program (http://www.lancs.ac.uk/people/cpaap/pfe/) I had could be used in this way; I scarcely ever did, however (for one thing, if I've already selected it, I already know where it is).

You can see from the page - a closed source project that the developer had to abandon.

Gary King
11-11-2004, 11:11 PM
I'm sorry but I won't be using outdated/unsupported software, I don't feel right since it's not up-to-date :(

The feature I'm talking about, can be found in Dreamweaver MX 2004, but that I don't like Dreamweaver so I'm looking for alternatives.

goldbug
11-12-2004, 09:55 AM
Well, unless you're too lazy to use the functionality, many popular editors feature the ability to search using regular expressions--with which you can specify newlines (as well as more advanced matching parameters that a simple newline-ignoring simple text search would ignore)

I personally use Jedit (mentioned above), and sometimes Quanta. UltraEdit as well has a very decent regex search ability.

Weedpacket
11-13-2004, 02:33 AM
Originally posted by Gary W
I don't feel right since it's not up-to-date :( ROFL! That's got to be one of the best arguments against a text editor I've ever heard!

ED IS THE STANDARD TEXT EDITOR!
And if you don't get that joke, go over to the thread you've already been directed to, and follow up on what people have been saying about text editors. Maybe continue the discussion there. Sheesh; is that so difficult?