The wordfile shell.uew
containing language definition UNIX Shell Scripts
for files with extension CSH KSH SH
is installed with UltraEdit for Windows v23.20 or any later version. It was updated last time for UE v24.00. So this wordfile is definitely not old.
The user-contributed wordfile bkshell.uew
containing language definition Bourne & Korn Shell
for files with extension KSH SH
is also quite new according to file time in GitHub repository.
An intensive investigation would be required to find out which one is better, most likely the best would be a combination of both. However, it is not good to have two or more *.uew files for same file extension. UltraEdit indicates admittedly in status bar which syntax language definition is used for the active file at active position of the caret in file. The user can click on the language indication in status bar and select a different language on not using basic status bar. But in general it just confuses the user on having multiple language wordfiles installed for same type of file.
The commands Comment Add
and Comment Remove
work on one or more selected lines for any syntax highlighted file having Line Comment =
defined in the wordfile. bkshell.uew
contain both Line Comment = #
and therefore those two commands can be used to add/remove a line comment, i.e. add/remove #
at beginning of all selected lines or just the current line if there is no selection at all. shell.uew
contains additionally Line Comment Preceding Chars = [~!-~]
for not interpreting any #
anywhere in a line as begin of a line comment. This line comment highlighting enhancement was discussed on topic BASH Code Folding
The commands Comment Selection
and Uncomment Selection
work on one or more selected lines for any syntax highlighted file having Block Comment On =
and Block Comment Off =
defined in the wordfile. This is not the case for Unix shell script highlighting. Those two commands can't be used for shell scripts as block comments are not available in shell script syntax language.