mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Backport r35109 (bug #6786)
http://www.lyx.org/trac/ticket/6786 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35127 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
79830bce6e
commit
52f69d2ffd
@ -246,12 +246,12 @@ void KeyMap::write(string const & bind_file, bool append, bool unbind) const
|
||||
FuncCode action = it->request.action;
|
||||
string arg = to_utf8(it->request.argument());
|
||||
|
||||
string const cmd = lyxaction.getActionName(action)
|
||||
+ (arg.empty() ? string() : " " + arg) ;
|
||||
os << tag << " \""
|
||||
<< to_utf8(it->sequence.print(KeySequence::BindFile))
|
||||
<< "\" \""
|
||||
<< lyxaction.getActionName(action)
|
||||
<< (arg.empty() ? "" : " ") << arg
|
||||
<< "\"\n";
|
||||
<< to_utf8(it->sequence.print(KeySequence::BindFile))
|
||||
<< "\" " << Lexer::quoteString(cmd)
|
||||
<< "\n";
|
||||
}
|
||||
os << "\n";
|
||||
os.close();
|
||||
|
@ -93,6 +93,9 @@ What's new
|
||||
- Don't allow to insert margin notes and footnotes into captions because
|
||||
this would lead to LaTeX errors.
|
||||
|
||||
- Fix handling of commands containing a double quote (") in shortcut
|
||||
editor (bug 6786).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user