Possible bug with ctrl+arrow/select in text mode
Posted: Mon Dec 06, 2021 12:55 pm
Hi,
Editing xml documents in text mode I see a strange behaviour when working with strings containing underscores.
Reproduce it like this:
1) Place the cursor in front of the FOO for the snippet above.
2) Press CTRL+Right arrow to jump to the end of the word. It will jump to between the two 'O's. I would have expected it to jump to the position behind the second O.
Repeat the steps above for BAR and it will work as expected. From what I see it works fine if the next group of characters a) starts with a digit b) isn't there at all, i.e. the string just ends with an underscore or for the last group of characters e.g. in FOO_BAR it will work for BAR. The same unexpected behaviour occurs when using ctrl+shift+arrow to mark words.
Interestingly double clicking FOO correctly selects the complete 'FOO' and not just 'FO'.
Newest build in which I reproduced this:<oXygen/> XML Author 24.0, build 2021101506
Thanks,
jdnCsAoT6unA6s3n8gfD
Editing xml documents in text mode I see a strange behaviour when working with strings containing underscores.
Reproduce it like this:
Code: Select all
FOO_BAR_01
2) Press CTRL+Right arrow to jump to the end of the word. It will jump to between the two 'O's. I would have expected it to jump to the position behind the second O.
Repeat the steps above for BAR and it will work as expected. From what I see it works fine if the next group of characters a) starts with a digit b) isn't there at all, i.e. the string just ends with an underscore or for the last group of characters e.g. in FOO_BAR it will work for BAR. The same unexpected behaviour occurs when using ctrl+shift+arrow to mark words.
Interestingly double clicking FOO correctly selects the complete 'FOO' and not just 'FO'.
Newest build in which I reproduced this:<oXygen/> XML Author 24.0, build 2021101506
Thanks,
jdnCsAoT6unA6s3n8gfD