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

            Bug ID: 393129
           Summary: Red underline in kdevelop+kwrite on valid numerical
                    constants (with invalid octal substrings)
           Product: kdevelop
           Version: 5.2.1
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: All editors
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: cyp...@gmail.com
  Target Milestone: ---

If typing "-1.09" (without the quotes), the "09" appears red and underlined.

Seems as if anything matching /[-+][0-9]+/ causes number parsing to stop at the
end of the pattern.

Red/underlined after the black dot:
-0.09
-1.08
-1.09
+1.09
-1.012345678
Anything matching /[-+][0-9]+\.0[0-7]*[89]/

Red/underlined before the black dot:
-09.0
+09.0

Entire number red, except dot is black if present:
-08.08
-1e3
+1e3
-1e1f
1f (invalid)

Not red/underlined, but dot is black:
-1.90
+1.90
-1.01234567
-1.09e1
-3.١٤١٥٩e1 (invalid)

Not red/underlined, and dot is yellowish orange-brown like the rest of the
number:
1.09
- 1.09
-.09
09.0
08.08
1e3
1e1f
3.١٤١٥٩e1 (invalid)
٣.١٤١٥٩ (invalid)

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

Reply via email to