OneMore: Colorizer bug

Describe the bug The Python syntax colorizer does not do it properly with triples

To Reproduce Paste this code and watch what what is happening with the triple quoted script

def factorial(x):
    """This is a recursive function
    to find the factorial of an integer"""

    if x == 1:
        return 1
    else:
        return (x * factorial(x-1))


num = 3
print("The factorial of", num, "is", factorial(num))

Expected behavior the entire script should be colorized but it is not

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (9 by maintainers)

Most upvoted comments