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

            Bug ID: 395259
           Summary: Non-ascii text shifts identifier locations
           Product: kdev-python
           Version: 5.2.3
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: Language support
          Assignee: m...@svenbrauch.de
          Reporter: nicolas.alva...@gmail.com
  Target Milestone: ---

If a line contains non-ASCII characters (eg. in a string literal), declarations
and uses later in that line get shifted from their correct locations.

Example:

code = 502
print("Código: %d" % code, file=sys.stderr)

"ode," is highlighted as a use of the "code" variable. "ys.std" is highlighted
as a use of "stderr". "ys." is highlighted as a use of "sys", which overlaps
with the "stderr" range so you can't actually hover it.

Deleting the letter "ó" and waiting a second for the auto-reparse makes the
ranges become correct.

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

Reply via email to