Ticket #661 (new defect)

Opened 5 weeks ago

Last modified 5 weeks ago

multiple strings on one line colored wrong

Reported by: rme Owned by:
Priority: minor Milestone:
Component: IDE Version: trunk
Keywords: Cc:

Description

If there are multiple strings on one line, only the last is string-colored; the remainder are comment colored.

Ron Garret reports that this seems to fix it, but that undoubtedly interferes with other stuff that r13186 is trying to do.

(defun gui::set-temporary-character-attributes (layout pos start-line end-line)
...
               (let* ((attr (if (= istart 0)
                              (hemlock::lisp-info-begins-quoted parse-info)
                              (if t  ; (< last-end istart)                                                  <==
                                (hi:character-attribute :lisp-syntax
                                                        (hi::line-character line (1- istart)))
                                :comment)))

Change History

Changed 5 weeks ago by rongarret

That interference manifests itself in one particularly interesting way: if you try to load this definition as part of ccl-ide-init then it will fail silently. Even wrapping the defun in an ignore-errors does not prevent this. It's very weird.

Note: See TracTickets for help on using tickets.