[Gd-chatter] [Bug 7354] New: Dylan Mode fontifies block comments incorrectly when they're edited

bugzilla-daemon at gwydiondylan.org bugzilla-daemon at gwydiondylan.org
Fri May 4 04:33:56 CEST 2007


http://www.gwydiondylan.org/cgi-bin/bugzilla/show_bug.cgi?id=7354

           Summary: Dylan Mode fontifies block comments incorrectly when
                    they're edited
           Product: tools
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Emacs Mode
        AssignedTo: gd-bugs at chris-page.org
        ReportedBy: gd-bugs at chris-page.org
                CC: gd-chatter at gwydiondylan.org


If you edit the text within a block comment ("/* ... */"), the comment face is
removed and the text is fontified as though it were Dylan code. Fontifying the
surrounding region or the entire buffer corrects this.

I already have a fix, and it turns out the bug was introduced in change #8669,
in the fix for bug #7027. That change restricts the buffer so that
fontification doesn't look at the interchange header, but it erroneously
narrows the buffer to the start of the line that was edited rather than the
start of the Dylan code (i.e., the end of the interchange header), which
prevented font-lock from seeing the start of the comment.


-- 
Configure bugmail: http://www.gwydiondylan.org/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the chatter mailing list