Skip to content

Update the selected text when commenting text #1095

@jlaurens

Description

@jlaurens

Is your feature request related to a problem? Please describe.

When commenting some text with the Format/comment menu item, a % character is inserted at the beginning of each line that is selected, at least partly. This is a "full line" logic. But after the change, the selected text does not follow this full line logic.

Describe the solution you'd like

Actually, If I select all the text, after I use the Format/comment menu item, the whole text is selected except the first character. That is not efficient.
What I would like: In next source

A B C

whatever I select in the first line, after using the Format/comment menu item, what should be selected is the whole line, including the heading % and the trailing EOL.

Of course, something similar should occur when more then one line are involved.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions