Page 1 of 1
Search doesn't look in folded text
Posted: Mon Jul 11, 2011 1:24 am
by Rat
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?
Posted: Mon Jul 11, 2011 1:31 am
by jussij
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
Posted: Mon Jul 11, 2011 2:13 am
by Rat
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>
Posted: Mon Jul 11, 2011 3:14 am
by jussij
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
Posted: Mon Jul 11, 2011 4:22 am
by Rat
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>
Posted: Mon Jul 11, 2011 4:27 am
by Rat
Note: It was definitely working with XML after you posted the original CDATA fix.
Posted: Mon Jul 11, 2011 5:12 am
by jussij
Note: It was definitely working with XML after you posted the original CDATA fix.
I think it you are probably seeing an older cached version of the DLL zip file.
The timestamp off the dll file itself should be:
11/07/2011 2:247 PM
That timestamped dll is working for me.
Cheers Jussi
Posted: Mon Jul 11, 2011 11:15 am
by Rat
Yep seems to be working ok on my workstation... must have stuffed up versions on my laptop.... Sorry.
Posted: Thu Jul 14, 2011 12:33 am
by jussij
This issue should now be fixed in the latest beta version 7 found here:
http://www.zeusedit.com/z300/ze397g-beta.zip
Cheers Jussi
Posted: Thu Jul 14, 2011 12:50 am
by Rat
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

.
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;
};
Posted: Mon Jul 18, 2011 1:12 am
by jussij
This issue should now be fixed in the latest version found here:
http://www.zeusedit.com/zforum/viewforum.php?f=6
Cheers Jussi
Posted: Mon Jul 18, 2011 1:49 am
by Rat
Very nice Jussi... works well here. I bet there were a few late nights in that release!
