#603 Haskell - wrong coloring

closed
nobody
None
5
2012-09-15
2012-06-21
Igor Demura
No

Haskell allows using qualified names:

import qualified Data.ByteString as S
s = S.concat ["1", "234", "56"]

Identifier S.concat wrong colored as type (or data constructor), because it starts from capital letter. But right is coloring as function (value). Rule is that identifier with dots inside should be colored accoring to capitality of the last word: S.Module2.String3 - color as type (Capital S), X.Submodule.uncompress - as value (u is not capital).

Discussion

  • Lex Trotman
    Lex Trotman
    2012-09-15

    This should be submitted as a bug on the Scintilla lexer (www.scintilla.org)

     
  • Lex Trotman
    Lex Trotman
    2012-09-15

    • status: open --> closed