denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Denemo-devel] Bug in new d-PopPosition when called on appending positio


From: Nils Gey
Subject: [Denemo-devel] Bug in new d-PopPosition when called on appending position
Date: Tue, 25 May 2010 00:09:22 +0200

Something is not right with PopPosition now. The screen looks good but 
inserting a note on certain conditions displace that note.
Here are three scripts where the first two work, the note appears where it 
should. But in the last script the note is one step too far to the left.
I have no other explanation than PopPosition (or Push) is broken if applied to 
"Appending".... well, kind of broken. The Pop itself works, the cursor is 
visually on the right spot, but the note-entry point still seems to be on the 
place where it was before the recent change (on the last note, means any note 
would appear right before that one, which is the case here).

Try each script alone because automatic creation of tabs, and going on with the 
script there, does not work.

;;;Push and Pop on a non-appending position: Works
(d-Insert2)
(d-Insert2)
(d-Insert2)
(d-Insert2)
(d-Insert0)
(d-MoveCursorLeft)
(d-MoveCursorLeft)
(d-MoveCursorLeft) (d-MoveCursorLeft)
(d-PushPosition)
(d-MoveCursorRight)
(d-PopPosition)
(d-Insert1)
(d-RefreshDisplay)


;;;Insert Note on appending position without pop and push: works
(d-Insert2)
(d-Insert2)
(d-Insert2)
(d-Insert2)
(d-Insert0)
(d-MoveCursorLeft)
(d-MoveCursorLeft)
(d-Insert1)
(d-RefreshDisplay)


;;;Insert Note on appending position with pop and push: fails.
(d-Insert2)
(d-Insert2)
(d-Insert2)
(d-Insert2)
(d-Insert0)
(d-MoveCursorLeft)
(d-MoveCursorLeft)
(d-PushPosition)
(d-MoveCursorRight)
(d-PopPosition)
(d-Insert1)
(d-RefreshDisplay)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]