SlickEdit Community
Archived Beta Discussions => SlickEdit 201x Beta Discussions => SlickEdit 2014 v19 beta => Topic started by: jporkkahtc on September 24, 2014, 05:48:36 PM
-
All slick functions are like do_something_useful, but in some places they are spelled do-something-useful.
Not everyplace supports both, GotoSlickDefinition only supports _, and doesn't recognize -.
The command line always shows -, but allows you to type _.
Key binding shows the commands with -, but the description box seems to always show things with _.
Not that it really matters, it just bothers me :_)
-
Not that it really matters
It matters to the extent that it's confusing to people (like me) who aren't Slick-C experts. I thought that I came across information somewhere that '-' and '_' are interchangeable/equivalent in function names. But maybe that was only for commands.
-
Some of this is historical. Emacs used '-' for commands on the command line. Seemed reasonable at the time (26 years ago). '-' is easier to type than '_' and is easier to see/read. There's really not that big difference. Since '-' is valid for COBOL, the tagging must require you to specify '-' or '_' and won't convert.