jgodfrey: -------------------------------------------------------------------------------- Wrapped searching appears to be broken in 2221/2222 when the matched term is not found within the first visible screen of text at the top of the document. To see the problem...--------------------------------------------------------------------------------
Here's an even simpler way to see the problem... - Create a document containing 30 or 40 lines of garbage (enough to fill more than a single screen of info in PSPad). - Now, add a specific string to search for near the bottom of your document (below the first screen of info), and make sure it's the only occurrance of the string in the document. - Next, reset you're view to the top of the document, and click on line #1 to anchor the cursor. - Now, press Ctrl+F to open the Find dialog, enter your search string, and press Enter - The string should be found correctly - Now, press F3 to find the next occurrance In this case, PSPad returns to the top of the document, and just beeps, but doesn't find the next (actually, the same) occurrance. Additional presses of F3 just cause a beep. - Now, place a 2nd copy of the same search term near the bottom of the document (a few lines from the original one, but again - below the first screen of info). - Return to line #1, and try the search again. In this case, the first search finds the first term, pressing F3 finds the second term, pressing F3 a 2nd time returns the view to the top without highlighting the first match, and pressing F3 a 3rd time, finds the 2nd match. The first match will always be "skipped" in this case. Oh wait... I see what's going on. When the search wraps, PSPad *is* finding the first match, it's just not shifting the view to make it visible. From the 2nd match on, the view is properly shifted. Hopefully, this is easily fixed and it's quite misleading... Thanks, Jeff -- <http://forum.pspad.com/read.php?6,30004,30145> PSPad freeware editor http://www.pspad.com
