SUMMARY In this example python file, kdevelop assigns the green colour to nombre_apellido, except in the second and third print, after the text with ú, where only ombre_apellido is green, and the first n is black. It is coloured as expected when removing the ú and it increases the number of black letters with the number of ú in the text. # -*- coding: utf-8 -*- nombre_apellido = "nombre y apellido" print("normal", nombre_apellido) print("en minúsculas:", nombre_apellido.tolower()) print("en mayúsculas:", nombre_apellido.toupper()) print("normal", nombre_apellido) EXPECTED RESULT All nombre_apellido are completely green (or the corresponding colour) even in print("en mayúúúúúúúsculas:", nombre_apellido.toupper()) SOFTWARE/OS VERSIONS Versión 5.7.211200 (21.12.0) KDE Frameworks :Versión 5.89.0 Qt: Versión 5.15.2 (compilado con 5.15.2)
*** This bug has been marked as a duplicate of bug 274430 ***