PB : 6.11 LTS
Could a forum moderator move this topic to Bugs - IDE ?
My mistake - I didn’t see the specific section since I keep thinking of the IDE as “the Editor”…
In the PB Editor, when...
1. the cursor is at the begining of a line
2. and you "Uncomment" the line
the line stays commented AND the cursor jumps to the end of the previous line.
If the cursor is at any other position in the line, everything works as expected : the line gets uncommented and the cursor stays put.
Code: Select all
; --------------
; comment/uncomment any of the following lines to verify this unexpected behaviour
;:: constantes gadgets
Enumeration
#zChoisir_CMD
#zExplorer_CMD
;
; #zRemplacerPar_LABEL
; #zRemplacerPar_STR
; #zRemplacerPar_COUNT
; #zRemplacerPar_CLEAR
EndEnumeration

https://imgur.com/0S3EcIw
Wherever you see the cursor jumping to the end of the line above, is when the Uncomment combination was pressed, but the line was not uncommented. Notice as well that pressing this KB combination on a line without any comment produces the same effect.