[prev in list] [next in list] [prev in thread] [next in thread]
List: quanta-devel
Subject: [quanta-devel] Bug - Find & Replace
From: Matthew Millar <mattmill30 () hotmail ! com>
Date: 2010-02-01 1:56:22
Message-ID: SNT116-W570A6D901286BBCBE7D45AC4580 () phx ! gbl
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Hi,
I'm currently using quanta3, and i noticed a bug in how quanta handles string find & \
replace.
I'm aware that quanta3 is no-longer under active development, but i just wanted to \
report the bug incase it's been integrated into quanta4.
If i search for a character/string, quanta locates one, however it then performs the \
replacement based upon the exact locate/range that the text resides in the document.
For example:
Document:
<html>
<body>
<p id="1">hello<br>my name is matthew</p>
<body>
</html>
If Find/Replace <br> with <br /> and "Prompt on replace" is set, the find engine \
locates <br>, memorises its exact location within the document and then waits until \
the replace button is clicked.
However, if after its found <br> but before i click replace, i then remove id="1" \
from the <p> element, upon clicking replace, the document would look like the \
following:
<html>
<body>
<p>hello<br>my <br /> is matthew</p>
</body>
</html>
Because quanta simply replaces the space that <br> resided in, rather than marking \
the located <br> and then replacing the marked <br>, if the location of <br> moves, \
quanta replaces the wrong characters.
I'm not very good at explaining myself, so i've attached screen shots.
Thanks,
Matthew Millar
_________________________________________________________________
Tell us your greatest, weirdest and funniest Hotmail stories
http://clk.atdmt.com/UKM/go/195013117/direct/01/
[Attachment #5 (text/html)]
<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<BR><BR>I'm currently using quanta3, and i noticed a bug in how quanta handles \
string find & replace.<BR><BR>I'm aware that quanta3 is no-longer under active \
development, but i just wanted to report the bug incase it's been integrated into \
quanta4.<BR><BR>If i search for a character/string, quanta locates one, however it \
then performs the replacement based upon the exact locate/range that the text resides \
in the document.<BR><BR>For example:<BR><BR>Document:<BR><BR><html><BR> \
<body><BR> <p id="1">hello<br>my name is matthew</p><BR> \
<body><BR></html><BR><BR>If Find/Replace <br> with <br /> and \
"Prompt on replace" is set, the find engine locates <br>, memorises its exact \
location within the document and then waits until the replace button is \
clicked.<BR><BR>However, if after its found <br> but before i click replace, i \
then remove id="1" from the <p> element, upon clicking replace, the document \
would look like the following:<BR><BR><html><BR> <body><BR> \
<p>hello<br>my <br /> is matthew</p><BR> \
</body><BR></html><BR><BR>Because quanta simply replaces the space that \
<br> resided in, rather than marking the located <br> and then replacing \
the marked <br>, if the location of <br> moves, quanta replaces the wrong \
characters.<BR><BR>I'm not very good at explaining myself, so i've attached screen \
shots.<BR><BR>Thanks,<BR><BR>Matthew Millar<BR> <br /><hr />We want to \
hear all your funny, exciting and crazy Hotmail stories. <a \
href='http://clk.atdmt.com/UKM/go/195013117/direct/01/' target='_new'>Tell us \
now</a></body> </html>
["quanta_findreplace_bug_1.png" (image/png)]
["quanta_findreplace_bug_2.png" (image/png)]
["quanta_findreplace_bug_3.png" (image/png)]
["quanta_findreplace_bug_4.png" (image/png)]
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic