Hello, @coises and All,
Presently, I think we can summarize how your plugin works, using the table below :
•=========================•=======================•========================================•
| Actions | Scopes | Extents |
•=========================•=======================•========================================•
| | | |
| Count | In Selection | N/A |
| ¯¯¯¯¯ | | |
| •-----------------------•----------------------------------------•
| | | |
| Find All | | Before Caret |
| ¯¯¯¯¯¯¯¯ | | |
| | In Marked Test | After Caret |
| | | |
| Mark | | Everywhere |
| | | |
| | In Whole Document | In Opened Documents |
| | | |
| Replace All | | In Opened Documents of Current View |
| ¯¯¯¯¯¯¯¯¯¯¯ | | |
•-------------------------•-----------------------•----------------------------------------•
| | | |
| | In Selection | N/A |
| | | |
| Select •-----------------------•----------------------------------------•
| | | |
| | In Marked Text | Before Caret |
| | | |
| | | After Caret |
| Show | | |
| | In Whole Document | Everywhere |
| | | |
•-------------------------•-----------------------•----------------------------------------•
| | | |
| Find | In Selection | |
| ¯¯¯¯ | | Backward ( if Plain text ) |
| | In Marked Text | |
| | | |
| Replace | In Whole Document | Forward |
| ¯¯¯¯¯¯¯ | | |
•=========================•=======================•========================================•
The underlined actions are those which have a button, by default
Personally, your concept of a default scope bothers me a little, because it’s hard for me to know, in advance, which actions will be automatically selected by the plugin !
So, I was thinking about a radically different layout :
You entirely suppress the default scope functionality. I suppose this will affect the Selection section in the settings !
You does not show any symbol on all the buttons, nor use any drop-down list
You just show six one-letter buttons and two one-letter button for the replace actions, as below :
|F| |C| |A| |S| |M| |H| : Find Count find All Select Mark sHow
|R| |A| Replace replace All
All these simple buttons would open a new common dialog, where the chosen action would be checked by default. This dialogue could be based on the table shown above !
Then, you’ll just have to confirm your present scope and extent choices for the chosen action
Optionally a message, summarizing everything that has just been selected, could be displayed
Then, this new dialog would end with three buttons :
A Define button to simply attribute a default configuration ( scope and extent ) for the chosen action
A Define and Run button to attribute a default configuration for the chosen action and start this action
And, of course, a Cancel button to dismiss the chosen action
In other words, no more drop-down menus ! Instead, a new configuration dialog to confirm the scope and extent of the chosen action and possibly run it, in one go !
There are surely some drawbacks to my proposal ! Anyway, what’s your feeling about this radical change ?
Best Regards,
guy038