Post by Stefan on Jan 23, 2023 11:26:46 GMT -5
George,
This looks pretty, but sadly isn't correct.
I attach a STEF Profile so you see the same effect as I, and a TEST.STEF file with just four lines.
They appear to be the same, but note that, line 1 includes no quotes and the other two have matched quotes in different places.
The bug appears to be related to quotes, although without an AUTO definition in the mix, I can't really see why the quotes matter.
I think there's potentially two issues here, the way the colouring/higghliting behaves and the amount of data that gets shifted.
To demonstrate the issues....
- Load the STEF profile and the TEST.STEF file.
- KEYMAP a key to (DataDelete)
- FIND ALL 'R' +red
- FIND ALL ' G ' Note there's a blank either side of the ''G''
(1) Place your cursor on line 1, column 1
(2) Watch the colouring effect while you hold down your mapped key, preferably until the entire line has disappeared.
Only the characters up to column 40 will be erased. Cols 41 & 42 are the first double-blank, so this is exactly as expected.
(3) Repeat steps (1) & (2) for line 3
Two errors. (a) Data is erased beyond column 40, up to column 88, and (b) the 'travelling' colour effects are weird.
Note that as the first 'quote' reaches column 1 and is erased, data beyond column 88 also begins to move left.
(4) Repeat steps (1) & (2) for line 5
Similar to step (4) but the colouring effect is different (I think, TBH, I'm not sure this is different to (3))
Similar to step (4) but the colouring effect is different (I think, TBH, I'm not sure this is different to (3))
(5) Repeat steps (1) & (2) for line 7
As above, but as the first 'quote' occurs in column 4, the whole line starts to shift left as soon as that quote is erased
As above, but as the first 'quote' occurs in column 4, the whole line starts to shift left as soon as that quote is erased
CFGMaint EXP 2023-01-23 16.25.PSTEF.TXT (1.16 KB)
Test.STEF (967 B)