Go Back   FlashFXP Forums > >

General Discussion Need help? Have a problem? Let us help you. Bug reports and feature requests should be made using the Bug Tracker or Feature Tracker

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 10-03-2015, 02:53 PM   #1
andreas
Senior Member
FlashFXP Beta Tester
 
Join Date: Jul 2002
Posts: 484
Default Feature Request: Optimize find dialog

I think that "Find" dialog (ctrl+F) is forgotten in the past!
You can add some additional features like:

Find previous (please!!! I have to search from the beginning each time I accidentally press next! )

Save Results: Everything that matches the search query can be saved in a txt for future usage.

Missing Icon on top left corner (I don't know if it should have)

Search files / directories only option

Show only results to ftp window: Hide non matching files or directories from the ftp window.

You might like some of them
andreas is offline  
Old 10-04-2015, 09:39 AM   #2
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Quote:
Originally Posted by andreas View Post
I think that "Find" dialog (ctrl+F) is forgotten in the past!
You can add some additional features like:

Find previous (please!!! I have to search from the beginning each time I accidentally press next! )
Since the current behavior is to select each match on find, how exactly would this work? Would it un-select the current match and then jump to the previous match? I am not sure if there is a keyboard shortcut available for this operation, as most of them are used.

Quote:
Save Results:Everything that matches the search query can be saved in a txt for future usage.
Do you mean the search query text, like a drop-down box allowing you to select a previous search instead of having to re-enter it?

Quote:
Missing Icon on top left corner (I don't know if it should have)
This is by design.

Quote:
Search files / directories only option
This can be added.

Quote:
Show only results to ftp window Hide non matching files or directories from the ftp window.
I am not sure if this would fit in well with the intended behavior of the find feature. Since with find you find one and maybe the next.

Where-as hiding all non-matches is more of a one shot deal.

There might be another way for us to add a similar feature via a raw command macro, we already have a /hide <pattern> macro that hides items matching the pattern, we could add a way to invert the logic to hide non-matches.
bigstar is offline  
Old 10-04-2015, 10:24 AM   #3
andreas
Senior Member
FlashFXP Beta Tester
 
Join Date: Jul 2002
Posts: 484
Default

Find previous: Yes, probably it can un-select the last one. The important feature is to focusthe window to the correct position. For example:
I have a directory listing with 2000 items. I search a word, and it match the 1st, 10th and 1000 item.
Each time I press Search the last item in the window focus on the next match.

To go back I have to search manually, and move from 1000th to 100th item.
And this can be escalate really fast & bad

Preferences > Interface > Color Probably here you can allow users to set a more intense color for search matches

Quote:
Originally Posted by bigstar View Post
Do you mean the search query text, like a drop-down box allowing you to select a previous search instead of having to re-enter it?
A short history of last 10 queries would be great.
It would be even better if all there are also encrypted (like sites.dat)


What I actually mean:
I make a search, I press F3 until I match all.
Can I get a list (plaintext) with all matches?
andreas is offline  
Old 10-06-2015, 10:11 AM   #4
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Quote:
Find Previous: Yes, probably it can un-select the last one. The important feature is to focusthe window to the correct position.
Due to the way the find feature works, I've run into some unexpected difficulties adding this feature. As a result this will take longer than expected to add.

Quote:
color for search matches
The only problem with this is that it would also need setting to turn the feature on/off.

Quote:
A short history of last 10 queries would be great.
It would be even better if all there are also encrypted (like sites.dat)
A history could be added but it would not be encrypted, since it would have to be stored in the FlashFXP.ini

Quote:
I make a search, I press F3 until I match all.
Can I get a list (plaintext) with all matches?
I think this might be a very specific feature and I am not sure how many users would need/benefit from having this directly.

You could perhaps do this via a raw script after you select all matches using the /writeln command
Code:
/writeln "c:\selected.txt" %f
c:\selected.txt would contain a list of the selected file names.
bigstar is offline  
Old 10-12-2015, 07:57 AM   #5
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

I added Ctrl+F3 to find previous, please give it a try and let me know how it works for you.

Also I added a way to colorize the results of a find, but its a bit more involved than simply setting the color.
From the main menu > Options > Filters > Highlights
Make sure Highlights are enabled, there's a checkbox below the list.
Now Add a new mask @find@ and give it the desired color.

The special @find@ mask is defined internally and maps to the text entered in the find dialog highlighting your matches.
bigstar is offline  
Old 10-12-2015, 08:04 AM   #6
andreas
Senior Member
FlashFXP Beta Tester
 
Join Date: Jul 2002
Posts: 484
Default

It works, but it marks the text instead of the background
andreas is offline  
Old 10-12-2015, 01:35 PM   #7
bigstar
FlashFXP Developer
FlashFXP Administrator
ioFTPD Beta Tester
 
bigstar's Avatar
 
Join Date: Oct 2001
Posts: 8,012
Default

Quote:
Originally Posted by andreas View Post
It works, but it marks the text instead of the background
Yes this is correct.

There are some limitations with using custom item background colors, specifically the custom background color is lost when the item is selected. Only non-selected items support a custom background color.

In the past I spent many hours trying to solve this but was not able to work around it.

It is my understanding that the problem is caused by windows themes and to solve it the entire content must be custom drawn, which creates new and perhaps even more complex problems.
bigstar is offline  
Closed Thread

Tags
ftp, search, find, files, directories, window, dialog, missing, future, icon

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:28 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)