mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-12 16:50:39 +00:00
* src/insets/insetert.C
(getStatus): enable LFUN_QUOTE (doDispatch): handle LFUN_QUOTE directly (fixes bug 2429) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@13512 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
12ab1b1cec
commit
bf4edb9a09
@ -226,6 +226,12 @@ void InsetERT::doDispatch(LCursor & cur, FuncRequest & cmd)
|
||||
//lyxerr << "\nInsetERT::doDispatch (begin): cmd: " << cmd << endl;
|
||||
switch (cmd.action) {
|
||||
|
||||
case LFUN_QUOTE: {
|
||||
// We need to bypass the fancy quotes in LyXText
|
||||
FuncRequest f(LFUN_SELFINSERT, "\"");
|
||||
dispatch(cur, f);
|
||||
break;
|
||||
}
|
||||
case LFUN_INSET_MODIFY: {
|
||||
InsetCollapsable::CollapseStatus st;
|
||||
InsetERTMailer::string2params(cmd.argument, st);
|
||||
@ -354,7 +360,6 @@ bool InsetERT::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||
case LFUN_INSERT_BOX:
|
||||
case LFUN_GOTONOTE:
|
||||
case LFUN_PARAGRAPH_SPACING:
|
||||
case LFUN_QUOTE:
|
||||
case LFUN_LABEL_GOTO:
|
||||
case LFUN_REFERENCE_GOTO:
|
||||
case LFUN_SPACE_INSERT:
|
||||
@ -372,6 +377,7 @@ bool InsetERT::getStatus(LCursor & cur, FuncRequest const & cmd,
|
||||
status.enabled(false);
|
||||
return true;
|
||||
|
||||
case LFUN_QUOTE:
|
||||
case LFUN_INSET_MODIFY:
|
||||
case LFUN_PASTE:
|
||||
case LFUN_PASTESELECTION:
|
||||
|
@ -106,6 +106,8 @@ What's new
|
||||
|
||||
- Fix alignment of superscript previews (bug 2391).
|
||||
|
||||
- Reenable quotes in ERT (bug 2429)
|
||||
|
||||
* Configuration/Installation:
|
||||
|
||||
- Don't use the -mms-bitfields compiler switch on mingw and cygwin, since
|
||||
|
Loading…
Reference in New Issue
Block a user