Find and Replace Search Direction defaults to down
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | mousepad |
Confirmed
|
Medium
|
||
| | xubuntu-default-settings (Ubuntu) |
Undecided
|
Sean Davis | ||
Bug Description
In a text file when using search and replace, search direction is set to Down by default.
That assumes that you've started search at file beginning.
Especially in a longer text file you might well start somewhere other than the start.
Changing default search to Both makes more sense when searching somewhere other than the start or end - a more likely scenario.
Related branches
| Ubuntu QA Website (ubuntuqa) wrote : | #1 |
This bug has been reported on the Ubuntu Package testing tracker.
A list of all reports related to this bug can be found here:
http://
| tags: | added: package-qa-testing |
| Changed in mousepad: | |
| importance: | Unknown → Medium |
| status: | Unknown → Confirmed |
|
|
#3 |
IMHO this "Both" option is confusing, a additional option like "Wrap search" or "Wrap around" is much more sane (and is the way pretty much text editors handle this).
Also, when the "Replace all in:" option is active, "Search direction" is
useless and could deactivated.
|
|
#4 |
@Andre: From what I've tested "both" just wraps the search after searching "down" is done.
|
|
#5 |
Yeah, I know, what I mean is that "Both" as a search direction is strange, how can a search be done up and down? Instead it just goes down and then wraps to the beginning.
|
|
#6 |
So basically you're saying that the string is misleading? I guess we should check how this option is named in other editors.
|
|
#7 |
Yep, it's confusing.
As I stated in comment #1, this would be a case to create another option(chechbox) for Wrap Search.
| Pasi Lallinaho (knome) wrote : | #8 |
Fixed in Xubuntu in xubuntu-
| Changed in mousepad (Ubuntu): | |
| status: | New → Fix Released |
| assignee: | nobody → Sean Davis (bluesabre) |
| affects: | mousepad (Ubuntu) → xubuntu-default-settings (Ubuntu) |


In a text file when using search and replace, search direction is set to Down by default.
That assumes that you've started search at file beginning.
Especially in a longer text file you might well start somewhere other than the start.
Changing default search to Both makes more sense when searching somewhere other than the start or end - a more likely scenario.