https://bugs.kde.org/show_bug.cgi?id=441603

--- Comment #3 from Jan Paul Batrina <jpmbatrin...@gmail.com> ---
Just tested with a Linux Mint 20.2 (based on Ubuntu 20.04) live usb I have
lying around, and there indeed the indentation worked properly with Kate 19.12
and KTextEditor 5.68.

In fact, the behavior there seems to be "smart" as it does not only take into
account the last /. For example, `if v =~ /re/` will only have one indent, but
`if  v =~ re/` and `if v =~ /re//` will both have two indentations as the last
/ is correctly identified as an unfinished division operator.

Since linuxmint is still somewhat a derivative of debian, it's still possible
that this correct behavior is limited to debian. I'll try to compile the same
versions later to see if it works there too, then maybe some other patch (not
directly to ruby.js) caused the behavior change.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to