Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 302 by dridus: Syntax highlighting only colors first token using  
Cocoa frontend
http://code.google.com/p/yi-editor/issues/detail?id=302

What steps will reproduce the problem?
1. Opening a haskell file
2.
3.

What is the expected output? What do you see instead?
The entire visible file to be colorized according to syntax. Instead, only  
the first token (e.g.
import, or module, or the opening bracket of a comment) is colorized.

Please provide relevant version information:

What version of Yi are you using?
Yi from darcs HEAD (yi reports 0.6.1) as of this patch:
Wed Sep 16 16:57:57 EDT 2009  [email protected]
   * re-organize refreshEditor

What version of GHC?
The Glorious Glasgow Haskell Compilation System, version 6.10.3

What version of Cabal?
cabal-install version 0.6.0
using version 1.6.0.1 of the Cabal library

What operating system/version?
Mac OS X 10.6 (Snow Leopard) -- Darwin Hugo 10.0.0 Darwin Kernel Version  
10.0.0: Fri Jul 31
22:46:25 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64 x86_64

If you generated it (--debug) please provide your .yi.dbg file
Can't find it.

Please provide any additional information below.
This issue does not occur with -f pango from the same binary.

Attached is a screenshot comparing -f cocoa (left) and -f pango (right)  
views of the same file

Attachments:
        cocoa-highlighting-only-first-token.png  108 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Reply via email to