From 7a0634e8ab2ada2dab8cb5458e682e835fab7436 Mon Sep 17 00:00:00 2001 From: Jonah Graham Date: Fri, 10 Jan 2020 09:04:00 -0500 Subject: [PATCH] Bug 559020: [docs] Clarify where comment characters are inserted Change-Id: Iab0458279e28a5b187df1d9248bb0ea25718b1b5 --- .../tasks/cdt_t_comment_out.htm | 2 +- doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debug/org.eclipse.cdt.debug.application.doc/tasks/cdt_t_comment_out.htm b/debug/org.eclipse.cdt.debug.application.doc/tasks/cdt_t_comment_out.htm index d1829f923a7..c62ddfd792c 100644 --- a/debug/org.eclipse.cdt.debug.application.doc/tasks/cdt_t_comment_out.htm +++ b/debug/org.eclipse.cdt.debug.application.doc/tasks/cdt_t_comment_out.htm @@ -25,7 +25,7 @@ described above.

To toggle // comments on code:

    -
  1. In the C/C++ editor, select the line(s) of code that you want to comment out. If no lines are selected comments will be added (or removed) at the current cursor position.
  2. +
  3. In the C/C++ editor, select the line(s) of code that you want to comment out. If no lines are selected comments will be added (or removed) at the start of the lines containing the cursor.
  4. Right-click and select Source > Toggle Comment. (CTRL+/)
diff --git a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm index d1829f923a7..c62ddfd792c 100644 --- a/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm +++ b/doc/org.eclipse.cdt.doc.user/tasks/cdt_t_comment_out.htm @@ -25,7 +25,7 @@ described above.

To toggle // comments on code:

    -
  1. In the C/C++ editor, select the line(s) of code that you want to comment out. If no lines are selected comments will be added (or removed) at the current cursor position.
  2. +
  3. In the C/C++ editor, select the line(s) of code that you want to comment out. If no lines are selected comments will be added (or removed) at the start of the lines containing the cursor.
  4. Right-click and select Source > Toggle Comment. (CTRL+/)