Opened 10 years ago

Closed 6 years ago

#661 closed defect (fixed)

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 (2)

comment:1 Changed 10 years 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.

comment:2 Changed 6 years ago by gz

  • Resolution set to fixed
  • Status changed from new to closed

(In [15910]) reverse lisp-info-ranges-to-ignore so they go left to right. Fixes ticket:661

Note: See TracTickets for help on using tickets.