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

--- Comment #8 from Dominik Haumann <dhaum...@kde.org> ---
See: https://docs.kde.org/trunk5/en/applications/katepart/dev-scripting.html

Scripts on disk have higher priority that scripts compiled into the katepart
library. That means: If you copy the cstyle.js indenter into your
$XDG_DATA_HOME/katepart5/script/indentation/cstyle.js, it should be picked up.
To be sure, increase the revision of the cstyle.js file in the json header.

Then, you can use debug("string") to dump text to the console. Additionally,
you can set the variable in var debugMode = false; to true to get more debug
output, see
https://github.com/KDE/ktexteditor/blob/master/src/script/data/indentation/cstyle.js

The same holds also for other indenters that crash KTextEditor. I think some
combination with CSS was also an issue.

Does that help?

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

Reply via email to