"Sort Selection" function in GUI sorts on first characters of line- including Function and Procedure
Original Reporter info from Mantis: Maarten-DS
-
Reporter name: Maarten
Original Reporter info from Mantis: Maarten-DS
- Reporter name: Maarten
Description:
When sorting a large declaration block, I want to be able to sort functions and procedures on their name- but the sort selection functionality does not allow to 'Ignore' "function" and "procedure" in the sorting order.
Steps to reproduce:
Select declaration block,
in the menu go to Edit ->Sort Selection
Choose options, sort.
Now all functions are grouped and all Procedures are grouped below that.
Additional information:
Added the option to ignore the words "function" and "procedure" if they are the first word on a line
If this option is selected, sorting will occur on the name of function/procedure.
Patch attached.
Mantis conversion info:
- Mantis ID: 37267
- Version: 2.0.9 (SVN)
- Monitored by: » @martin_frb (Martin Friebe)