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

RJVB <rjvber...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #108500|0                           |1
        is obsolete|                            |

--- Comment #18 from RJVB <rjvber...@gmail.com> ---
Created attachment 108501
  --> https://bugs.kde.org/attachment.cgi?id=108501&action=edit
test cstyle.js

Doh, my bad, I didn't modify the right version of the file. (I had tried first
in $prefix/share/katepart5/script/indentation, not realising it's overridden by
the copy in the resource. I think that should be the opposite, btw., builtin
copies should always be the fallback option).

I also should have waited until after I discovered and tried the
QV4_FORCE_INTERPRETER env. var.

Gentoo's trick of disabling the JIT works, and can also be obtained with said
env. var. That was helpful getting my probes to work... and could possibly be
used as a workaround when building against affected Qt versions (set and
restore the env.var around calls into the QML script engine, if all else
fails).

Here's what I'm seeing with the current cstyle.js when I hit enter at the end
of a function's final line that says `return decl;` :

indent line=84 indentWidth=4 ch=

indent linenr=850
indent linenr=852
indent linenr=
indentLine line=84 linenr=731
isComment: Check mode @ Cursor(83,4): ISO C++:Control Flow
Process 26907 stopped
* thread #1, name = 'kate', stop reason = signal SIGSEGV: invalid address
(fault address: 0x0)

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

Reply via email to