Bug 559019 - CTRL+/ (Toggle Comment) can make a selection
Summary: CTRL+/ (Toggle Comment) can make a selection
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 9.6.0   Edit
Hardware: PC Windows 7
: P3 trivial (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2020-01-10 08:11 EST by Chris Jordan CLA
Modified: 2020-01-11 18:11 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jordan CLA 2020-01-10 08:11:45 EST
1 On the line

  float a;

place the caret anywhere in 'float', making no selection.

2 Press CTRL+/ . See there's no selection.

3 Place the character at line start.

4 Press CTRL+/ .

Expected: No selection.
Observed: // selected.
Comment 1 Jonah Graham CLA 2020-01-11 18:07:58 EST
This is same as JDT - but that is because the ToggleCommentAction was originally copied from JDT.

This may make a good bug to get familar with CDT so I added the helpwanted tag.
Comment 2 Jonah Graham CLA 2020-01-11 18:11:44 EST
Bug 559022 Bug 559021 and Bug 559019 are all very closely related, so See Also added to cross reference them.