Post Reply 
I found this useful...
11-06-2017, 08:49 PM
Post: #1
I found this useful...
I read an article by Ed Shore about using a key in user mode. It turns out you can run a program (key redefinition) even while in the program editor. I even was able to get it to return the key code 19, which is the delete key. It worked in that it would delete text in the program editor when I pressed this key. I then tried to get it to delete multiple characters (I wanted to see if I could get it to delete a word), but I couldn't get it to return more than one character functionally. I tried to return a string of 19's, as a string, list and vector, and none of them worked to delete multiple characters.
Just wondering if anyone has played around with this, as it'd be nice to be able to expand the editing capabilities using key redefinition. In particular, I'm trying to determine 2 things.
First, how to return more than one delete key so it'll delete several characters (it works with just one). Second, how to figure out where the cursor is at in the current program being edited (and the name of that program).
Thx
-Donald
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
I found this useful... - webmasterpdx - 11-06-2017 08:49 PM
RE: I found this useful... - salvomic - 11-07-2017, 06:28 PM



User(s) browsing this thread: 1 Guest(s)