codelite icon indicating copy to clipboard operation
codelite copied to clipboard

[Bug]: The command "Edit > Comment > Comment Line" removes one character too much when uncommenting

Open apisnu opened this issue 1 year ago • 1 comments

What happened?

When I edit a python source code file (.py) and I comment a line (or block) of code with Edit > Comment > Comment Line it correctly adds a # in front of each line. But when uncommenting the line it removes the # and the following character, i.e. it removes one character too much.

For example: #class A: becomes lass A:

I'm using version 17.0-1unofficial.jammy from the official apt repo. Help > About... says it's version 17.0.0.

Version

Other

Operating system

Linux

Steps to reproduce

No response

Relevant log output

No response

apisnu avatar Dec 21 '23 23:12 apisnu

Can be reproduce in 17.0.8 on Windows.

wayne-zhang avatar Jan 23 '24 06:01 wayne-zhang