hilitedLines bug
Peter Haworth
pete at lcsql.com
Sat Feb 2 16:21:41 EST 2013
I get the same result. Also happens if you delete a line after the
originally selected lines. I'd say that was a bug.
Pete
lcSQL Software <http://www.lcsql.com>
On Sat, Feb 2, 2013 at 11:16 AM, Terry Dennis
<tedennis at softwaredetails.com>wrote:
> Bug: hilitedLines is incorrect after delete of a line.
>
> on mouseUp
> if exists(field "Info") then
> delete field "Info"
> end if
> create field "Info"
> set the listBehavior of field "Info" to true
> repeat with tCounter = 1 to 20
> put "test data" && tCounter & cr after field "Info"
> end repeat
> set the hilitedLines of field "Info" to "12,13,14,15"
> if the hilitedLines of field "Info" <> "12,13,14,15" then
> answer "Ooops - Should be 12,13,14,15 -- is" && the hilitedLines of
> field "Info"
> breakpoint
> end if
> delete line 2 of field "Info"
> if the hilitedLines of field "Info" <> "11,12,13,14" then
> answer "Ooops - Should be 11,12,13,14 -- is" && the hilitedLines of
> field "Info"
> breakpoint
> end if
> end mouseUp
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list