Re: David Cuny's Editor
- Posted by "Cuny, David" <ATB.DCUNY at HW1.CAHWNET.GOV> Apr 11, 1997
- 1014 views
Snowgen wrote: > Support for the "standard" DOS method of ALT+3-digit-code would be nice. > (i.e., hold down ALT, type "155" [without quotes], and you get the cent > sign [the slashed c, """]). The DOS edit supports this, as do most other > DOS/Windows programs. I've had to rewrite the code a bit to trap Alt combinations, since the Alt key normally activates the menus. I needed to trap for codes like Alt+3 that toggles to document #3, etc. You forgot to mention that the number keys must be from the *keypad*, so the editor can distinguish between Alt+1 (toggle to document #1) and Alt+1+5+5 (ascii 155). If I can figure out how to distinguish keypad keys from other keys, I'll try to support this. This does not eliminate the value of an ASCII lookup table. Lucius' idea of being able to see the value of a character is also worth looking into. Every now and then, I'll be browsing a file (such as an HTML file) and see a strange character. It would be nice the if the editor said what that character was. Since I'm trapping the Alt key, I'll also try to see if I can get the Alt+Gr key combination in line with how it behaves on foreign keyboards. -- David Cuny