#29 backward compare

open
nobody
None
5
2013-01-01
2013-01-01
crisis13
No

I noticed that with backward compare some GREY white-lines would be added differently giving a better compare
is it possible to add a for/backward compare choice or make an internal search for 'best compare' ?

Discussion

  • crisis13
    crisis13
    2013-01-01

    eg these lines:
    [code]
    jr endkey ;:12t delay

    entr ld hl,ht
    ld b,253
    ld a,(hl)
    xor b ; point to JR -2 or JR +0
    ld (hl),a ; make a real back to basic return from halt LOOP
    jr endkey ;:12t delay

    kfound ld e,(hl) ; 7t operationcode value

    [/code]

    compared with

    [code]
    jr endkey ;:12t delay

    ;|:+5t jumped
    entr ld hl,ht ;|:10t
    ld b,253 ;|: 7t
    ld a,(hl) ;|: 7t
    xor b ;|: 7t point to JR -2 or JR +0
    ld (hl),a ;|: 7t make a real back to basic return from halt LOOP
    jr endkey ;|:12t delay

    kfound ld e,(hl) ; 7t operationcode value

    [/code]

    the
    ;|:+5t jumped
    will shift the compare enough to add a greyline , but backward compare would replace the greyline ifai think

     

    Related

    Code: code

  • Derrick Moser
    Derrick Moser
    2013-03-14

    Diffuse will need to be capable of identifying code comments to get the desired behaviour with your example. Diffuse should produce the expected behaviour once issue 3599135 is implemented.