Search doesn't look in folded text
Search doesn't look in folded text
I'm not sure if this is the intended functionality or if its a setting that can be changed, but currently Zeus ignores (almost all) folded text when conducting searches?
I am not seeing this. For example consider this code:
Closing the fold point and then searching for the FindMe text results in the fold being opened and FindMe being highlighted.
Cheers Jussi
Code: Select all
public SomeCode()
{
FindMe();
}
Cheers Jussi
Try collapsing all of the folds in the following HTML code example and then searching for "SomeText"...
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Search Test</title>
<script type="text/javascript">
<!--
var SomeText
-->
</script>
</head>
<body>
Search Test
</body>
</html>
Thanks for the bug report, I can now replicate this issue 
Cheers Jussi
PS: I noticed from your sample piece of code that the last change to the XML folder has broken the folding of XML block comments
I have uploaded a new xFolder this fixes this: http://www.zeusedit.com/z300/xFolder.zip

Cheers Jussi
PS: I noticed from your sample piece of code that the last change to the XML folder has broken the folding of XML block comments

I have uploaded a new xFolder this fixes this: http://www.zeusedit.com/z300/xFolder.zip
Hmmm... XML folding seems to be broken still. See example below:
Code: Select all
<marker name="Marker 2">
<information><![CDATA[<div>Some Test Text</div>]]></information>
</marker>
This issue should now be fixed in the latest beta version 7 found here: http://www.zeusedit.com/z300/ze397g-beta.zip
Cheers Jussi
Cheers Jussi
Hi Jussi,
If you fully collapse the following JavaScript code fragment and then do a case-sensitive whole word search for "SomeText" the program will find the word but won't open the folds enough to properly select it
.
If you fully collapse the following JavaScript code fragment and then do a case-sensitive whole word search for "SomeText" the program will find the word but won't open the folds enough to properly select it

Code: Select all
/**
This is a comment
This is a comment
This is a comment
SomeText
This is a comment
This is a comment
This is a comment
*/
AnObject = function()
{
this.Property1 = 0;
/**
This is a comment
This is a comment
This is a comment
SomeText
This is a comment
This is a comment
This is a comment
*/
this.Function1 = function()
{
try
{
this.Property2 = 0;
return true;
}
catch (e) {}
return false;
};
if (this.Function1()) {return this;}
return null;
};
This issue should now be fixed in the latest version found here: http://www.zeusedit.com/zforum/viewforum.php?f=6
Cheers Jussi
Cheers Jussi
Last edited by jussij on Tue Sep 20, 2011 12:35 am, edited 1 time in total.