mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-15 09:54:38 +02:00
parent
3373756afb
commit
edfd2b8a95
@ -3619,8 +3619,9 @@ void Finder::wrapLongLinesToggle()
|
|||||||
|
|
||||||
bool Finder::isLineActualSearchResult(const generic_string & s) const
|
bool Finder::isLineActualSearchResult(const generic_string & s) const
|
||||||
{
|
{
|
||||||
const auto firstColon = s.find(TEXT("\tLine "));
|
// actual-search-result lines are the only type that start with a tab character
|
||||||
return (firstColon == 0);
|
// sample: "\tLine 123: xxxxxxHITxxxxxx"
|
||||||
|
return (s.find(TEXT("\t")) == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
generic_string & Finder::prepareStringForClipboard(generic_string & s) const
|
generic_string & Finder::prepareStringForClipboard(generic_string & s) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user