Fixing CodeEditor multiple layout warning. Adding truncator for C/assembly mixed-mode to prevent crash.