A simple collection of text utilites for Redcar.
Menu: Edit > Toggle Block Comment
Shortcut: Ctrl+/
Toggles the current selection from commented-out to uncommented. Each line is checked for the current single-line comment character(s). If the line is currently commented then the comment character is removed, otherwise the line is prepending by the comment character(s).
- Currently each line that is commented or uncommented is treated as an individual undoable operation instead of just one for the whole operation. This should be fixed.
- Should look at the majority of lines to determine if the user want to comment or uncomment.
- Needs to implement better bundle handling so that we can look up the comment characters from the bundles instead of having them hard-coded.