[Pharo5] Testers needed: AST based syntax highlighting
Hi, We need some people to test using the AST based highlighter instead of Shout. SHRBTextStyler useAstColoring: true. I got some DNU but I canât reproduce it anymore. Marcus
2015-04-29 16:46 GMT+02:00 Marcus Denker <marcus.denker@inria.fr>:
Hi,
We need some people to test using the AST based highlighter instead of Shout.
SHRBTextStyler useAstColoring: true.
I got some DNU but I canât reproduce it anymore.
Marcus
Another difference is, that classes aren't recognized until they are fully named: SHRBTextStyler useAstColoring: true. Workspace new open In the new Workspace, start typing Label the word is marked red, although it should be blue, with italic emphasis.
On 29 Apr 2015, at 17:07, Nicolai Hess <nicolaihess@web.de> wrote:
2015-04-29 16:46 GMT+02:00 Marcus Denker <marcus.denker@inria.fr <mailto:marcus.denker@inria.fr>>: Hi,
We need some people to test using the AST based highlighter instead of Shout.
SHRBTextStyler useAstColoring: true.
I got some DNU but I canât reproduce it anymore.
Marcus
Another difference is, that classes aren't recognized until they are fully named:
SHRBTextStyler useAstColoring: true. Workspace new open
In the new Workspace, start typing Label
the word is marked red, although it should be blue, with italic emphasis.
Ah, indeed⦠I added an issue for that, too: https://pharo.fogbugz.com/f/cases/15451/ <https://pharo.fogbugz.com/f/cases/15451/> Marcus
2015-04-29 16:46 GMT+02:00 Marcus Denker <marcus.denker@inria.fr>:
Hi,
We need some people to test using the AST based highlighter instead of Shout.
SHRBTextStyler useAstColoring: true.
I got some DNU but I canât reproduce it anymore.
Marcus
In (old) Workspace editing this 'a(b)'. "ab". by just removing the first ' or " -> UndefinedObject(Object)>>doesNotUnderstand: #doSemanticAnalysis or removing the first " in a method comment -> Syntax error unmatch " in comment
On 29 Apr 2015, at 17:25, Nicolai Hess <nicolaihess@web.de> wrote:
2015-04-29 16:46 GMT+02:00 Marcus Denker <marcus.denker@inria.fr <mailto:marcus.denker@inria.fr>>: Hi,
We need some people to test using the AST based highlighter instead of Shout.
SHRBTextStyler useAstColoring: true.
I got some DNU but I canât reproduce it anymore.
Marcus
In (old) Workspace editing this
'a(b)'. "ab".
by just removing the first ' or " -> UndefinedObject(Object)>>doesNotUnderstand: #doSemanticAnalysis
I think I fixed it⦠(will add a slice)
or removing the first " in a method comment -> Syntax error unmatch " in comment
Ah, here the reason is that the Scanner creates an RBErrorToken (as it should, itâs the scanner). But we should not expose this, the parser has to create an AST with a RBParseErrorNode instead. Marcus
In (old) Workspace editing this
'a(b)'. "ab".
by just removing the first ' or " -> UndefinedObject(Object)>>doesNotUnderstand: #doSemanticAnalysis
I think I fixed it⦠(will add a slice)
https://pharo.fogbugz.com/f/cases/15443/AST-based-highlighter-DNU-sometimes <https://pharo.fogbugz.com/f/cases/15443/AST-based-highlighter-DNU-sometimes> Marcus
participants (2)
-
Marcus Denker -
Nicolai Hess