Angus Leeming <[EMAIL PROTECTED]> writes:
| You've been busy!
|
| why not leave the handleKeyFunc() call outside the if-block?
Probably since I want to get rid of it completely.
| Index: src/BufferView_pimpl.C
| @@ -2648,7 +2644,18 @@ bool BufferView::Pimpl::Dispatch(kb_acti
| case LFUN_HUNG_UMLAUT:
| case LFUN_CIRCLE:
| case LFUN_OGONEK:
| - owner_->getLyXFunc()->handleKeyFunc(action);
| + if (argument.empty()) {
| + // As always...
| + owner_->getLyXFunc()->handleKeyFunc(action);
| + } else {
| + owner_->getLyXFunc()->handleKeyFunc(action);
| + owner_->getIntl()->getTrans()
| + .TranslateAndInsert(argument[0], TEXT(bv_));
| + update(TEXT(bv_),
| + BufferView::SELECT
| + | BufferView::FITCUR
| + | BufferView::CHANGE);
| + }
| break;
--
Lgb