diff --git a/src/BufferView_pimpl.C b/src/BufferView_pimpl.C index 0c2ad46841..02ecb02462 100644 --- a/src/BufferView_pimpl.C +++ b/src/BufferView_pimpl.C @@ -3161,23 +3161,6 @@ bool BufferView::Pimpl::dispatch(FuncRequest const & ev) } -void BufferView::Pimpl::newline() -{ - if (available()) { - LyXText * lt = bv_->getLyXText(); - hideCursor(); - update(lt, - BufferView::SELECT - | BufferView::FITCUR); - lt->insertChar(bv_, Paragraph::META_NEWLINE); - update(lt, - BufferView::SELECT - | BufferView::FITCUR - | BufferView::CHANGE); - } -} - - void BufferView::Pimpl::hfill() { if (available()) { diff --git a/src/BufferView_pimpl.h b/src/BufferView_pimpl.h index 96d7d7cf4a..5522450a05 100644 --- a/src/BufferView_pimpl.h +++ b/src/BufferView_pimpl.h @@ -145,8 +145,6 @@ private: /// void specialChar(InsetSpecialChar::Kind); /// - void newline(); - /// void hfill(); /// void smartQuote();