Question for Rex

May 20, 2008
11,400
99
Syracuse, NY, USA
Can a key-handler plugin determine the offset, in rows, of the current cursor position from the beginning of the prompt? (... which might be positive if (1) the prompt were multi-line, or (2) if a partial command has wrapped to another row.)

As I see it, KEYINFO::nHomeRow describes the beginning of the command line. So an equivalent question might be if a key-handler can determine how many rows the prompt occupies.

Thanks!
 
Similar threads
Thread starter Title Forum Replies Date
vefatica Question for Rex Plugins 1
vefatica A question for Rex Plugins 5
vefatica Unicode question (revisited, question for Rex) Plugins 0
vefatica Tough (?) programming question Plugins 5
vefatica Question about screen buffer handles Plugins 2
vefatica Question for someone with sysutils and Windows 10 Plugins 4
Charles Dye SearchPaths() question Plugins 4
Charles Dye A weirdoid plugin question Plugins 6
Charles Dye Keystroke plugins question Plugins 7
S How to? SafeChars.dll question Plugins 4
Charles Dye Binary buffers question Plugins 0
M Just a curiosity question related to the "default" set of re-mapped characters... Plugins 2
vefatica Question about Ctrl events Plugins 2
vefatica Generic programming question Plugins 2
vefatica Compiler question Plugins 8
vefatica Plugin keyhandler observation/question Plugins 15
vefatica PLUGININFO question Plugins 9
vefatica Plugin keyhandler question Plugins 1
vefatica Pipe question Plugins 6
vefatica Code page question Plugins 2
vefatica Sprintf question Plugins 1
vefatica Unicode question Plugins 13
vefatica Question about GetToken() Plugins 7
vefatica Plugin question Plugins 3
vefatica Another Sscanf question Plugins 1
vefatica NthArgument() question Plugins 1
vefatica Ctrl handling question Plugins 8
vefatica Message pumping question Plugins 12
vefatica Q for Rex about @LINES Plugins 1

Similar threads