Skip to content

Built-in ext editor "CTRL+R" inserts the wrong comment signs "//" instead of ""%" #1548

@nicoFe

Description

@nicoFe

Describe the bug
The text editor shortcut CTRL+R does not insert "% " but inserts "// " instead

To Reproduce
Steps to reproduce the behavior:

  1. Go to on the builtin text editor
  2. Use the shortcut CTRL+R on any line or group of lines
  3. See result

Expected behavior
"% " at the beginning of the line

By the way, looking at the code (with the idea of fixing it myself ;-)), it seems that the right behavior is programmed in the code (QtTextEdit.cpp lines 260 and 263), but somehow this is not the behavior that I get. Somehow, the shortcut must run something else in the code

The uncomment shortcut works, when the line starts with the right comment symbols.

Screenshots
Not applicable

Desktop (please complete the following information):

  • OS: Windows 11 (64-bit)
  • Browser Firefox/Edge
  • Version 1.16.0.5575

Additional context
none

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions