View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009988 | Scribus | General | public | 2011-05-13 08:26 | 2016-01-20 01:45 |
Reporter | DooFi | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | new | Resolution | open | ||
OS | Windows XP | ||||
Product Version | 1.4.0svn | ||||
Summary | 0009988: Search and replace doesn't ignore soft hyphens | ||||
Description | My entire text is riddled with soft hyphens, so search and replace is pretty much useless to me. | ||||
Steps To Reproduce | type "Schutt" press ctrl+shift+- type "haufen" see "Schutthaufen" search for "Schutthaufen" find nothing | ||||
Tags | patch | ||||
Patch | Yes | ||||
related to | 0007871 | assigned | cbradney | Very strange behavior of spell checker if text is hyphenated |
related to | 0002635 | closed | Special characters, when copied to search dialog and searched, are not found in the text | |
has duplicate | 0012566 | closed | jghali | Search & Replace of words containing soft hyphens |
child of | 0012755 | new | Metabug: Search & Replace (1.5.x svn) |
|
search-softhyp.patch (630 bytes)
Index: Scribus/scribus/search.cpp =================================================================== --- Scribus/scribus/search.cpp (wersja 16619) +++ Scribus/scribus/search.cpp (kopia robocza) @@ -407,6 +409,8 @@ if (SText->isChecked()) { QString chstr = Item->itemText.text(a,1); + if (chstr == SpecialChars::SHYPHEN) + continue; if (CaseIgnore->isChecked()) chstr = chstr.toLower(); found = chstr == sText.mid(inde, 1) ? true : false; |
|
I upload small patch for fix that situation. Not perfect because founded text is selected after SoftHypheen special char, not from start of searched text. Searching is little complicated routine in Scribus and I dont understand well what is happen there. Someone could fix selection issue later. |
|
see also 0007871: Very strange behavior of spell checker if text is hyphenated |
Date Modified | Username | Field | Change |
---|---|---|---|
2011-05-13 08:26 | DooFi | New Issue | |
2011-05-16 12:59 | cezaryece | File Added: search-softhyp.patch | |
2011-05-16 13:01 | cezaryece | Note Added: 0026210 | |
2014-06-10 06:42 | JLuc | Tag Attached: patch | |
2014-06-10 06:45 | JLuc | Note Added: 0032060 | |
2014-07-28 15:41 | jghali | Relationship added | has duplicate 0012566 |
2014-10-08 00:08 | Kunda | Relationship added | child of 0012755 |
2016-01-20 01:38 | Kunda | Patch | => Yes |
2016-01-20 01:41 | Kunda | Relationship added | related to 0007871 |
2016-01-20 01:45 | Kunda | Relationship added | related to 0002635 |