[Cuis-dev] Syntax highlighter small bug

Juan Vuletich juan at jvuletich.org
Mon Apr 12 08:04:16 PDT 2021


I found the answer by looking for 'depq' / 'Method Strings with it'. See 
comment at readRemainderOf:from:base:withSign: .

I wasn't aware, but
1p31 hex
is a valid expression, and gives a reasonable answer.

Cheers,

On 3/29/2021 10:54 AM, Hernan Wilkinson via Cuis-dev wrote:
> I went a little bit deeper on this problem and it happens because the 
> SHParserST80 and Parser recognize '1xe' as different things... the 
> right solution would be to make both parsers work the same way.
> I tried to do that but something I do not understand of the 
> SHParserST80>>scanNumber is that it takes as valid after the x any of 
> these chars 'deqp'. What does that mean? Does anybody know?
>
>  Hernan.
>
> On Mon, Mar 29, 2021 at 10:30 AM Hernan Wilkinson 
> <hernan.wilkinson at 10pines.com <mailto:hernan.wilkinson at 10pines.com>> 
> wrote:
>
>     Thank you Luciano!
>     I pushed a bit different solution that also fixes the same problem
>     with the autocomplete
>
>     Thanks!
>     Hernan.
>
>     On Mon, Mar 29, 2021 at 8:21 AM Luciano Notarfrancesco via
>     Cuis-dev <cuis-dev at lists.cuis.st <mailto:cuis-dev at lists.cuis.st>>
>     wrote:
>
>         Typing 1xe in a debugger triggers a bug in the
>         syntax highlighter and opens a new debugger. The attached
>         change fixes it, although it's not perfect because it ends up
>         coloring 1x as a number instead of only 1.
>         -- 
>         Cuis-dev mailing list
>         Cuis-dev at lists.cuis.st <mailto:Cuis-dev at lists.cuis.st>
>         https://lists.cuis.st/mailman/listinfo/cuis-dev
>
>
>
>

-- 
Juan Vuletich
www.cuis-smalltalk.org
https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev
https://github.com/jvuletich
https://www.linkedin.com/in/juan-vuletich-75611b3
@JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210412/300f17e9/attachment.htm>


More information about the Cuis-dev mailing list