RFE #837803 Make Alt key optional.
Finally, this many-many times discussed and requested
feature is implemented!
It was suprisingly simple after all. Idea is to set
both buffers Read-Only when in simple mode. That
prevents editing, but allows copying text with mouse
etc. When user presses cursor key, we trap it in
CMergeEditView::PreTranslateMessage() and call normal
merge functions. CMergeDoc::ListCopy() first checks if
we are in simple mode and unsets ReadOnly status while
Weak point in this patch is keydown-event handling in
PreTranslateMessage(). Its not efficient way, but I
don't currently know better way to do it.
And one issue is of course name! I choosed "Simple"
mode, because it kind of describes this mode, merging
and diff navigating is simpler.
But I really hope somebody comes with better suggestion
Perry, maybe you can make experimental patch-demo from
this patch someday?
Log in to post a comment.