svn: r18451

This commit is contained in:
Robby Findler 2010-03-03 19:13:43 +00:00
parent eec0ff66c6
commit 7c1b076ee1

View File

@ -455,6 +455,10 @@
;; return the text of the entire line containing the red text
(let ([para (send interactions-text position-paragraph pos)])
(unless (exact-non-negative-integer? para)
(error 'has-error? "got back a bad result from position-paragraph: ~s ~s\n"
para
(list pos (send text last-position))))
(send interactions-text get-text
(send interactions-text paragraph-start-position para)
(send interactions-text paragraph-end-position para)))