If you import a module as "qualified", the package will be colored yellow rather than blue, e.g.:
1 2 | import qualified Prelude hiding (tan, cos) import Prelude hiding (tan, cos) |
In the former case, import is bold blue, qualified is bold blue, Prelude is yellow, and hiding is black. In the latter (correct) case, import and hiding are bold blue and Prelude is blue.
With Geany 1.23.1
Heh, this gives me Stroop effect :)
Any chance you could tinker with the
[styling]
section of this file and come up with something that looks OK? I have no how that stuff "should look", not knowing a lick of Haskell (I don't think any Geany devs do, AFAIK).On 11 July 2013 09:27, Matthew Brush codebrainz@users.sf.net wrote:
This is a problem in the Scintilla lexer, the words Prelude and hiding have
different style numbers between the lines, 8 and 1 on the first line and 7
and 2 on the second so if this is wrong it should be reported to Scintilla
www.scintilla.org.
This is caused by geany having "qualified" (and "as") listed in keywords. Neither they are keywords, nor is there any need to list them, because lexer highlights them specifically.