Ticket #865 (closed defect: fixed)
Selection is wrong in Menu View->View Documenta As...-> XXX
| Reported by: | vrobin | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | document menu type | Cc: |
Description
When a .pl file is opened in Padre, the detection of the file goes right (status bar displays "Perl 5", the menu "Perl" is available) but the document type highlighting is wrong in the menu
View->View Document as ...->PIR is selected
It should be:
View->View Document as ...->Perl 5
Reproduce by szabgab who reports that on his version, Text is selected (instead of Perl 5?).
Change History
Note: See
TracTickets for help on using
tickets.

The sort order that created the menu order wasn't used when the actual selection ->Check(1) was used, hence you get this skew.
Fixed in r11080.