Bug 448222 - An Spanish tilde confuses variable detection
Summary: An Spanish tilde confuses variable detection
Status: RESOLVED DUPLICATE of bug 274430
Alias: None
Product: kdev-python
Classification: Developer tools
Component: Language support (show other bugs)
Version: 5.7.211201
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-10 16:48 UTC by Jaime Torres
Modified: 2022-01-11 09:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaime Torres 2022-01-10 16:48:12 UTC
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)
Comment 1 Igor Kushnir 2022-01-11 09:11:17 UTC

*** This bug has been marked as a duplicate of bug 274430 ***