Opened 9 years ago

Closed 9 years ago

#1010 closed enhancement (fixed)

Grey out comment toggling in menu instead of confusing users with an error message

Reported by: zenogantner Owned by:
Priority: minor Milestone:
Component: editor Version: 0.70
Keywords: usability, comment, uncomment Cc:


When I try to toggle comments in a plain text file, I get the error message

"Could not determine the comment character for %s document type".

Such an error message confuses the user, and possibly makes them think they did something wrong. This is of course not necessary.
It would be better to not offer the action "toggle comment" when it is not feasible.

Change History (2)

comment:1 Changed 9 years ago by zenogantner

  • Type changed from defect to enhancement

comment:2 Changed 9 years ago by zenogantner

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r12482.

Note: See TracTickets for help on using tickets.