https://bugs.kde.org/show_bug.cgi?id=395063

Jonathan Poelen <jonathan.poe...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.poe...@gmail.com

--- Comment #1 from Jonathan Poelen <jonathan.poe...@gmail.com> ---
KSyntaxhighlighting works only per line and cannot "look" at the following
lines. When a line is consumed, it is no longer possible to change the state of
the previous one.

Haskell's problem is that it is not possible to differentiate a function or a
signature by looking only at the first line if it only contains one word.

example -- signature or function ?
 :: IO()
example -- signature or function ?
 = putStrLn "Hello"

example :: -- signature
 IO()
example = -- function
 putStrLn "Hello

This problem cannot be solved without radically modifying the interface and
softwares that use it.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to