|
Post by mueh on Dec 5, 2021 3:21:46 GMT -5
Hi George! After cmd longer than cmd area is erased the next charater typed in is misspositioned . To reproduce use following macro to insert txt in cmd area ( can also be done manualy without macro ) Old cmd are normaly concatenated cmd's which can exceed cmd area length . ( use it for my own cmd retrieve function depending on File name) Hit Escaoe to erase cmd line . Now enter new cmd and first character is at position of old cmd length - cmd area size and 2'nd Char is at cmd column 2 . Try it also in FM and you will see that first part of cmd txt is not erased . Cursor is okay after erase . Occures since V11 . Thanks ' MPODO.macro
dim cmd as string
cmd = "find ----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----10---+----11---+----12---+----13---+----14---+----15---+----1"
cmd = "["+cmd+"](Home)" ' don't exec it
SPF_Post_Do(cmd)
|
|
|
Post by George on Dec 5, 2021 10:51:04 GMT -5
MUEH: You do have a knack for finding these obscure little bugs.
I added a specific cursor set, and it seems to be OK now.
George
|
|
|
Post by mueh on Dec 5, 2021 13:50:54 GMT -5
George: Thanks for 21339 . Problem of missplaced 1'st char is fixed for EraseEOL . Did another test after Home ( which positions Csr to first character of cmd ) . Trying to overwrite cmd results in First character being missplaced as described before . Maybe the code you added should be done already after Home is done . FYI : The realy cosmetic problem in FM ( shown in above Picture ) where EraseEOL doesn't clear complete cmd area remains . I don't need a fix for it .
|
|
|
Post by George on Dec 5, 2021 15:08:19 GMT -5
MUEH: I can't get a partial clearing of the Cmdline to take place. There IS some kind of minor cursor postioning error on coming back from the MPODO macro, but really, I'm not going to chase it.
George
|
|