Open Maximum33 opened 4 years ago
WOW, what a bizarre bug! Nice find @Maximum33. Thankfully it's easy to disable this in prefs, Edit menu > Preferences > Editor > Smart Editing: Edit matching delimiter on select. Disable that preference.
Thank you!
On Mon, Jul 6, 2020, 10:23 AM Carey Hoffman notifications@github.com wrote:
WOW, what a bizarre bug! Nice find @Maximum33 https://github.com/Maximum33. Thankfully it's easy to disable this in prefs, Edit menu > Preferences > Editor > Smart Editing: Edit matching delimiter on select. Disable that preference.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Komodo/KomodoEdit/issues/3879#issuecomment-654366662, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQF6L5KHFSR5WXARZOCBWHTR2ICAZANCNFSM4ORHQBEQ .
Short Summary
Example code
If I highlight the "4" and type another number to replace it (it doesn't matter what number), the "1" will change to the same number. It doesn't happen every single time, but often.
Steps to Reproduce
Here is the CSS code
Here is the Head code:
Here is some typical code
Expected results
Bug1 snip shows the first and last number highlighted. And both of them are "3". The bug showed up when I changed the last number to "1". I then changed it to "3", and the first number changed to "3". I took the snip then. Bug2 snip shows the first and last number after I changed the second number to "5".
So to recreate, create a new html 5 file with the header and the superscript code as described within a container; and the CSS code. Open it within Komodo 12.
<sup class="SPR">22:34</sup>
highlight "4", and change it to "1". Then highlight the "4" again and change it to 3 or another number. The "4" should change to that number. My html page has sections, div(s) and more. I can give you more if it is needed. I'm trying to keep it simple.Actual results
Platform Information
Komodo Edit 12* Windows 10 latest version
Additional Information
I've never had this problem with any other html editor, ever. Only Komodo. I've turned off almost every option so the code isn't trying to be "smart" As long as I don't highlight the digit in location "4" (e.g. I backspace and type in another number), there is no problem. Highlighting any other number in any other location in the superscript does not create any similar issue. The bug only shows up when I do as I described, and not every single time; but often.